Different Purge Dates for Local Drive and Network Shares?
spc_kevin
Posts: 3
Not sure if this is possible...
If I am backing up to a Local drive and a network share I'd like them to have different purge intervals. make sense? In other words, I'd like to keep my backups on local drives for 14 days but, on network shares for 30 days.
Doable?? :lol:
Thanks,
If I am backing up to a Local drive and a network share I'd like them to have different purge intervals. make sense? In other words, I'd like to keep my backups on local drives for 14 days but, on network shares for 30 days.
Doable?? :lol:
Thanks,
Comments
I will log it for the decision makers to decide if it should be included in a future version. If anybody else has ever needed this feature, please do post a comment here, so that we get an idea of how useful this feature would be. Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
In the mean time, I added an ActiveX Script Step to the red gate backup job that checks the local drive for .sqb files older than 14 days. and removes them and set my backup job to retain files up to 30 days. That should work for now.
"Deletes all SQL Backup files for the database that are older than the specified number of days (or hours), and are located on a network share. You use this argument if you want to specify different deletion intervals for local files and files located on network shares. If not specified, SQL Backup uses the ERASEFILES value."
As explained in the help file: http://help.red-gate.com/help/SQLBackup ... ACKUP.html
SQL Backup Project Manager
Red Gate Software