From: Bob Hauck <bob@this-is.invalid> Subject: Re: restoring system from tape References: <h3_D9.50569$Ik.1342718@typhoon.sonic.net> Date: Sun, 24 Nov 2002 17:09:20 GMT On Sun, 24 Nov 2002 06:10:21 GMT, Bob Holtzman <holtzm@hosed.sonic.net> wrote: > I would like to backup the entire system (minus /, /proc and /root) > to tape using tar. It has been my understanding that if a reinstall > from CD is necessary, extracting the archive while in the root > directory would overwrite the existing directories and files and > restore the system to the latest updated configuration.
If you truly have _everything_ on tape (including /root and /dev if you don't use /devfs), then all you need to do is boot from a rescue floppy, fdisk, mkfs, mount the disk, and restore. Then re-run lilo with the -r option and you are back in business. This does work. Obviously you need to make sure your rescue floppy has the right drivers for your tape and disk devices, and the appropriate archive program <g>. On the other hand, it is often quicker to install from CD than to read a big tape. In that case, just back up /etc, /usr/local, and /home plus any custom directory trees you create. If disaster strikes, reinstall from CD and then restore those directories. The one gotcha is making sure you have re-installed the same set of software that you started with. With Debian you can do this by: dpkg --get-selections > backup-selections dpkg --set-selections < backup-selections apt-get dselect-upgrade With RPM-based distros you should be able to get a list of installed RPM's and do something similar. Or keep notes. > Lately I've seen a couple of posts alluding to the fact that this isn't > as simple as I think, but no details were given. Restoring the whole system from tape isn't hard. You just need to make sure you have in fact backed up the the whole system minus things like /proc and /devfs that are automagically generated.
-- -| Bob Hauck -| To Whom You Are Speaking -| http://www.haucks.org/
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar