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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Job Xsibackup does not start » 2019-03-20 22:29:41

I went with another backup application but here is an article that help me making the cron work : Job scheduling in (c)ESXi the trick is to have the rc.local.d have output the proper line in the cron file instead of having to modify it yourself. Do not edit the cron file by hand it seems that vmware does not like it and won't run your script. Have the local.sh in the rc.local.d echo your cron schedule in the root cron file and it will most likely work. You will need to reboot the server in order for that to happen. Just modify the local.sh file run auto-backup.sh and reboot. Mine is now working.

#2 Re: General matters » Job Xsibackup does not start » 2019-03-06 21:01:24

I had and still have the same issue as you. Unfortunately I'm still unable to identify the problem. Cron works but I cannot fire the job.

#3 Re: General matters » Cron problem » 2019-01-31 11:35:58

Well still not working. I have put back the cron root file to 0600. I see in the syslog file that the cron tries to execute the file :

2019-01-27T02:00:01Z crond[2107001]: crond: USER root pid 2111886 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001
2019-01-28T02:00:01Z crond[2107001]: crond: USER root pid 2141814 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001
2019-01-29T02:00:01Z crond[2107001]: crond: USER root pid 2149877 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001
2019-01-30T02:00:01Z crond[2107001]: crond: USER root pid 2158002 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001
2019-01-31T02:00:01Z crond[2107001]: crond: USER root pid 2166096 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001

But the xsibackup file in the xsi-dir/var/logs is empty.

#4 Re: General matters » Cron problem » 2019-01-30 19:30:51

This is interesting. I will check this tonight. I know that after running the cron installer it goes at 0700 if I check the flag. I'll try putting it back to 0600 and even it's default value.

#5 Re: General matters » Cron problem » 2019-01-29 22:58:52

Well upgrading did not work.

Here is my version : 6.7.0 Update 1 (Build 11675023)

Anything else you guys need to help ?

#6 Re: General matters » Cron problem » 2019-01-25 23:41:07

I just have updated my vmware environment to the latest version. I'll try to see if I can reproduce this in the lastest version.

#7 Re: General matters » Cron problem » 2019-01-24 21:56:06

I have the same error has paulee. I can replicate it as well. I have a virgin root file in my folder. If I restore it instead of the modified cron I can execute it. If I edit it with vi after saving I cannot run it anymore. Goes the same if I use xsibackup --install-cron. I can assure you i'm not using any kind of editor other than vi in the shell of vmware esxi itself.

#8 Re: General matters » Cron problem » 2019-01-23 22:08:33

xsibackup.log is generated but always empty.
There is no xsi process piling up.
wouldn't setting the root file to 0600 with chmod remove it's execute flag ?

all I see in the syslog is this line about xsi :
2019-01-22T02:00:01Z crond[2818719]: crond: USER root pid 2829706 cmd /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001

if I do # /vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001 nothing happens.
if I do ./vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs/001 i get a not found error.

really odd. If I go directly in the folder do ./001 the job runs.

[root@Vmware:/vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs] ls -lha
total 256
drwx------    1 root     root       72.0K Dec  1 20:06 .
drwxr-xr-x    1 root     root       76.0K Jan 23 18:10 ..
-rwx------    1 root     root         329 Jan 23 18:08 001
[root@Vmware:/vmfs/volumes/5c0191f0-e8540066-c097-a0369f850e04/xsi-dir/jobs]

#9 Re: General matters » Cron problem » 2019-01-21 22:17:07

I have tried the troubleshooting guide. In my case it seems that the root executable cron file does not get executed event if I crond is working and has a pid.

Edit : strike that after editing the root file I had to restart the crond. Now it generates the minutes txt file.

Edit 2: The cron still doesn't want to execute my 001 job as well. I have tested it and it works outside of the cron. The jobs goes all the way to the end.

#10 Re: General matters » Cron problem » 2019-01-19 14:47:41

I'm having the same issue with the latest XSI backup free and VMWare ESXI 6.7. Can't get the backup to run with the cron.

Board footer