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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Dont run from crond job » 2018-06-28 06:27:09

Hello,
Happy to see with this morning newsletter :

" Now the XSIBackup cron system is fully integrated with the ESXi crond service, so jobs are directly executed by the
  crond daemon. You can schedule jobs with all the flexibility of a classic Linux crontab."

Thank you for your work on this smile

#2 Re: General matters » Dont run from crond job » 2017-06-23 11:27:22

I solved the issue by myself, needed to add a preparation script to cron job, and exec backup with the xsibackup-cron file.
I think this is not the normal behavior because it break common unix/linux usage of cron.
Don't get me wrong, i really like xsibackup, but this single thing look wrong to me.

#3 Re: General matters » Dont run from crond job » 2017-06-16 06:47:44

Hello,

[quote=Daniel]Or run your script directly from the ESXi crontab
[url=https://33hops.com/xsibackup-advanced-cron-alternatives-to-xsibackup-cron.html]Run directly from the (c)ESXi crontab[/url][/quote]

This is what i do.
My script runs well (i do log to a file from it), but when it comes to the xsibackup command, nothing append.

Couldn't log what happens because :
   xsibackup >> stdout.txt
give a big nothing.

#4 General matters » Dont run from crond job » 2017-06-15 07:32:00

kevin
Replies: 9

Hello,
I use ESXi 6.0 and xsibackup free 9.0.2


I start my backup from a script launched by crond.

The script run fine ( i use date > /var/log/backup.log to assure that ).

The command i run is :
/vmfs/volumes/disk/xsi-dir/xsibackup --backup-point=/vmfs/volumes/nfs/LAST --backup-type=custom --backup-vms=vm1,vm2,vm3

When i run this from shell, the command execute fine.

When the same line is executed by the script launched by crond it just dont do anything, so no backup.

Thank you for your help

Board footer