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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-11-08 14:20:00

bellocarico
Member
Registered: 2017-07-02
Posts: 10

xsib_shutdown

Due to the limitation documented in this post:

https://33hops.com/forum/viewtopic.php?id=48

I've now developed xsi-backup within a custom made script. Essentially rather than backing up remotely (as I'm not willing to do this as root), I'm doing a hot copy of the VM in the same datastore, then I'm manually calling rsync to transfer the file with --inplace parameter to speedup things.

Just one question: xsibackup doesn't allow you to be called it within the script as the end of the procedure the it terminates with:

echo "XSIBACKUP_EXIT_STATUS=$ERR_FILE_SIZE"
xsib_shutdown
drawline

that xsib_shutdown kills the script itself. I'm not sure what is the reason for calling such a function at the very end but I just wanted to report that to be able to use e.g. the following script:

#!/bin/sh
/vmfs/volumes/boot/xsi-dir/xsibackup --backup-point=/vmfs/volumes/boot/xsi-dir/BACKUPS/ --backup-type=custom --backup-vms="Centos7" && /vmfs/volumes/boot/xsi-dir/rsync -aP --inplace /vmfs/volumes/boot/xsi-dir/BACKUPS/Centos7/* backupuser@backupsystem:/media/2TB/home/backupuser/vmware/Centos7/

that last occurrence of xsib_shutdown within xsibackup needs to be quoted.

Regards

Offline

Board footer