May 20, 2019 at 9:27 am
what is the procedure to restore a database of size 2 TB with a minimal down time ?
May 20, 2019 at 10:46 am
In what sense? Are you restoring over an existing database, or creating a new one. If the latter, there is no downtime, as such. If an existing one, I assume that the existing database won't be updated during the restore period, as it would be lost. If so, you could restore the database under a different name, then, once the restore is complete, rename the old database and then rename the new one (to the old one's name).
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
May 20, 2019 at 12:09 pm
we need to restore to a new db on other servers , generally how can we achieve in a shorter time not configuring any high availability techniques
May 20, 2019 at 12:17 pm
May 20, 2019 at 12:19 pm
May 20, 2019 at 12:21 pm
Then, restore all the main BAK and all the existing TRN files to the new server but make sure that ALL of those restores, including the last one, ALL use the NORECOVERY option. When you're ready, take a "Tail Log Backup" on the original. That will set the original to "Recovering" status and no one will be able to make any changes. Restore the backup for for the tail log on the new server and use the RECOVERY option. Total down time (for the restore, anyway) will be measured in short minutes if you prepare by making sure that you read up on it and have your scripts ready.
I've done this many times for many databases where I work. We did more than 64 databases of decent size and 1 of them was 2TB and another was 1TB. Total downtime was about 20 minutes.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 28, 2019 at 3:30 pm
I found that striping the database backup significantly improved both the backup and restore times. That is the multiple files that is referred to in the article, but doesn't provide much information.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply