mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Dec. 20 2004,15:19 |
|
I just discovered the norestore option by accident. I've been messing around with backups on hda4 while designing my next custom CD, and today I ran into a snag. While trying out v0.9.1 i booted up with no boot option, assuming that I would get a fresh and clean default system. Nope....X failed to load. After messing around with different settings for 20 minutes, I looked into .xinitrc to discover it's the same one stored on my backup drive? How in the -- ?? Okay, that's cool...must be some autosearch for a backup partition. But why did it only copy .xinitrc? So I looked in /mnt/hda4/backup.tar.gz and found only a fraction of the files which were in it last night when I booted with mydsl=hda4.
Anyway....let's try keeping this short, shall we.... What it comes down to is that when you use the mydsl boot option, apparently 'backup' comes along for the ride. I didn't expect this...I assumed that any backup would be manual, so each time you boot with mydsl=hda4 you'd be using the same backup.tar.gz (unless you intentionally change it). This isn't a huge problem now that I know what to expect, but it makes me think the process could be improved.
What I'm thinking is the creation of filetool.lst could be changed a little. Ideally, rather than being simply copied from a template file, it could be created at boot time from the contents of backup.tar.gz. I'm not sure if this is a difficult task, but I think it would prevent unexpectedly overwriting and losing your original archive. If this is not an easy task, perhaps make the initial filetool.lst an EMPTY file. If a person needs to manually edit the file in order to do any significant backup, I don't see why there needs to be anything in it to begin with....I thought I understood the backup process better than I did, and ended up wasting a good part of my coffee-drinking time.
So...just some thoughts there. In summary: If you have a backup partition... 1) and want to boot without it, make sure you use the 'norestore' boot option (thanks ke4nt for schooling me on that). 2) be sure to check filetool.lst before reboot/shutdown...either delete it or make sure all appropriate files are included.
Thank you for your time, and have a pleasant winter.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|