To restore all emailaccounts of a direactadmin user the following directories have to be copied back from the backup- to the production server:
/etc/virtual/domainname.com/
/var/spool/virtual/domainname.com/
/home/username/mail/
/home/username/imap/
/home/username/.spamassassin/
To copy the files back to the productionservers we use the following rsync command
rsync -avzI --numeric-ids --ignore-errors --force local/path/ user@production.server.com:/remote/path
No comments:
Post a Comment