Easy backup?


Forum: DSL Ideas and Suggestions
Topic: Easy backup?
started by: Patrick

Posted by Patrick on Sep. 15 2005,13:03
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 ?????

Posted by clivesay on Sep. 15 2005,13:35
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

Posted by Patrick on Sep. 15 2005,13:43
sudo bzip2 -1c < /dev/sda1 > /mnt/hdb5/image.img.bz

Got it...

THNX

Posted by mikshaw on Sep. 16 2005,01:36
could also tar and bzip:
tar -cvjf /mnt/hdb5/image.tar.bz2 /cdrom/

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