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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#2 General matters » removing xsi backup completely » 2023-06-23 12:15:49

Robertkwild
Replies: 2

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

#3 General matters » what ethernet port does xsibackup use for NAS backups » 2023-04-19 10:26:41

Robertkwild
Replies: 1

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

#4 Re: General matters » changing backup point to same folder and increasing backup room » 2023-02-14 10:04:45

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

#5 General matters » changing backup point to same folder and increasing backup room » 2023-02-10 15:36:17

Robertkwild
Replies: 1

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

#6 Re: General matters » backup room option » 2022-11-21 12:49:18

ok thanks, so just go by what your system says in "df -h" or whatever?

#7 Re: General matters » backup room option » 2022-11-18 09:52:35

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)

http://www.endmemo.com/data/diskcapacity.php

#8 General matters » backup room option » 2022-11-14 13:20:27

Robertkwild
Replies: 5

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

#9 General matters » does it save the disks thin or thick » 2022-03-24 15:19:24

Robertkwild
Replies: 1

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

#10 General matters » download free or free classic » 2022-03-18 18:24:55

Robertkwild
Replies: 1

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

#11 Re: General matters » has it updated crontab? (solved) » 2021-08-31 15:07:55

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?

#12 Re: General matters » has it updated crontab? (solved) » 2021-06-23 17:57:57

so you mean if last job eq o then blah blah blah...?

#13 Re: General matters » has it updated crontab? (solved) » 2021-06-23 09:22:11

really sorry for the long delay guys,

i have noticed the --on-success is exclusive to xsibackup pro, i just have the free version

#14 General matters » has it updated crontab? (solved) » 2021-05-24 10:55:14

Robertkwild
Replies: 8

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

#15 Re: General matters » backup room option - two hosts to same root folder (solved) » 2021-04-06 10:30:37

thanks admin, exactly what i was thinking, one has "esx01" and another "esx02"

also the date dir folder doesnt mess it up does it?

#16 General matters » backup room option - two hosts to same root folder (solved) » 2021-04-02 14:37:14

Robertkwild
Replies: 3

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

#17 Re: General matters » smtp file error - requires seven fields (solved) » 2021-04-01 10:07:01

my bad, i have done it

just added another "none" at the end for smtp sec

#18 General matters » smtp file error - requires seven fields (solved) » 2021-04-01 10:00:29

Robertkwild
Replies: 1

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

#20 Re: General matters » exclude only one VM from being backed up (solved) » 2021-03-16 13:14:07

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

#21 Re: General matters » exclude only one VM from being backed up (solved) » 2021-03-10 18:30:55

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

#22 General matters » exclude only one VM from being backed up (solved) » 2021-03-10 13:16:21

Robertkwild
Replies: 5

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

#24 Re: General matters » backup job failing on one vm - disks not found » 2020-09-09 22:58:23

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

#25 Re: General matters » backup job failing on one vm - disks not found » 2020-09-09 16:17:33

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

Board footer