Other Help Topics :: Really Backup



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?

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.

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.

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?

http://www.damnsmalllinux.org/wiki/index.php/Category:MyDSL
Next Page...
original here.