Partitioning Sliding Window with ability to restore

  • I have a working sliding window strategy with monthly partitions and each month's partition lives on it's own filegroup/file.

    Now I'm to removing/switching out the old partitions.

    If I never wanted to restore the data: I understand the partition switching mechanism and the removal of the filegroup.

    HOWEVER, I forsee the day when I'm asked for some specific transaction from the past that would be held in one of these old partitions. So I'd like to be able to restore them as needed.

    My options appear to be (in order of ease-of-restore):

    1. Set the filegroup to read_only (but this requires the DB to be in single user mode - a no-go in our 24/7 system)

    2. Leave the filegroup read/write, filegroup backup before removing it from the DB. But for this to be restored to the DB it looks like we would need to keep all the log backups from the time the filegroup was removed so that they could be re-applied and bring the filegroup online (quite difficult - this could be a year's worth of log backups!).

    Am I missing something?

    Someone please say yes! 😉

  • This was removed by the editor as SPAM

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply