You are not logged in.
Pages: 1
Just started my testing of DC in esxi 7.x host.
Do the follow options still work in DC like the older xsiback tool?
1. backup-vms="REGEXP(^PROD)" to select VMs back on reg expression.
2. backup-point=/vmfs/volumes/FN_VM_Backup_3TB/xsibackup/Full/$(date +%U) to rotate my backup using folders with date functions
Thanks
Update seems like i can still use $(date +%U) with testing.
I edited the log name for my jobs. IE instead of xsibackup.log I used xsibackup_001.log. When i try to watch the logs using gui it doesnt show any results. I figured this is due to having a different log name and the xsibackup.log not having content written to it. Would it be possible for the Gui to compare if the log path is standard or changed then display the change log file if it detects one being used?
Not a big deal, if it bugs me, i just revert back to using the standard log file.
This is for Xsi pro v11.0.3
As an alternative, you can use the weekly qualifier in the storage path then remove the weeks you no longer need to keep as backups.
so you would have
WEEKLY
-->01
----->data
----->01012018
--------->vmBackup1
----->01022018
--------->vmBackup1
-->02
----->data
----->01102018
--------->vmBackup1
----->01112018
--------->vmBackup1
ETC.
thanks for update. looking forward to new version.
I'm trying to use --backup-vms="REGEXP(^DEV)" to backup my vms starting with DEV code.
when i try the following command it works:
vim-cmd vmsvc/getallvms | tail -n +2 | awk
-F '[' '{print $1}' | awk -F ' ' '{for (i=2; i<NF; i++) printf $i " "; print $NF}' | grep -e '^DEV'
DEV_pfSense
DEV_D100
DEV_FreeNas
when i try it in a cmd
/vmfs/volumes/SSD/xsibackup/xsi
backup --backup-prog=xsitools:z --backup-point="/vmfs/volumes/xsibackup/Weekly/$(date +%U)" --
backup-type=custom --backup-vms="REGEXP(^DEV)" --smart-info=yes --mail-to=i@gmail.com --use-smtp=1 --test-mode
=true
I get the following message
----------------------------------------------------------------------------------------------------------------------
Error NOVM2BAK: no VMs to backup
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
Errors detected in backup, check logs
Im running version XSIBACKUP-PRO 10.0.3.
what am i missing?
Thanks Daniel, I'll give it a try.
Update - worked great!
I maybe blind but i didnt see anywhere in the man or blog how to extract a backup from the XSITool repo? Is there a particular command that I need to do?
thanks and sorry if I missed the documentation.
I been testing xsitools and like what I see so far. I did have a question on how to maintain space of the local VMFS that the repo is stored on since, each backup is a time stamp. Eventually I would like to remove some of the older content time stamps or keep a limited set, say a weeks worth of backups. Are there options to do this? What happens if I have xsitools keep going until the VMFS runs out of space, will the tool know to stop or clean up the repo? I like to know what is automated and what I need to worry about.
Pages: 1