View Single Post
  #198 (permalink)  
Old 11-23-2009, 10:09 AM
Waffles Waffles is offline
Intermediate Member
 
Posts: 16
Default

I'm also getting the:
Parse error on command line (or included files): Invalid argument for -A option
Dar had a problem!

error. I think I know where the problem is but I'm not sure how to correct it.
I have my crontab setup to run the full backup on Saturday at 12:00am and incrementals every other day at 12:00am:

Quote:
0 0 * * 6 /bin/bash /root/scripts/zmbak_v.0.5.sh -f > /var/log/zim_backup.log 2>&1
0 0 * * 0-5 /bin/bash /root/scripts/zmbak_v.0.5.sh -d >> /var/log/zim_backup.log 2>&1
Saturday ran fine, sunday ran fine, but Monday didn't. I'm thinking it is the BACKUPWEEK variable.

Quote:
BACKUPWEEK=`date +%W` # Week prefix used for backup weekly rotation and naming
I'm thinking it is looking for the full backup filename with the wrong BACKUPWEEK in it.

I suppose we could just have the full backup run on Monday at 12:00am, but because of the network file transfer we do, I would rather have that done friday night.

any thoughts?
Reply With Quote