You are not logged in.
Pages: 1
Hello all:
Cross-posting from the SourceForge forums and I apologize for that. Please disregard the duplicate. As far as my issue goes -- I am receiving multiple entries in my 'xsibackup-cron.log' containing entries similar to:
/vmfs/volumes/datastore1/xsi-dir/xsibackup-cron: line 5: Thu: not found
/vmfs/volumes/datastore1/xsi-dir/xsibackup-cron: line 5: Fri: not found
/vmfs/volumes/datastore1/xsi-dir/xsibackup-cron: line 5: Tue: not found
/vmfs/volumes/datastore1/xsi-dir/xsibackup-cron: line 5: Wed: not found
... is this expected behavior? My 'xsibackup-cron.log' contains the following entries:
####### This actually deletes backups older than 2 weeks
find /vmfs/volumes/afccbe1c-eb281aaa/backup/* -maxdepth 2 -type d -mtime +15 -exec rm -rf {} \;
######## The schedules to do the backups of the VM’s
/vmfs/volumes/datastore1/xsi-dir/xsibackup --time=”Mon 10:30|Tue 10:30|Wed 10:30|Thu 10:30|Fri 10:30|Sat 10:30|Sun 10:30″ --backup-how=cold --backup-type=all --date-dir=yes --backup-room=1024 --backup-point="/vmfs/volumes/afccbe1c-eb281aaa/backup"
Any insight would be well appreciated.
Thanks in advance,
jpw
Offline
That's some sort of syntax error in the [b]xsibackup-cron[/b] file.
Don't add this
find /vmfs/volumes/afccbe1c-eb281aaa/backup/* -maxdepth 2 -type d -mtime +15 -exec rm -rf {} \;
to the cron file, it will be triggered every minute.
Use the ESXi crontab instead at: [b]/var/spool/cron/crontabs/root[/b], and program it there.
Have you cut & pasted texts into the [b]xsibackup-cron[/b] file?, maybe some character is not what you think it is.
Offline
Interesting. Those are some good things to look at. I'll go ahead and add that snippet to the ESXi crontab.
There was indeed a cut/paste with the 'find' command to prune the backup repository. I'll see if I have any gremlins that I need to zap within the file itself.
Thanks for the feedback. I'll go fiddle and report back!
Offline
After removing the 'find' command and placing it in the ESXi crontab, coupled with what appears to be a non-ASCII character from a quotation mark, my 'xsibackup-cron.log' file is now empty after a reboot:
-rw-r--r-- 1 root root 0 Dec 1 21:36 xsibackup-cron.log
I am assuming that means I am no longer throwing any more errors? I'll keep an eye on it for the next few days.
Thanks for the assistance!
Offline
Pages: 1