You are not logged in.
Pages: 1
Hi,
Just tried it and all seesm to work as I expected just created a new job 002 and that added a new line for that to the root-crontab file.
So all good.
Hi Probably a silly quations but I want to run backups to two locations so I want to backup every night to a local location and once a week to a remote location. Do I just create another job and then add it to the root-crontab to do this?
Sorry I just did the obvious thing and checked the log it's my first lien in my job file it reads:
"/volumes/datastore1/xsi-dir/xsibackup"
should be:
"/vmfs/volumes/datastore1/xsi-dir/xsibackup"
I looked at it a thousand times but only just noticed that when I saw the path wasn't found in the log.
Thanks you for your help and apologies for missing the obvious I think the thing that was throwing me was that I could execute the job by using xsibackup --run-backup=001
In nay case thanks for a great piece of software and have a great xmas!
Hi,
No problem it wasn't an issue as such just wondered if it might be what was causing my problem.
Any ideas?
My root-crontab looks like this:
25 12 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/001" > /dev/null 2>
I can't execute 001 locally from bash but not sure if I should be able to or not?
I should mention that I used the installer to install my xsibackup and although everything installed and tested oK a job directory was not automatically created so I created one myself using mkdir. IS it possible it's the permissions of this folder that are cuasing the issue?
Hi, Sorry for the delayed update been on other things for a while. I got my other cron task (echo) running so I know cron is running OK.
should I be able to run my xsibackup job manually so if i enter "/vmfs/volumes/datastore1/jobs/001"
in a root command prompt should it run?
(because it doesn't on my install) i tried chmod =x on the 001 file itself but didn't seem to make any difference
I've sucessfully added extra line to crontab and it is running ok, so does that mean it's the syntax of my job even though it runs ok locally?
Hi Sorry to hijack this thread but I'm also having problems with the new cron method I've created a job and can run it successfully using ./xsibackup --run-backup=001
but it never runs from cron I've run update-cron rebooted the host etc but still not running any ideas.
I've checked if cron is running by doing:
ps -c | grep -v grep | grep 'busybox crond'
I can see my line in crontab so I'm not sure where the issue is.
I'm unable to add a line to the crontab to test directly as vi says the file is read only even when cron is stopped
I've set permissions on xsi-dir to 755
Any recommendations as to where to go next?
my job looks like this:
"/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/BACKUP-STORE \
--backup-type=all \
--date-dir=yes \
--backup-room=1000 \
-–mail-from=backuphost01@internalmail.co.uk \
--mail-to=sysadmin@internalmail.co.uk \
--backup-id=001 \
--description"BACKUP-HOST01 Vm backup" \
--smtp-srv=mailserver.com \
--smtp-port=465 \
--smtp-usr=emailaddr@gmail.com \
--smtp-pwd=password \
--smtp-auth=yes \
--smtp-sec=TLS \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log" 2>&1
Pages: 1