Backup to tape and delete files after on disk

Everything about backing up to tape

Backup to tape and delete files after on disk

Veeam Logoby phillipnewberry » Thu May 08, 2014 9:33 pm

I'm working on a backup policy as per company requests

Goal: 4 weeks of data on disk. The forth week transferred to tape and removed from disk.

How is this possible with Veeam?
phillipnewberry
Lurker
 
Posts: 1
Liked: never
Joined: Thu May 08, 2014 9:11 pm
Full Name: Phillip Newberry

Re: Backup to tape and delete files after on disk

Veeam Logoby foggy » Fri May 09, 2014 9:33 pm

Phillip, you could transfer the weekly worth of backups to tape every week (starting from the first one), would that comply with your company's policy? In the end, you will have just three weeks of backups on tapes more than it is currently required.
foggy
Veeam Software
 
Posts: 14743
Liked: 1082 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Backup to tape and delete files after on disk

Veeam Logoby arielcabral » Thu Jul 10, 2014 4:19 pm

Hello Phillip,

Were you able to do that? I think I'm looking for the same solution so I'm thinking it will have to be done with a post job script

My need is:
- Backup d:\ drive on a Windows machine to tape
- Get the list of the files that were backed up (Only those backed up, because the repository may have newer files created)
- Delete the files on the that list

Foggy, is there such feature or a script Veeam has already worked on?

Thank you in advance!

Regards,
Ariel
arielcabral
Novice
 
Posts: 5
Liked: 2 times
Joined: Fri Aug 09, 2013 6:02 pm
Full Name: Ariel Cabral

Re: Backup to tape and delete files after on disk

Veeam Logoby v.Eremin » Fri Jul 11, 2014 9:15 am

- Backup d:\ drive on a Windows machine to tape
- Get the list of the files that were backed up (Only those backed up, because the repository may have newer files created)
- Delete the files on the that list

Can you elaborate on that? You want to backup VMs to disk first, then, once backup jobs are finished, copy resulting backups to tape mediums, and clean the repository afterwards. Is that something you're looking for? Thanks.
v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup to tape and delete files after on disk

Veeam Logoby darkhorse » Wed Jul 23, 2014 1:55 am

I had a similar scenario.

Could you not just backup the files you wish to Disk for the four weeks (with a retention period to cover just over the 4 weeks). to allow the next step to complete.
Then once a month schedule in the Tape Job to run against the Disk Backup job. and capture the Disk backups. Have a Longer retention for the Media Pool here.

Then the Disk retention completes and removes the Older Backups.

FYI I have investigated, you cannot run the Retention deletion step with completing another backup first.
darkhorse
Influencer
 
Posts: 13
Liked: 2 times
Joined: Wed May 21, 2014 10:07 pm
Full Name: Craig Ross

Re: Backup to tape and delete files after on disk

Veeam Logoby foggy » Wed Jul 23, 2014 10:44 am

darkhorse wrote:Then the Disk retention completes and removes the Older Backups.

FYI I have investigated, you cannot run the Retention deletion step with completing another backup first.

There's actually no need to remove the entire month worth of backups from disk, files will be deleted gradually, week by week, according to retention, and when the tape job starts next time, it will copy next four weeks of backups.
foggy
Veeam Software
 
Posts: 14743
Liked: 1082 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Backup to tape and delete files after on disk

Veeam Logoby arielcabral » Mon Sep 22, 2014 8:56 pm

Guys, were you able to come up with something on this?

I need to backup all the files on D:\Backups\ (SAP exports) to tape, and then clean up that folder (I don't need to remove the vbk or vib files, I need to delete the actual files).
I made a post job script but it lacks of permissions so it doesn't work :/


Any idea on how to accomplish this?

Thanks!!

Ariel
arielcabral
Novice
 
Posts: 5
Liked: 2 times
Joined: Fri Aug 09, 2013 6:02 pm
Full Name: Ariel Cabral

Re: Backup to tape and delete files after on disk

Veeam Logoby v.Eremin » Tue Sep 23, 2014 8:12 am

The script that executes a file to tape job and clean a source folder afterwards seems like a natural choice in this case. What kind of permission problem you're talking about? Have you tried to RunAs" commands to the script, so that, it's run under account with necessary permissions? Thanks.
v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 5 guests