Menu

Permission Denied

Sven R.
2015-06-01
2015-06-01
  • Sven R.

    Sven R. - 2015-06-01

    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

     
  • 33HOPS

    33HOPS - 2015-06-01

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB