xfiletool.lst - question


Forum: User Feedback
Topic: xfiletool.lst - question
started by: reidar

Posted by reidar on June 23 2005,09:01
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

Posted by hawki on June 23 2005,12:27
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

Posted by ke4nt1 on June 23 2005,15:43
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

Posted by reidar on June 24 2005,08:17
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

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