At the moment i make a apprenticeship to information technology specialists
And I use this Script for my Final Exam Project.
I have a problem with the cronjob for xsibackup......
I Follow the README to create a crontab. Everything works fine.
I also checked this "vi /etc/rc.local.d/local.sh"
and this "/usr/lib/vmware/busybox/bin/busybox cron"
Everything its okay.
Now the Cronjob starts at the time i set but the output in the log file ist this:
/vmfs/volumes/raid5-local/xsibackup-cron: line 8: /vmfs/volumes/raid5-local/: Permission denied
Short overview of my Situation to understand the Problem:
ESXi #1 with 4 VM´s (xsibackup,xsibackup-cron,xsibackup-cron.log, xsibackup-rsync) located in:
/vmfs/volumes/raid5-local(its only the name of datastore nothing else)/
ESXi #2 Backups of the 4 VM´s located in:
/vmfs/volumes/datastore1/backup
The backup Prozess works fine D and F but only the cron make some problems..... Please help me.
Until 2 Weeks to my Exam.......
Cheerio Sven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
At the moment i make a apprenticeship to information technology specialists
And I use this Script for my Final Exam Project.
I have a problem with the cronjob for xsibackup......
I Follow the README to create a crontab. Everything works fine.
I also checked this "vi /etc/rc.local.d/local.sh"
and this "/usr/lib/vmware/busybox/bin/busybox cron"
Everything its okay.
my syntax in "xsibackup-cron"
/vmfs/volumes/raid5-local/ xsibackup --time="Mon 15:09" --backup-point=/vmfs/volumes/datastore1/backup --backup-type=running --mail-from=xxx --mail-to=xxx --smtp-srv=xxx --smtp-port=xx --smtp-auth=none
Now the Cronjob starts at the time i set but the output in the log file ist this:
/vmfs/volumes/raid5-local/xsibackup-cron: line 8: /vmfs/volumes/raid5-local/: Permission denied
Short overview of my Situation to understand the Problem:
ESXi #1 with 4 VM´s (xsibackup,xsibackup-cron,xsibackup-cron.log, xsibackup-rsync) located in:
/vmfs/volumes/raid5-local(its only the name of datastore nothing else)/
ESXi #2 Backups of the 4 VM´s located in:
/vmfs/volumes/datastore1/backup
The backup Prozess works fine D and F but only the cron make some problems..... Please help me.
Until 2 Weeks to my Exam.......
Cheerio Sven
Sven, this is not an Student's site. You should have a set of base skills to manage XSIBackup.
Have you noticed you have a space in between "/vmfs/volumes/raid5-local/" and "xsibackup"?, that should not be there.