You are not logged in.
thank you admin
hi all,
how do i remove xsi backup completely as i have uninstalled cron but i still see it when i run auto.backup.sh
/sbin/auto-backup.sh
--- /etc/rc.local.d/local.sh
+++ /tmp/auto-backup.15505808//etc/rc.local.d/local.sh
@@ -10,7 +10,6 @@
# VMware support.
# Note: This script will not be run when UEFI secure boot is enabled.
-/bin/kill $(cat /var/run/crond.pid)
-/bin/echo "00 01 * * * /opt/ghettovcb/bin/ghettoVCB.sh -a -g /opt/ghettovcb/backupconfig -e /opt/ghettovcb/excludevms > /dev/null" >> /var/spool/cron/crontabs/root
-crond
+
+"/vmfs/volumes/datastore1/XSIBackup-Free/src/cron-init" root
exit 0
Saving current state in /altbootbank
Clock updated.
Time: 12:12:50 Date: 06/23/2023 UTC
+"/vmfs/volumes/datastore1/XSIBackup-Free/src/cron-init" root
thanks,
rob
hi all,
what ethernet port does xsibackup use to perform doing the backups to my NAS drive
my NAS drive is 10gig but my esxi hosts are 1gig (management port) but all the VLANs are 10gig trunk (all the vms)
so does the backup run over the management port or the vlan trunk port?
thanks,
rob
it worked, as im saving all the backup jobs ie (esx01 esx02) to the same dir (backup point) im using the same size for each host (backup room) as thats how big my backup NAS is
i made it 7100 ie 7.1TB as when i did a "df-h" on my host that datastore is 7.2TB, i have left 100gb
--backup-point=/vmfs/volumes/datastore98/backup --backup-type=running --date-dir=yes --backup-room=7100 --snapshot=doquiesce --backup-id=001 --save-job --mail-to=user@domain.com --use-smtp=2
hi all,
atm i have two esxi hosts and on each host i have set up my backups like so
--backup-point="/vmfs/volumes/datastore98/backup/esx01" \
--backup-type="running" \
--date-dir="yes" \
--backup-room="3000" \
--snapshot="doquiesce" \
--backup-id="001"
and my other host is exactly the same but backup point is another folder
--backup-point="/vmfs/volumes/datastore98/backup/esx02" \
--backup-room="3000" \
i was thinking of putting all the backups in the root folder of "backup" instead of there own esx01/02 folders and then increasing the size to 6000 as thats how big the NAS is ie "backup"
so they all will look the same ie like
--backup-point="/vmfs/volumes/datastore98/backup" \
--backup-type="running" \
--date-dir="yes" \
--backup-room="6000" \
--snapshot="doquiesce" \
--backup-id="001"
will this method backup up all the vms on both hosts, i know they will start deleting when it reaches 6000 to make space for more vms
thanks,
rob
ok thanks, so just go by what your system says in "df -h" or whatever?
so if a drive says its 8TB on the box, put that in the "--backup-room" and not the real size ie 7450.5806 (i got the real size from the link below)
hi all,
i have a hard drive thats 8TB but when i look at the array size i get this,
Array Size : 7807186944 (7445.51 GiB 7994.56 GB)
so should i use for option "--backup-room" 8000 or 7994?
thanks,
rob
hi all,
when it does the backup, does it backup the vm disks thick or thin, or does it matter how the original vm was made ie with thick or thin disks?
thanks,
rob
hi all,
what is the difference between
free - 1.5.1.9
free classic - 11.2.9
obviously il install the same on each host
thanks,
rob
EDIT - i see the old "free" one has changed names to "free classic" due to esxi 7 coming out
if i use the new free one ie "free" can i still backup vms over 100gig or is that only available in the "free classic" one
i found out doing the double pipe works ||, the && doesnt
is the || the same as the && ie if last command was succesful do the other command?
so you mean if last job eq o then blah blah blah...?
really sorry for the long delay guys,
i have noticed the --on-success is exclusive to xsibackup pro, i just have the free version
hi all,
i issued a "./xsibackup --update-cron" as i changed when a job started in "vi conf/root-crontab"
The root user crontab has been succesfully updated
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is the current content of the root crontab
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
#min hour day mon dow command
1 1 * * * /sbin/tmpwatch.py
1 * * * * /sbin/auto-backup.sh
0 * * * * /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5 * * * * /bin/hostd-probe.sh ++group=host/vim/vmvisor/hostd-probe/stats/sh
00 1 * * * localcli storage core device purge
00 02 * * * /vmfs/volumes/datastore1/XSIBackup-Free/jobs/001 # Added by XSIBackup
00 01 * * * /vmfs/volumes/datastore1/XSIBackup-Free/jobs/002 # Added by XSIBackup
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Current number of crond instances is 1, service seems to be running O.K.
job 002, i changed from running from 3 to 1
how come it says only 1 crond instance as surely in the root crontab its 7?
thanks,
rob
thanks admin, exactly what i was thinking, one has "esx01" and another "esx02"
also the date dir folder doesnt mess it up does it?
hi all,
so i have two esxi hosts and both i have installed xsibackup free, but there all backing up to the same datastore, ie
/vmfs/volumes/datastore98/backup/esx01
/vmfs/volumes/datastore98/backup/esx02
but as you can see the root folder is the same
/vmfs/volumes/datastore98/backup/
as you can see i have given each host 3tb worth as the total of my NAS is 8tb
will the below work, or am i doing it wrong
host one
/vmfs/volumes/datastore1/XSIBackup-Free/xsibackup --backup-point=/vmfs/volumes/datastore98/backup/esx01 --backup-type=running --date-dir=yes --backup-room=3000 --snapshot=doquiesce
host two
/vmfs/volumes/datastore11/XSIBackup-Free/xsibackup --backup-point=/vmfs/volumes/datastore98/backup/esx02 --backup-type=running --date-dir=yes --backup-room=3000 --snapshot=doquiesce
thanks,
rob
my bad, i have done it
just added another "none" at the end for smtp sec
hi all,
i have esxi 6.7 and i am using XSIBACKUP-FREE 11.2.9
so instead of using a long command ie backup point, backup how smtp details etc etc, im trying the smtp file out
2;10.110.130.68:587;name@domain.com;name@domain.com;any;none
"any" as in no password and "none" as in no authentication
./xsibackup --check-smtp=robert.wild@pixelogicmedia.com --use-smtp=2
i get this error
Error: cannot determine the e-mail server credentials, each smtpsrvs entry requires seven fields, please check syntax
thanks,
rob
thanks admin
ok its not working, i dont know what im doing wrong
./xsibackup --backup-point=/vmfs/volumes/datastore1/backup --backup-type=custom --backup-vms="REGEXP(^free)"
and im getting this error
Error NOVM2BAK: no VMs to backup
but i dont know why, as i have a vm called freeradius
or can i just list running vms and exclude that vm like this
--backup-vms=esxcli vm process list | grep "Display Name" | awk '{ print $3}' | grep -v lon-p-fog
hi all,
is there anyway only to excluding one vm from being backed up, otherwise i would need to include all the vms to backup and then not include that vm in my command, like so
--backup-type=custom --backup-vms=lon-p-xrdp,aspcon,shares,dataio,lon-p-smtp... and the VM i wouldnt put down here is lon-p-fog
as you can see theres no universal convention going on here and the list goes on and on
would this work
--backup-vms=vim-cmd vmsvc/getallvms | awk '{ print $2}' | awk '(NR>1)' | grep -v lon-p-fog
thanks,
rob
no im using esxi 6.7u3
ok this is one for you guys as im speechless...
found out the backup fails when the vm is running
when i powered down the vm and kicked off the backup again, guess what it works with no errors
im pretty sure its to do with all the services running on this vm as its squid, i have
squid
squidclamav
clamav
c-icap
im pretty sure clamav or c-icap are messing with the backup
so just to clarify, when xsibackup says disk0 and disk1 not found does it mean
disk0 = lon-d-squid.vmdk
disk1 = lon-d-squid_1.vmdk