You are not logged in.
is it possible to do a weekly backup with OneDiff Option.
To use every day a different harddrives datastores per rotation?
Seven harddrives with the same label. Change every day the harddrive for the backup.
The --backup-prog is independent of the cron schedule. You can schedule anything you want to, including anything that's not an (c)XSIBackup job.
The possibilities that bash scripting offer you are almost endless. What you describe is a fairly easy to solve scenario, we don't have all the details though.
date +%u date +%a date %+A
Any of the above date commands will return the day of the week as a number, an accronym or as its full name.
Thus, you just have to mount some datastores after the week day (Mon, Tue, Wed...) and then use the date command to build a dinamic target path.
./xsibackup --backup-prog=Onediff --backup-vms="VM1,VM2,VM3" --backup-point="/vmfs/volumes/$(date +%a)/onediff_replicas"
(*) We aren't getting what you mean by: "seven drives with the same label"
The problem is, I should be using different USB hard drives for each day. Each hard drive is replaced manually
One hard drive is for Monday, another for Tuesday, one for Wednesday and so on, each hard drive label is marked "USB Backup".
I registered the VM from every "USB backup" hard drive.
This works, but the problem right now is that XSI Backup does a full backup every night (CID), not a differential backup on every "USB backup" hard disk.
Here is the job:
How could Onediff possibly make a differential backup when you remove the seed. Worse than that, you are replacing it for something different.
With all our respect: don't do that. Please think about what a differential backup is and how it works before designing your backup strategy.
You don't need to delve into the details of how Onediff works, just imagine some regular differential backup.
Let's say you have performed your first full backup on Sunday and your backup contains: ABCD
Then you perform your first differential backup on monday and E is copied, you then have ABCDE
Then you replace the monday disk by the one from Sunday and copy F, you have ABCDF when you should have ABCDEF
That procedure is not valid.