henk1955
Group: Members
Posts: 249
Joined: June 2004 |
|
Posted: Sep. 07 2004,12:56 |
|
if you do a backup, all files and directories named in the file: /home/dsl/filetool.lst will be put in the backup-file. so if you want to save i.e. firefox settings add /home/dsl/.phoenix /home/dsl/.mozilla to this file
if you look into the filetool.lst you will see the first line is: /home/dsl/filetool.lst
that means that it the file itself is backed up to.
a little problem may be if you run DSL from the stick (that is jou do not use toram) if you want to backup to /dev/sda1 you get mount errors
i solved it this way: i backup to /cdrom ( that is NOT the real cdrom, but the root of your bootdevice ) first i make /cdrom writeable ( sudo mount /cdrom -o remount,rw) then make a /opt/.backup_device file ( echo "/cdrom" >/opt/.backup_device. then do a backup (filetool.sh backup noprompt noprompt)
this can easy be automated. 1. create an S49dsl_restore.dsl ( its is a q&d patched replacement of /etc/rc5.d/S49dsl_restore, the only modyfication is
Code Sample | # Aw schucks, sorry I couldn't mount any drive that I know... BACKUP_DEVICE="/cdrom" echo "$BACKUP_DEVICE" > /opt/.backup_device return
|
)
2 add to bootlocal.sh: mount /cdrom -o remount,rw
3 uncomment in powerdown.sh : filetool.sh backup noprompt noprompt
done.
this way i can have /KNOPPIX/knoppix.img AND dsl extensions AND backup-file in the same diskpartion
maybe someone knows a better way?
-------------- You have a Q or just want to chat? Come to #damnsmalllinux on irc.freenode.net! Open 24/7
dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl) ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
|