Comprehensive data protection for all workloads
Post Reply
seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

weekly backups roll up on sql

Post by seapro220 » Feb 18, 2013 4:42 pm

Hello all.
I'm racking my brain trying to find something simple, and because it's simple - I just can't see it. For the sql server, I've actually got 2 processes working. The sql person does a weekly backup, and multiple transaction logs during the day. She tried to use the veeam-backup, but was having issues doing daily transactional restores/searches so I want to go to a weekly veeam job, and keep 4 weeks for Murphy's sake.

Here's what I want to do - please suggest any viable options ..

1. create a new job for sql.
2. don't truncate the log files, so I can use sql-tools to do restores. The sql job truncates w/o issues.
3. run the job 1 time a week, and keep 4 weeks of 'full' restores in case something goes wrong. I don't want daily incremental jobs - just a 1x-week job and another reason to keep multiple weeks is for service-patches that are applied.
4. run a 'once a quarter' backup and keep that off-site.
5. is forward or reversed backups the best method - and why?

I have the truncate-log feature down (not selecting truncate the logs on advanced options) but am struggling on the 1x-week and creating the 'quarterly job'. Do I have to select a periodic monthly job and specify the month's I want a quarterly backup or create another quarterly-job? What I'm concerned about is space - mostly. If I have to create a 2nd job, to handle the quarterly backups job - can I specify that I only want to keep 1 quarter?

thoughts and suggestions?

dellock6
Veeam Software
Posts: 5684
Liked: 1604 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: weekly backups roll up on sql

Post by dellock6 » Feb 18, 2013 9:30 pm

Hi Mark, a quick suggestion, see if sounds good:
- create a dedicated job
- forward incremental or reverse is the same, since you want to create full backups at every execution without incrementals, but let's say forward
- schedule the backup to run once per week on the day you want
- program the job to do active full on the exact same day you schedule it. In this way, every backup execution will create a full VBK file, as you wanted
- set retention points to 4
- for quarterly backup, simply copy the last vbk file in a secondary position, you can now use Veeam Cloud Edition to do so

About space consumption, for sure having 4 full backups will eat more space than usual full+incremental rotation, do some calculations to better size your backup storage.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2019
Veeam VMCE #1

seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

Re: weekly backups roll up on sql

Post by seapro220 » Feb 19, 2013 1:25 pm

Hello.
I'd thought of 'ticking' the option, "perform active full backups periodically" and trying to set it for the same day - but thought that with the 'normal' weekly running, and then the 'active full' also scheduled that I'd end up with 2 backup's for that day. Is this not correct, or will the normal 'weekly' just get rolled up/transformed into the weekly backup job/file? Using, or taking the last 'quarter' file and moving it off to another location seems like the best option instead of creating another 'job' just for that. Is there any preferred method of managing those extra files? Never mind - as I think about it, the job is scheduled to automatically prune to only 4 copies...and I've just taken 1 of them out of the 'mix'. Good Idea.

mark

veremin
Product Manager
Posts: 16682
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: weekly backups roll up on sql

Post by veremin » Feb 19, 2013 1:32 pm

If you follow Luca’s advice, only an active full backup will be created on this day.

Hope this helps.
Thanks.

seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

Re: weekly backups roll up on sql

Post by seapro220 » Feb 19, 2013 1:34 pm

Another question, similarly related

If I have a current job running - which is a weekly with daily incrementals - and am going to replace it with this job, what's the best method of removing all the data associated with this current (and soon to be old job). I believe the answer is to continue to run this job, until the 'new' job has completed and then at that time (or whenever i want to free up the space) I can disable the current (soon to be old) job and just remove the files from the 'disk'. This seems the safest doesn't it?

veremin
Product Manager
Posts: 16682
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: weekly backups roll up on sql

Post by veremin » Feb 19, 2013 1:45 pm

Yep. If you don’t need these backup files any longer, you can follow the steps you’ve mentioned.

Another possible option is to make necessary changes to the existing job, such as schedule, etc., and specify 4 as a number of restore points you want to keep on disk. In this case retention policy will do the work for you.

Hope this helps.
Thanks.

seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

Re: weekly backups roll up on sql

Post by seapro220 » Feb 19, 2013 4:54 pm

Ok - I'll make some changes and I appreciate the helpful suggestions. Here's a question - If I change my 'job name', like from "sql daily backups" to "sqlweekly" will this confuse Veeam? I know, now - that Veeam creates the directories based on the 'job name' but didn't know if it was going to be 'smart enough' to realilze the change - of if I'd have to create the directory manually, move the files into the new directory-location, and remap the job ... or not.

Vitaliy S.
Product Manager
Posts: 22764
Liked: 1519 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: weekly backups roll up on sql

Post by Vitaliy S. » Feb 19, 2013 9:43 pm

seapro220 wrote:If I change my 'job name', like from "sql daily backups" to "sqlweekly" will this confuse Veeam?
No, it shouldn't have any effect on your existing jobs. If you decide to rename the jobs, the target folders on the repository will keep the previous job name.

seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

Re: weekly backups roll up on sql

Post by seapro220 » Feb 25, 2013 3:29 pm

Hi.
I've reconfigured the job, and all seems to be working w/o any issues. I didn't change the job 'location', but will probably do that next week after I have a couple of backups 'under my belt'.

thanks ....

seapro220
Enthusiast
Posts: 51
Liked: 2 times
Joined: Feb 24, 2012 2:49 pm
Full Name: mark foster
Contact:

Re: weekly backups roll up on sql

Post by seapro220 » Mar 25, 2013 6:06 pm

A quick question to confirm exactly 'what' is needed for quarter backups.
if i take my latest "full" xx.vbk file and put it 'away/off-site' as the specific quarter backup file - Do I only need the xx.vbk file, and not any other files? I believe this is correct as the last full.vbk file has all of my 'roll-ups' into it - but wanted to be sure. I am doing 'forward incrementals' as my normal process of backups.

thanks,

Vitaliy S.
Product Manager
Posts: 22764
Liked: 1519 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: weekly backups roll up on sql

Post by Vitaliy S. » Mar 25, 2013 6:31 pm

Hi Mark, yes, latest full backup (VBK) is all you need to run the restore process if the disaster strikes.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], PetrM, tsightler and 21 guests