-
- Enthusiast
- Posts: 88
- Liked: 25 times
- Joined: Sep 25, 2012 7:57 pm
- Contact:
Exchange server, two jobs, how to truncate logs?
I have 2 jobs backing up exchange. One that points to onsite storage repo, and the other that points to agent storage in a branch office as target repo.
How should i set log truncation so exchange is fully recoverable from any restore point, from either repo? Or should i not be backing up Exchange in this manner?
How should i set log truncation so exchange is fully recoverable from any restore point, from either repo? Or should i not be backing up Exchange in this manner?
-
- Chief Product Officer
- Posts: 31812
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Exchange server, two jobs, how to truncate logs?
Just choose either job to do this. I would pick the one that backs up locally (as it will run more reliably and finish more consistently).
-
- Expert
- Posts: 230
- Liked: 41 times
- Joined: Feb 18, 2011 5:01 pm
- Contact:
Re: Exchange server, two jobs, how to truncate logs?
If I'm reading your question correctly, you'll be able to fully recover Exchange from any of the restore points present on either repository.jpeake wrote:I have 2 jobs backing up exchange. One that points to onsite storage repo, and the other that points to agent storage in a branch office as target repo.
How should i set log truncation so exchange is fully recoverable from any restore point, from either repo? Or should i not be backing up Exchange in this manner?
When the logs are truncated it just means that data is committed to the database. So when the backup runs on the other repository that data is still present, it's just in the database instead of the logs.
-
- Enthusiast
- Posts: 88
- Liked: 25 times
- Joined: Sep 25, 2012 7:57 pm
- Contact:
Re: Exchange server, two jobs, how to truncate logs?
My concern was that if the production DB's get hosed, I need to recover from previous backup and then replay the logs. Exchange keeps the logs even after data is written to the disk database, for this reason. Exchange does not truncate logs after the data is committed to disk. They are truncated only after a successful backup (unless you have circular logging enabled, also know as suicide logging).
I was worried that truncating logs from both backup jobs would create missing logs from the point of view of the other backup. So I think what Gostev said makes sense. Exclude offsite job from truncating, then the log chain is complete from the onsite job's perspective.
Technically I suppose you could truncate from both jobs, but then you might have to look in multiple places to bring back a complete sequential log chain.
I was worried that truncating logs from both backup jobs would create missing logs from the point of view of the other backup. So I think what Gostev said makes sense. Exclude offsite job from truncating, then the log chain is complete from the onsite job's perspective.
Technically I suppose you could truncate from both jobs, but then you might have to look in multiple places to bring back a complete sequential log chain.
-
- Veteran
- Posts: 295
- Liked: 59 times
- Joined: Sep 06, 2011 8:45 am
- Full Name: Haris Cokovic
- Contact:
Re: Exchange server, two jobs, how to truncate logs?
And i would make sure that the job that is not truncating the logs is running before the one with log truncation on. That way you should have the log files still in both backup locations.
-
- VeeaMVP
- Posts: 6166
- Liked: 1971 times
- Joined: Jul 26, 2009 3:39 pm
- Full Name: Luca Dell'Oca
- Location: Varese, Italy
- Contact:
Re: Exchange server, two jobs, how to truncate logs?
This is easy to achieve: simply schedule the first one before the second, even if you are not sure when the first ends, one job cannot process a VM while it beeing processed by another job, so the second one will wait in queue for the VM to be released.
Luca.
Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Who is online
Users browsing this forum: jmaude and 108 guests