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: Really Backup< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Dec. 07 2007,10:42 QUOTE

Hi all again
i'm using a dsl-n with a lot of added libraries and other things backupped

of course, i added all this into .filetool.lst
so my .filetool.lst looks like this:

Code Sample
# cat /home/dsl/.filetool.lst
opt/ppp
opt/bootlocal.sh
opt/powerdown.sh
opt/.dslrc
opt/.mydsl_dir
home/dsl/
usr/local/share/tterm
usr/local/bin/tterm
usr/local/bin/
etc/tterm
etc/shadow
etc/sudoers
etc/ssh/
etc/X11/XF86Config-4
usr/X11R6/lib/modules/input/evtouch_drv.o
usr/X11R6/lib/modules/drivers/sisusb_drv.o
usr/X11R6/bin/XFree86
usr/X11R6/lib/X11/xserver
usr/lib/
usr/sbin/pcscd
usr/share/man/man8/pcscd.8.gz
etc/init.d/pcscd
usr/share/doc
usr/share/fluxbox/styles/
var/lib/dpkg/info
var/lib/dpkg/status
root/.ssh/authorized_keys
lib/modules/2.6.12/kernel/drivers/usb/misc/sisusbvga/
etc/sysconfig/network-scripts
etc/sysconfig/network
etc/dhcpc/config
etc/reader.conf
usr/local/pcsc/

now, the problem is: when i shutdown the system, time spent into backupping file is HUGE
same at startup

i tried to reduce this time sink removing something from filetool.lst
i thought i could stop backupping something (ie /usr/lib) 'cause libraries i need are already here and i don't need to backup them again

BUT if i remove from .filetool.lst, they suddenly desappear from my hdd and i can't use it again (luckily, i'm a "dd" maniac :D )
so, how can i remove item from time-sinking-backup/restore at startup/shutdown AND keeping it inside hard disk?

i was thinking about inserting this files (ie: libraries or similar) inside KNOPPIX image (so it's already inside default need to use and does not "restore" at startup)
but how can i do it?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 07 2007,10:59 QUOTE

With this setup, you are backing-up all the files in /usr/lib and /usr/bin - you should be able to name just the files in these two folders that are not in the base dsl-n, eg:

/usr/bin/file1
/usr/bin/file2
...
/usr/bin/filen

One other way around this could be to make an extension out of the additional files you need and load the extension at boot.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 07 2007,18:52 QUOTE

The concept behind MyDSL extensions is to separate out the static (unchanging, i.e, programs and libraries) from the user data.

By doing so you are not constantly writing to the backup. Even better is to make a uci or unc extension and then you have drastically cut down the startup (reading) time.

Learning the proper techniques yields the best performance.
Back to top
Profile PM WEB 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Dec. 13 2007,14:47 QUOTE

Quote (roberts @ Dec. 07 2007,13:52)

Quote
By doing so you are not constantly writing to the backup. Even better is to make a uci or unc extension and then you have drastically cut down the startup (reading) time.
Oh
cool
then...
how can i create an extension with all this stuff packed inside?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 13 2007,16:01 QUOTE

http://www.damnsmalllinux.org/wiki/index.php/Category:MyDSL
Back to top
Profile PM WEB 
4 replies since Dec. 07 2007,10:42 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Really Backup

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