Here is my very little piece of code that I use on my Debian GNU/Linux machine to backup the entire system on a Rewritable DVD.
It is manily used as a cron Job.
It logs operations in /var/log/backup.log
Remember that it cannot be run as sudo. It must be run directly as root.
backup-dvd [-d] [-t] [-h] [-v]
-d = Debug mode, runs verbosely
-t = Test mode (backup /usr/lib for testing, do not delete logs)
-k = Keep temporary archive
-h = Show this help and exits
-v = show version and exits
Download it manually, and install it directly running:
sudo dpkg -i backup-dvd_1.0.0-19_all.deb
ANY COMMENT WILL BE GREATLY APPRECIATED !!!