Log Restore MOVETO option
PaulC
Posts: 9
Hey!
I am currently setting up log shipping using the method suggested in the documentation.
One thing that I have noticed is that when RESTORE's MOVETO option is used, the log file appears to be moved even if the RESTORE was unsuccessful.
The documentation states: "The MOVETO option is used to move the files to another folder after the restore process has completed successfully."
Is there any way to have the log files moved only when the RESTORE is successful?
Thanks!
I am currently setting up log shipping using the method suggested in the documentation.
One thing that I have noticed is that when RESTORE's MOVETO option is used, the log file appears to be moved even if the RESTORE was unsuccessful.
The documentation states: "The MOVETO option is used to move the files to another folder after the restore process has completed successfully."
Is there any way to have the log files moved only when the RESTORE is successful?
Thanks!
Comments
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
It was failing due to out of sequence log files.
When setting up log shipping, I accidentally moved the first log file when I moved the full backup, and when I attempted to run a wildcard *.* restore, it moved ALL of the log files that matched the restore criteria... this could have made it time consuming to figure out which log file was the last file restored had log shipping not just been set up.
Thanks for the information petey :!:
So, when is this next version of SQL Backup due to be released :?:
Thanks :!: