Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Read-Only Harddrive?, Can't read/write hda1< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 18 2006,21:04 QUOTE

I don't think you can do that with backup/restore.  I believe a backup needs a specific name (backup.tar.gz) and needs to be placed in the root of a partition. You can, however, rename a backup and put it in a subdirectory on the pendrive for profile-specific loading (mydsl=sda1/work).  The problem with doing this is that mydsl packages are not dynamic like backups are...you would be loading the same files each time you boot.

As with everything else in Linux, there is at least one work-around, if you have the desire to tweak your shutdown script a few times.  If you added a piece of code to the end of it (after the part where the backup is run) which moves and renames your backup to the appropriate location, you could have your backups being dynamically converted to mydsl extensions so they can be up to date and restored from a specific location.  In order for this to work you would need to create a unique shutdown.sh (i think that's the name of the script...i'm not certain at the moment) for each profile. This means you'll initially need to edit the script, run the script, edit the script for the next profile, run it, etc., until you have a unique backup for each desired backup.  You will also need to make sure that the shutdown script is included in .filetool.lst. If done correctly, the backup/restore will be sent to and retreived from subdirectories after that.

Another option is to create additional partitions on your pendrive, one for each backup.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
5 replies since April 18 2006,15:29 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Read-Only Harddrive?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code