Web Hosting Talk







View Full Version : What to backup? How to move directory?


ML2008
12-02-2002, 02:21 AM
1-What files should I backup on the Raq4 for in case of emergency easy restore?

2-How to move a directory from one server to another while keeping all its permissions?


Thank you

BruceT
12-05-2002, 12:00 AM
Things you should have:

- all of /etc
- all of /home/sites
- all of /usr/local/majordomo
- all of /var

Note though that just having these dirs/files backed up doesn't mean that a "bare metal" recovery is simple. It would take a lot of time and tweaking to put all that stuff back the way it was... but those dirs have all the critical stuff you would need to try something like that.

rsync can be used to mirror files and maintain permissions. Added benefit is that it only transmits the difference in files once the initial sync is done. And you can rsync via an SSH tunnel for more security. http://rsync.samba.org for more info.