View Single Post
  #5  
Old 4th March 2009, 16:33
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

OK, thanks for the help. I'm just trying to prepare for a disaster, in which case I would either restore my server with a new installation or order a new server and install there, which I think will be easier than trying to restore my old installation.

So I've got these series of commands which I execute in a single file for backing up:

cp /etc/passwd /disk2/backup1/ispconfigfiles
cp /etc/shadow /disk2/backup1/ispconfigfiles
cp /etc/group /disk2/backup1/ispconfigfiles
cp /etc/apache2/vhosts/Vhosts_ispconfig.conf /disk2/backup1/ispconfigfiles
cp /etc/postfix/local-host-names /disk2/backup1/ispconfigfiles
cp /etc/postfix/virtusertable /disk2/backup1/ispconfigfiles
cp /var/lib/named/etc/bind/named.conf /disk2/backup1/ispconfigfiles
cp /etc/proftpd/modules.conf /disk2/backup1/ispconfigfiles
cp /etc/proftpd/proftpd.conf /disk2/backup1/ispconfigfiles
duplicity --no-encryption /var/www file:///disk2/backup1/allsitesbackup

plus the MySQL databases (I'm using the Web Backup in ISPConfig for the 10 or so databases on my server--is there a reason I shouldn't do this?)

and all the pri.* zone files for domains that use the local dns.

Did I miss something?

Last edited by PermaNoob; 4th March 2009 at 17:12.
Reply With Quote