Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2012-04-19 : 16:41:00
|
I have a backup schedule on local server.however I would Like to move the backup to network drive after one day.I need a script to achieve above.Thanks for yur help in advance |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-04-19 : 16:53:12
|
Use this as a Operating System step in a separate job:ROBOCOPY C:\LocalBackupFolder \\server\RemoteBackupFolder *.bak /MOV /MINAGE:1Change the folder paths to match your settings. Robocopy is a built-in (as of Windows 7/2008) copy utility, you can also download it from MSDN if you're using an earlier OS. |
 |
|
|
|
|