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: xfiletool.lst - question< Next Oldest | Next Newest >
reidar Offline





Group: Members
Posts: 92
Joined: Sep. 2004
Posted: June 23 2005,09:01 QUOTE

I have a question concerning the new xfiletool.lst. As far as I understand, the idea is now that you can list /home/dsl in your filetool.lst (which would result in the entire /home/dsl directory being backed up), and then you put the files/folders that you don't want to back up in the xfiletool.lst. This is a great idea, I think, but I am having problems getting it to work right. This is my case:

I have made a frugal install of DSL 1.2.1 on my new laptop. /home and /opt resides on hda4. In the /home/dsl directory I have created a Documents/ directory, which contains lots of documents. Since /home resides on the harddisk, I don't want to back up the entire /home/dsl. For instance, I do not want Documents/ folder to be backed up (since it resides on the hard disk anyway), so I added the following line to my xfiletool.lst:

Documents/

It seemed to me that you would not have to put /home/dsl in front of it. This did not work as I wanted it to, and Documents/ was still backed up, creating a rather large backup.tar.gz. I tried putting /home/dsl/Documents/ in the xfiletool.lst, same result. All of /home/dsl was backed up. In the end I decided to put all the files I wanted to back up in the filetool.lst (like in earlier versions), and omit putting /home/dsl in the filetool.lst. This worked out like I wanted it to, but I wasn't quite satisfied anyway. I think the idea of using a xfiletool.lst is good, and I want to use it. But I don't get it right... Anybody got ideas on what I'm doing wrong/what I could do to make it right?

-r
Back to top
Profile PM 
hawki Offline





Group: Members
Posts: 175
Joined: Jan. 2004
Posted: June 23 2005,12:27 QUOTE

Hi
I think you have the right idea.  Try either /Documents or /home/dsl/Documents or just Documents   .  I think the trailing / is causing you the problem.
good luck
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 23 2005,15:43 QUOTE

Actually, if I understand correctly, it is the 'leading' slash that
may be giving you troubles...

Try ' home/dsl/Documents '  
without using any leading or trailing slashes.

Remember, since this is a persistant install,
the files will ALWAYS be in your /home/dsl directory..

This is just a way to keep them out of your backup.tar.gz ,
and keep it's filesize down..

73
ke4nt
Back to top
Profile PM 
reidar Offline





Group: Members
Posts: 92
Joined: Sep. 2004
Posted: June 24 2005,08:17 QUOTE

I used trailing slashes in all my attempts I think. That might be the problem. My reason for doing this was of course, as you pointed out ke4nt, that the files are in my /home/dsl anyway (being a persistent install), so I don't want the backup.tar.gz to be too big.

Thanks for your feedback!

-r
Back to top
Profile PM 
3 replies since June 23 2005,09:01 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: xfiletool.lst - question

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