DSL Ideas and Suggestions :: Easy backup?



Howdy people,

I'd like to have a tool in my DSL-stick which i can use to make backup's for:

my usb-stick to Harddisk
my harddisk1 to harddisk2
my partition1 from Hardisk 1 to hardisk2
my hardisk1 to a remote harddisk

I tried to use bzip2 to do this but i can't get it to copy /cdrom to /mnt/hdb5/dslbackup (cause i am stupid :) )

(/cdrom is my usbstick=sda1)


There are 2 ways i can get this to work:

1) make/find a script
2) find a deb/dsl that can do all this

(i tried rescue.dsl but that's for remote backing up)

Any ideas?

For starters i'd like to know the right syntacs to copy my usb-stick to a directory on a Hardisk. (i booted from this stick/DSL15)

sudo bzip2 -1c < /cdrom > /mnt/hdb5/dslbackup/image.img.bz ?????

Hi, Patrick.

To image you need to specify the disk or partition. So instead of /cdrom you need /sda or /sda1 depending on whether you want to image the entire drive or just the partition. This method works well. I use it to image pendrive installs.

Chris

sudo bzip2 -1c < /dev/sda1 > /mnt/hdb5/image.img.bz

Got it...

THNX

could also tar and bzip:
tar -cvjf /mnt/hdb5/image.tar.bz2 /cdrom/


original here.