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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#26 Re: General matters » backup job failing on one vm - disks not found » 2020-09-06 22:55:19

think i have found the problem

[url=https://33hops.com/esxi-snapshot-errors-and-solutions.html]Most frequest (c)XSIBackup Classic snapshot related errors[/url]

i have checked and it has no snapshots in manage snapshots

all i can see is vmdk (disk0) and vmdk1 (disk1)

i attach a picture of my vm template

[url=https://i.postimg.cc/gjW6dCyL/vm.png]See image[/url]

can you spot the rogue snapshot?

thanks,
rob

#27 General matters » best backup program to use for nfs datastores » 2020-09-06 21:20:38

Robertkwild
Replies: 1

hi all,

just want your opinion on whats the best backup program to use for backing up to nfs datastores

i know Vmkfstools is out the question as this is only for local datastores

i really dont mind using rsync, i have heard its slow but if it does the job then hey...

thanks,
rob

#28 Re: General matters » backup job failing on one vm - disks not found » 2020-08-31 20:02:21

ok ive had a look in the .vmx file

scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName = "lon-d-squid.vmdk"
scsi0:0.present = "TRUE"
scsi0:1.deviceType = "scsi-hardDisk"
scsi0:1.fileName = "lon-d-squid_1.vmdk"
scsi0:1.present = "TRUE"

as you can see theres 2 vmdks

if i go in the datastore, browse the vm, i can also see the 2 vmdks

lon-d-squid.vmdk
lon-d-squid_1.vmdk

also if i right click the vm edit and expand both hard drives, i see

vmdk is scsi 0:0
1.vmdk is scsi 0:1

i cant see any problems, or maybe im missing something?

#29 Re: General matters » backup job failing on one vm - disks not found » 2020-08-31 09:22:28

thanks administrator,

when you say look at the source code, is the source code in the .vmx file?

#30 General matters » backup job failing on one vm - disks not found » 2020-08-30 12:52:56

Robertkwild
Replies: 10

hi all,

i have a vm failing backup but the thing is it clones both sdX's as both vmdks say 100% done and when i go into my datastore folder i can see both vmdks there

but this is the error i get

./xsibackup: eval: line 1: disk0: not found
./xsibackup: eval: line 1: disk1: not found
Backing up virtual disks...

any help please?

thanks,
rob

#31 Re: General matters » errors detected after backups finished- where logs saved » 2020-06-07 23:14:49

i have the log but i dont know how to attach it

i cant see any errors in the log, the only error i see is when it says it has detected errors

#33 Re: General matters » not running cron jobs » 2020-06-03 12:26:51

success!

0 2 * * * /vmfs/volumes/datastore11/xsi-dir/jobs/001 # Added by XSIBackup
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Current number of crond instances is 1, service seems to be running O.K.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Killed
[root@lon-p-esx02:/vmfs/volumes/5ded0efa-410c4d6a-3b7e-ac1f6bdc45fe/xsi-dir] cd /
[root@lon-p-esx02:~] cat /vmfs/volumes/datastore11/xsi-dir/jobs/001
"/vmfs/volumes/datastore11/xsi-dir/xsibackup" \
--backup-point="/vmfs/volumes/datastore2/backup/esx02" \
--backup-type="running" \
--date-dir="yes" \
--backup-room="1000" \
--backup-id="001" \
--exec=yes >> "/vmfs/volumes/datastore11/xsi-dir/var/logs/xsibackup.log"
[root@lon-p-esx02:~]

lets see if it runs

#34 Re: General matters » not running cron jobs » 2020-06-03 12:08:18

i understand you Administrator, thanks, will let you know if it works smile

#35 Re: General matters » not running cron jobs » 2020-06-03 10:26:10

ahhhh so esxi uses busybox a cut down version of cron, good to know

ive left out the option --save-job as im just running one cron for my backups but its good to know in future or do i need this option to add a cronjob?

atm its like this

00 02 * * * /vmfs/volumes/datastore1/xsi-dir/xsibackup --backup-point=/vmfs/volumes/datastore2/backup/esx01 --backup-type=running --date-dir=yes --backup-room=1000 # Added by XSIBackup

#36 Re: General matters » not running cron jobs » 2020-06-03 09:45:24

so is this the correct  one to use on the cron?

00 02 * * 0-6/2 /vmfs/volumes/datastore11/xsi-dir/xsibackup --backup-point=/vmfs/volumes/datastore2/backup/esx02 --backup-type=running --date-dir=yes --backup-room=1000

basically every other day at 2am

ps - i would change your youtube video in how to make a cron then as this says use the time options

[url=https://www.youtube.com/watch?v=hv2JPdVjglA]Youtube video[/url]

#37 Re: General matters » not running cron jobs » 2020-06-02 23:08:33

do i need to restart the host, is that why is hasnt picked up the new cron job?

EDIT - think i found the solution

/bin/kill $(cat /var/run/crond.pid)

/var/spool/cron/crontabs/root/bin/busybox crond

or is it this

/usr/lib/vmware/busybox/bin/busybox crond

#38 Re: General matters » errors detected after backups finished- where logs saved » 2020-06-02 22:53:46

where can i see the STDOUT log, sorry for the stupid question

#39 Re: General matters » not running cron jobs » 2020-06-02 22:47:25

mmm... doesnt seem to work, i have left it a few days and i cant see a new date folder in my "/vmfs/volumes/datastore2/backup/esx02"

but its added it to the  "/var/spool/cron/crontabs/root"

/vmfs/volumes/datastore11/xsi-dir/xsibackup --time="Mon 02:00|Wed 02:00|Fri 02:00|Sun 02:00" --backup-point=/vmfs/volumes/datastore2/backup/esx02 --backup-type=running --date-dir=yes --backup-room=1000 # Added by XSIBackup

if i run it manually tho without the time option it works fine

rob

#40 Re: General matters » not running cron jobs » 2020-05-26 23:51:16

what an idiot

solved it

/vmfs/volumes/datastore1/xsi-dir/xsibackup --update-cron

#41 General matters » not running cron jobs » 2020-05-26 23:32:21

Robertkwild
Replies: 12

hi all,

so i have made a cronjob for xsi backup free but it doesnt work

i have tried it manually and it works fine

vi /vmfs/volumes/datastore11/xsi-dir/conf/root-crontab

/vmfs/volumes/datastore11/xsi-dir/xsibackup --time="Mon 02:00|Wed 02:00|Fri 02:00|Sun 02:00" --backup-point=/vmfs/volumes/datastore2/backup/esx02 --backup-type=running --date-dir=yes --backup-room=1000

obviously running it manually i cut out the time options

does anyone know why its not working, can i edit the actual crontab in the actual host, thats another option?

thanks,
rob

#42 General matters » errors detected after backups finished- where logs saved » 2020-05-25 13:30:31

Robertkwild
Replies: 4

hi all,

so its finished the backup job for all my running vms and its saved all of them in my backup point location but i dont know where the error logs saved

are they here

vi /vmfs/volumes/datastore11/xsi-dir/var/logs/xsibackup.log

if so theres nothing in there?

thanks,
rob

Board footer