For safekeeping
backup.conf file for my h-sphere backup script
# CP
dir:/hsphere/local/home/cpanel/shiva/psoft_config/:conf/cp-psoft.config.tar
dir:/hsphere/shared/SiteStudio/psoft_config/:conf/cp-psoft.ss.config.tar
dir:/hsphere/local/home/cpanel/apache/etc/:conf/cp-hs.apapche.conf.tar
dir:/hsphere/local/home/cpanel/shiva/shiva-templates/IMAGES:conf/cp-templ.img.tar
dir:/hsphere/local/home/cpanel/shiva/custom:conf/cp-custom.tar
dir:/hsphere/shared/SiteStudio/var/websites:conf/cp-websites.tar
dir:/var/lib/pgsql:conf/cp-pgsql.tar
dir:/hsphere/local/home/cpanel/.kb/:conf/cp-kb.tar
dir:/hsphere/local/home/cpanel/.attachments/:conf/cp-attach.tar#WEB
dir:/hsphere/local/home/:conf/web-home.tar
dir:/usr/local/frontpage:conf/web-frontpage.tar
dir:/hsphere/local/config/:conf/web-local.config.tar
dir:/var/spool/cron/:conf/web-cron.tar
file:/hsphere/shared/apache/htdocs/phpMyAdmin/config.inc.php:conf/
file:/hsphere/shared/apache/htdocs/phpPgAdmin/conf/config.inc.php:conf/
dir:/hsphere/local/network/:conf/web-network.tar
dir:/hsphere/shared/awstats/wwwroot/cgi-bin/:conf/web-awstats.tar
dir:/hsphere/local/var/vpopmail/etc/:conf/mail-vpop.etc.tar
dir:/hsphere/local/var/vpopmail/domains/:conf/mail-vpop.domains.tar
dir:/var/qmail/control/:conf/mail-qmail.controls.tar
dir:/var/qmail/users/:conf/mail-qmail.users.tar
dir:/hsphere/local/config/:conf/mail-local.config.tar
dir:/var/lib/mysql/:conf/mail-mysql.tar
file:/hsphere/shared/apache/htdocs/horde/config/horde.php:conf/#DNS
file:/etc/named.conf/:conf/
dir:/hsphere/local/var/named/:conf/dns-named.tar#MYSQL
dir:/var/lib/mysql/:conf/mysql-mysql.tar#PGSQL
dir:/var/lib/pgsql/:conf/pgsql-pgsql.tar
I remember having a similar backup script for my /home directory. Came in handy to restore the Evolution Inbox. Most of the other stuff broke though with a distro upgrade so the restore wasnt exactly elegant, as in a quick restore.