©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Incremental daily & Full daily backup » 2018-09-24 15:42:23

Upgraded to 11.0.3
We tested on a host with just one VM. We decided to backup to a subfolder in same path. The thinking is that we want to keep the backups under same datastore, because we have multiple hosts to run backups for (once our test backup cron works)
- One incremental backup to subfolder in /vmfs/volumes/datastoreA/pdf_incremental
- One full backup to subfolder in /vmfs/volumes/datastoreA/pdf_full

/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=01 --backup-prog=onediff --time="Mon 05:00|Tue 05:00|Wed 5:00|Thu 5:00|Fri 5:00|Sat 05:00|Sun 05:00" --backup-point="/vmfs/volumes/datastoreA/pdf_incremental" --backup-type=custom --backup-vms="vm_01" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on-success="backupid->02" --on-error="backupid->02"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=02 --backup-prog=vmkfstools --backup-point="/vmfs/volumes/datastoreA/pdf_full" --backup-type=all --del-dirs=+2d --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes


When run, the incremental seems fine (no errors detected in log). However, the full doesn't seem to run at all. What is wrong with the syntax? Can we not backup to a subfolder in same path?

Also, please note, the --del-dirs=+2d option was introduced in 10.2.9, at least according to https://33hops.com/xsibackup-help-man-page.html#deldirs
We were on 10.3.1, before the upgrade.


Thanks for your advice.

#2 Re: General matters » Incremental daily & Full daily backup » 2018-09-19 20:03:39

Thanks for reply. Please note:
1) Host has two VMs
2) Want to do incremental on each VM daily to datastoreA
3) Want to do full backup on host daily to datastoreB
4) Want to keep three rotations of full backups (delete folder older than 2 days)

Is this correct?

/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=01 --backup-prog=onediff --time="Mon 17:00|Tue 17:00|Wed 17:00|Thu 17:00|Fri 17:00|Sat 17:00|Sun  17:00" --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup-vms="vm_01" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx -- smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on-success="backupid->02" --on-error="backupid->02"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=02 --backup-prog=onediff --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup- vms="vm_02" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on- success="backupid->03" --on-error="backupid->03"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=03 --backup-prog=vmkfstools --backup-point="/vmfs/volumes/datastoreB" --backup-type=all --del-dirs=+2d --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes

#3 Re: General matters » Incremental daily & Full daily backup » 2018-09-19 13:08:19

Our current working cron script for backing a host with 2 VMs:
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=01 --backup-prog=onediff --time="Mon 17:00|Tue 17:00|Wed 17:00|Thu 17:00|Fri 17:00|Sat 17:00|Sun  17:00" --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup-vms="vm_01" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx -- smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on-success="backupid->02" --on-error="backupid->02"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=02 --backup-prog=onediff --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup- vms="vm_02" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes


Would I add at end:
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=01 --backup-prog=onediff --time="Mon 17:00|Tue 17:00|Wed 17:00|Thu 17:00|Fri 17:00|Sat 17:00|Sun  17:00" --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup-vms="vm_01" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx -- smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on-success="backupid->02" --on-error="backupid->02"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=02 --backup-prog=onediff --backup-point="/vmfs/volumes/datastoreA" --backup-type=custom --backup- vms="vm_02" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes --on- success="backupid->03" --on-error="backupid->03"
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backupid=03 --backup-prog=all --backup-point="/vmfs/volumes/datastoreB" --mail-from=xxx --mail-to=xxx --smtp-srv=192.168.xxx.xxx --smtp-port=xxx --smtp-usr=xxx --smtp-pwd=xxx --smart-info=yes



Please note, for the full daily backup, it HAS to be to a different path? What would happen, if I point it to datastoreA as well? Would it overwrite everything in datastoreA, or would it make a new folder (can we name this folder), since it's using --backup-prog=all
We would like to keep it in the same path, since this is one of many hosts that we backup daily. Obviously, adding a full backup, will increase total backup time.

Also, we would like the full backup to be on 3 rotations. Overwriting the oldest full backup on the third day's full backup schedule. How would we do this? What is the script to do so? Please advise.

Thank you.

#4 General matters » Incremental daily & Full daily backup » 2018-09-18 14:07:53

eye4eye
Replies: 7

Currently, we have a daily incremental backup running on a host. We would like to add a full daily backup to it. We are using --backup-prog=onediff for the incremental backup.

After completion of incremental backup, it creates a _XSIBAK file in VMware. Can the incremental & full backup be stored as two separate _XSIBAK files, within VMware? Or, will they overwrite each other?

Our current working cron script (Please note, using xxx- for security):
/vmfs/volumes/datastore1/xsi-dir/xsibackup --backup-prog=onediff --time="Mon 05:00|Tue 05:00|Wed 05:00|Thu 05:00|Fri 05:00|Sat 05:00|Sun 05:00" --backup-point="/vmfs/volumes/HONEY120" --backup-type=custom --backup-vms="pdf" --mail-from=120@xxx --mail-to=xxx@xxx --smtp-srv=192.168.xxx.xxx --smtp-port=25 --smtp-usr=xxx@xxx --smtp-pwd=xxx --smart-info=yes

How do we add a second full daily backup to it?

Please let me know if you need more info.

Board footer