Nick Triantafillou wrote: > Hi all, > > Would the basic procedure of restoring a Linux machine be to re-install > the base system, get backuppc working (ssh keys etc) then restore the > folders one at a time (or somesuch) to the client machine? > > Or is some kind of re-imaging/netbootable restore method possible to > avoid that initial step so we're not overwriting every single file we > just installed when trying to fix the broken system? > In theory, you could do this: - take backups from / on the not-yet-dead server, except /dev /proc /sys /tmp, with rsync - start the reanimated server with a live cd, set up rsyncd with 1 module: / (which points to your /dev/sdXY) - restore the server from BackupPC. This should work, but will limit you to a detail level as high as your backup: - backing up /etc, /usr and /var separately from the original server, allows you to restore them separately to eg other locations (or other partitions). But you are not restricted to it (so you can restore it all to 1 partition).
But my recommendation on full restoration is this: - take backups of /etc and /var/lib (or entire /var) - reinstall your reanimated server with the same distro and version - restore /etc and /var/lib AFTER installing all the needed software on your server (like apache2 and mysql) This is my method. Not yet needed, but as I have some experience in embedded Linux systems, I know what you need to get a system up and running ;-) More tips welcome, as usual. Regards, -- Toni Van Remortel Linux System Engineer @ Precision Operations NV +32 3 452 92 26 - [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
