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: Easy backup?, like Ghost?< Next Oldest | Next Newest >
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Sep. 15 2005,13:03 QUOTE

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 ?????


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 15 2005,13:35 QUOTE

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
Back to top
Profile PM MSN YIM 
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Sep. 15 2005,13:43 QUOTE

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

Got it...

THNX


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 16 2005,01:36 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
3 replies since Sep. 15 2005,13:03 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Easy 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