#1 2018-07-13 19:10:58

Arindrew
Member
Registered: 2018-06-29
Posts: 3

Cron failing to install even thought reports it installed successfully

Fresh install of XSIBackup 11.0.1 on a new host. Ran test backup job successfully, then tried to install cron and I get the following. It reports that it installed correctly, but there is no "xsibackup-cron" file created in the xsi-dir directory. ESXi version is 6.5.

###############################################################################
#
#  (c) XSIBACKUP-PRO 11.0.1 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com
#
###################################################################################

NOTICE: (c) XSIBackup kills any user launched jobs, make sure you don't overlap manual jobs
-----------------------------------------------------------------------------------------------------------------------
XSIBackup PID:            68831                             ESXi.com
-----------------------------------------------------------------------------------------------------------------------
The root user crontab has been successfully installed
-----------------------------------------------------------------------------------------------------------------------
Killed
[root@ESXi:/vmfs/volumes/5ab92c93-63fe1f90-e517-d094664b32fe/xsi-dir] ls -lah
total 2816
drwxr-xr-x    1 root     root       72.0K Jul 13 19:06 .
drwxr-xr-t    1 root     root       76.0K Jul 12 21:22 ..
-rw-r--r--    1 root     root           0 Jul 13 19:04 .ERR-dfb30482adad65e9454ad995280a27f238a60649
-rw-r--r--    1 root     root        4.5K Jul 12 21:23 EULA
-rw-r--r--    1 root     root        4.2K Jul 12 21:22 README.txt
drwx------    1 root     root       72.0K Jul 12 21:22 bin
drwxrwxrwx    1 root     root       72.0K Jul 13 17:41 conf
-rw-r--r--    1 root     root          48 Jul 13 18:19 license.key
-rw-r--r--    1 root     root          48 Jul 13 15:20 request.key
drwx------    1 root     root       72.0K Jul 12 21:22 src
drwxr-xr-x    1 root     root       72.0K Jul 12 21:22 var
-rwx------    1 root     root      144.8K Jul 12 21:22 xsibackup
-rw-------    1 root     root        1.6K Jul 12 21:22 xsibackup_id_rsa
-rw-r--r--    1 root     root         422 Jul 12 21:22 xsibackup_id_rsa.pub
[root@ESXi:/vmfs/volumes/5ab92c93-63fe1f90-e517-d094664b32fe/xsi-dir]

Offline

#2 2018-07-15 00:47:54

backamunga
Member
Registered: 2018-07-03
Posts: 6

Re: Cron failing to install even thought reports it installed successfully

I have the same experience.  I do see conf/root-crontab; those entries get copied to ESXi's crontab (/var/spool/cron/crontabs/root) but, I believe, only on boot and when updating cron jobs in the ncurses UI.

Have you tried creating jobs in the ncurses UI and seeing if they run?  Works for me.

I do appreciate the xsibackup documentation but sometimes I wonder if what I'm reading applies to the current version.  I'd encourage the author(s) to consider versioning the documentation.  I know a lot of projects use https://readthedocs.org/ but I know you guys are more than capable of doing/hosting it yourself.

Offline

#3 2018-07-16 13:25:09

admin
Administrator
Registered: 2017-04-21
Posts: 1,362

Re: Cron failing to install even thought reports it installed successfully

Arindrew, there's no xsibackup-cron file any more. Please, read this post:

https://33hops.com/xsibackup-free-11-th … anged.html

And always read the change log when updating to a new version.

https://33hops.com/xsibackup-change-log.html

XSIBackup project almost always keeps previous arguments and way of working, when some significant change is done, we publish especific posts.

backamunga, thank you for helping and also for your feedback. You are right, there's always a better way to do things, we'll study improvements as the project grows and we can dedicate more time to it.

Offline

Board footer