to get the current restore point of the copy job written to the same tape(s) as the restore point(s) from the backup jobs of the same day I had to make sure the copy job's interval ends befor the tape job starts
. In my opinion this is almost impossible with the default behavior of the backup copy jobs (at interval start -> copy most current restore points). I had to set the following registry key on the B&R server and reboot it:
- Code: Select all
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
This registry key changes the behavior of !!! ALL !!!
copy jobs from "at interval start -> instantly start copying the latest restore points" to "at interval start -> wait for the next restore points to be created and then start copying them".
This way I was able to configure the following scenario (example for MO):
1.) Copy job to copy backups from remote site B to main site A starts SU at 11:30 pm with an interval of 1 day (due to the mentioned registry key the job sits idle after start)
2.) Backup jobs in remote site B start MO at 7 pm (running until about 8 pm)
3.) As soon as restore points are being created by the jobs from 2.) the copy job from 1.) starts copying them to main site A (running until about 10 pm)
4.) Backup jobs in main site A start MO at 8 pm (running until about 10 pm)
5.) Interval of copy job from 1.) ends MO at 11:30 pm thus its restore point is freed for further processing
6.) Tape job starts MO at 11:45 pm and writes restore points from 3.) and 4.) to tape
This setup works for me but clearly has its disadvantages:
- Changing the bahaviour of the copy jobs by using the registry key affects all copy jobs and you might need to rethink other parts of your backup plan
- The copy job interval runs from 11:30 pm to 11:30 pm but only has an effective backup window from about 7:30 pm (first backup jobs in remote site B finishes and gets copied) to 11:30 pm (interval ends). This might not be enough time to copy everything. Of course you could set the interval start/stop time to some other time but you'll also have to adjust the start time for the tape job accordingly to have it start AFTER the interval ends.
Personally, I wanted the tape job to start at the same day as the backup jobs (at 11:45 pm) so the media set name variables %date% and/or %dayofweek% reflects the day the actual backups were taken. If you don't mind the MO backups being on tapes that have "Tuesday" and/or tuesday's date in their media set name, you can of course push the start/stop time of the copy job and the start time of the tape job further into the next day.
I hope this helps at least a little bit and wasn't too complicated ... it's hard to explain in writing and not having english as your native language doesn't help either!?