Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Sheeva plug running ArchLinuxArm from SD card and I'd like to backup the SD card so I can restore everything in case something goes wrong.

I'd prefer to create an archive file (rootfs.tar.gz) or image file. I found some instructions but they seem specific to ubuntu. I need something that applies to this specific distro and device for easy restoration.

Any assistance will be greatly appreciated.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I'd just use dd:

$ dd if=/path/to/sdcard/device of=sdcard.img
$ gzip sdcard.img

Then to restore, do the opposite:

$ gunzip sdcard.img.gz
$ dd if=sdcard.img of=/path/to/sdcard/device
share|improve this answer
    
can I use dd if the system is currently running? - as in backup a live system? –  adaptive Jun 7 '12 at 2:12
    
You can but it wouldn't be advised. –  EEAA Jun 7 '12 at 2:17
    
got it, thanks! –  adaptive Jun 7 '12 at 2:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.