filetool.lst


Forum: User Feedback
Topic: filetool.lst
started by: charleswong

Posted by charleswong on May 24 2004,09:59
What is filetool.lst used for?
Posted by pvb on May 27 2004,07:35
I am fairly new to this stuff, but I'll give it a go.

That file(~damnsmall/filetool.lst) is a list of files and directories to be backed up via the "System -> File Restoration -> Backup" command. (/usr/sbin/filetool.sh)
The filetool script does something along these lines:
Code Sample
sudo su -
cd /
export BACKUP_DEVICE="/dev/hda1"
cp ~damnsmall/filetool.lst $BACKUP_DEVICE
tar -cvzf $BACKUP_DEVICE/backup.tar.gz -T ~damnsmall/filetool.lst

It does more, but you get the idea.

You can restore that backup file on boot by adding restore=/dev/hda1 to your boot arguments.
I think you can restore it to a live system too, but I haven't tried that yet. I am still trying to figure this stuff out.

Hope this helped a little.
pvb.

Posted by charleswong on May 27 2004,08:04
Hi,

Oh! I see. It really helps because I know more now.

Posted by ke4nt1 on May 27 2004,14:33
What I had trouble with at first, because I didn't READ the docs is.
The filetool.lst file that counts is the one on your BACKUP device.

I kept trying to edit the filetool.lst on the ~/damnsmall, but the one where you keep the backup.tar.gz was the one that worked for me!

73
ke4nt

Posted by TuxTrax on May 28 2004,11:25
filetool.lst defaults to a USB "jump" drive (memory stick type "drive") and if none is present, saves to the floppy drive (fd0) unless you specify another backup device in "dsl panel".

A common mistake, one that I made initially, was the one where I change the file on the ramdrive. Doh!

You backup to disk once, then change it on disk. One really handy thing that filetool.lst can be used for is making application settings such as bookmarks and data files, permanent.

for instance, emelFM can have it's settings saved by including the following line in filetool.lst:

/home/damnsmall/.emelfm

Likewise, dillo:

/home/damnsmall/.dillo

One snag I came up against: sylpheed won't write email to ramdisk unless the /home/damnsmall/Mail directory already exists with the *proper* files in it. Create all of your emal accounts and settings *then* back up the following directories:

/home/damnsmall/Mail
/home/damnsmall/.sylpheed

Even so, sylpheed can be a bit finicky about what it likes and dosen't in the restore process.

Regards,

Mathew
(kd6msi)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.