Thanks for the work you have put into the script.
I've downloaded the latest version offered by your site and tried it out.
I also needed to install mailutils and struggled with that for a few. I didn't want to install the exim packages that apt-get suggested when trying to install the mailutils package. To get through this I came across
this forum post which worked perfectly.
I was happy to see the link your script provided when it failed to detect dar support, since dar was new to me.
I also thought that dar was hanging, getting hung up on dar file creation. However, that was just my machine. It took ~5min for the dar process alone to finish. So if anyone else is on older hardware have some patience
FWIW It's running on an athlon xp 1.8ghz with 1gig ram.
I may wind up using a variant of your script for the rsyncing and process stopping/starting. The dar archives aren't really needed for my setup. I have a tape backup on the network which just pulls data from the /backups slice. So the rsync'd dir works like a champ for me.
I'm pretty much the only user on my server for a small home-office installation. My uncompressed install is only ~2gig.
If you find others that are in the same situation maybe a -nodar flag or something would be useful.
Almost forgot, running Ubuntu 6.06 .
Edit: BTW, I needed to touch create the log file to get the script to start. After a successful backup I checked the log to find it empty.
I also just tried a dar -t on the created archive and got the following
Code:
root@zimbra:/opt/share/bin/backups/dar# dar -t 09_Zimbra_Backup_03-March-2008_FULL.1.dar
Warning, 09_Zimbra_Backup_03-March-2008_FULL.1.dar seems more to be a slice name than a base name. Do you want to replace it by 09_Zimbra_Backup_03-March-2008_FULL ? [return = OK | esc = cancel]
Escaping...
OK, keeping 09_Zimbra_Backup_03-March-2008_FULL.1.dar as basename
./09_Zimbra_Backup_03-March-2008_FULL.1.dar.1.dar is required for further operation, please provide the file. [return = OK | esc = cancel]
Also, the TOO_MEDIA_DIR was empty after the backup was finished.