Backing up to Secondary Server with Automatic Standby
redg8
Posts: 3
Hi,
I have 2 x SQL 2005 Servers (Primary + Secondary) both running SQL Backup 5.
I want to have the Secondary SQL Server have a standby copy of the Primary Database restored on a schedule.
How can I do this? It would be very helpful for DRP.
Regards
Jay
I have 2 x SQL 2005 Servers (Primary + Secondary) both running SQL Backup 5.
I want to have the Secondary SQL Server have a standby copy of the Primary Database restored on a schedule.
How can I do this? It would be very helpful for DRP.
Regards
Jay
Comments
Or if your database is using the simple recovery model, you could set up a scheduled job on the primary server to back up the database periodically, and another job on the secondary server to restore the database. The COPYTO and MOVETO options may be of use here. See the SQL Backup help file for details, in the topics 'The BACKUP command' and 'The RESTORE command'.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Note: Secondary servers can only be in either RECOVERY mode (no use other than hot standby), or STANDBY mode (read-only, so you can select on it, use it for reporting purpose, but cannot perform write operation)
It'd be interesting to test SQL Backup's Log Shipping feature (didn't even know about it until I did the survey yesterday)
btw, download RedGate's Log Shipping monitor tool, it's pretty cool
DBA, MCITP
Thanks in advance. J
Last time I tried to find it, I don't see this option in GUI, but I think it's there in the command line option
However, you can either write a VBS, or simpler, setup a SQL Maintaenance Plan with Cleanup Task, deleting *.sqb extension files after X days, and schedule the task
DBA, MCITP
will copy log backups to \\share\files, erase local files older than 7 days, and remote files older than 5 days. Note that ERASEFILES_REMOTE is only available in 5.3.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Where in 5.3 is this option GUI or cmdline??
I can't see it in my version 5.3.0.178.
Found the answer.
More information can be found in the help file under :
The SQL Backup Toolkit>Toolkit Syntax>The BACKUP Command
Redgate Foundry