You are not logged in.
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
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
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?
thanks administrator,
when you say look at the source code, is the source code in the .vmx file?
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
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
it worked!!!!!!!!!!!
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
i understand you Administrator, thanks, will let you know if it works ![]()
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
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]
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
where can i see the STDOUT log, sorry for the stupid question
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
what an idiot
solved it
/vmfs/volumes/datastore1/xsi-dir/xsibackup --update-cron
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
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