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
 

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

reply to topic new topic new poll
Topic: filetool.lst< Next Oldest | Next Newest >
charleswong Offline





Group: Members
Posts: 26
Joined: May 2004
Posted: May 24 2004,09:59 QUOTE

What is filetool.lst used for?
Back to top
Profile PM 
pvb Offline





Group: Members
Posts: 4
Joined: May 2004
Posted: May 27 2004,07:35 QUOTE

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.
Back to top
Profile PM 
charleswong Offline





Group: Members
Posts: 26
Joined: May 2004
Posted: May 27 2004,08:04 QUOTE

Hi,

Oh! I see. It really helps because I know more now.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: May 27 2004,14:33 QUOTE

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
Back to top
Profile PM 
TuxTrax Offline





Group: Members
Posts: 2
Joined: May 2004
Posted: May 28 2004,11:25 QUOTE

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)
Back to top
Profile PM 
4 replies since May 24 2004,09:59 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: filetool.lst

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