Comprehensive data protection for all workloads
Post Reply
baber
Veteran
Posts: 665
Liked: 4 times
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

how can keep all of backup files

Post by baber »

Dear all
Hi

today i meet a problem my scenario is in the follow :
i have a folder that every day get a dump file from my database and put it in that directory for instance
saturday get a dump file with name st123.tar.gz and save in /usr/dmp
Sunday get a dump file with name sun123.tar.gz and save in /usr/dmp
Monday get a dump file with name mnd123.tar.gz and save in /usr/dmp
.
.
.
but i want keep 30 vbm (full backup file) each backup file for one day and keep all of them
Is that possible ?
can i ignore retention policy ?

BR
Babak
falkob
Veeam Vanguard
Posts: 86
Liked: 31 times
Joined: Sep 28, 2017 7:47 am
Full Name: Falko Banaszak
Contact:

Re: how can keep all of backup files

Post by falkob »

You could maybe use the File Copy Job for this.
If you are dumping out the files, you can just make a file copy job from the Folder to your destination.
Then write a script which deletes your files older than "X" days.

Code: Select all

find /your/path/to/your/dumps* -mtime +30 -exec rm {} \;
Then add this to a bash script which can be scheduled via crontab.

Code: Select all

#!/bin/bash
find /your/path/to/your/dumps* -mtime +30 -exec rm {} \;
Would that help ?
VCP6.5-DCV, VCP6-DCV, VMCE, VMCA, Veeam Vanguard, VMware vExpert
https://www.virtualhome.blog
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: how can keep all of backup files

Post by wishr »

Hi Baber,

Have you tried running a separate backup job with active full backups backing up just the folder storing your dumps with an appropriate retention policy configured and on a daily basis that is corresponded with your dump creation schedule?

Also, you might want to take a look at our AAIP feature and replace the dump creation procedure with it if your database is supported (i guess it's Oracle DB, right?).

I may be getting your question wrongly. If so, please share more details and let us know what you'd like to achieve.

Thanks
afshinmbi
Novice
Posts: 3
Liked: never
Joined: Nov 14, 2018 12:52 pm
Contact:

Re: how can keep all of backup files

Post by afshinmbi »

hi babak
can you speak Persian? if you can, say to me
i will guide you in Persian language
thanks
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: how can keep all of backup files

Post by foggy »

As suggested, you can use either File Copy job or a regular backup job (just select all week days when enabling Active Fulls). As an alternative, you can also use file-level backup in Veeam Agent for Windows.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 221 guests