Splitting Up Backup and Copy Functions
JoshDBGuy
Posts: 16
Is there a way to split up the backup and copy functions using Redgate? I can do backups myself and then use SQL/Powershell to do copies to network locations but I'd rather use redgate. Is this possible?
Comments
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I have a number of production jobs that I have to disable prior to starting the Full Backup. I have to do this because the disk I/O contention on the data drives was significantly slowing both production processing and backup throughput. The Full Backup was taking > 24 hours. With Jobs disabled it now takes 3 - 4 hours.
As soon as the Full Backup is completed the Production Jobs can be restarted.
The file copy to off-storage can then run without impact.
Currently I have separate Backup job steps to
Disable Selected Production Jobs Run Backup Enable Selected Production Jobs Copy Backups to File Server (Power Shell)
To enable this option, use the USEQUEUEDCOPY keyword e.g.
EXEC master..sqlbackup '-sql "BACKUP DATABASE model TO ... WITH COPYTO = ..., USEQUEUEDCOPY"'
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8