[SoaS] add dd command use to backup a USB stick to .img file in floss manual section on backing up
Thomas C Gilliard
satellit at bendbroadband.com
Wed Feb 3 08:17:26 EST 2010
David;
Here is a Backup Method that works for USB/SD sticks:
(can you add this to Floss Manual as a backup method)
do this outside of sugar:
------------------------------------------------------
How to backup an installed live USB via a .img file
dd if=/dev/sdg of=xxxxxx.img
NOTE IN ROOT (#)
# dd if=/dev/sdg of=xxxxxx.img *
7856127+0 records in
7856127+0 records out
4022337024 bytes (4.0 GB) copied, 180.628 s, 22.3 MB/s
(4GB USB imaged)
to write .img file to USB:
dd if=xxxxxx.img of=/dev/sdg bs=4M
p# dd if=xxxxxx.img of=/dev/sdg bs=4M *
958+1 records in
958+1 records out
4022337024 bytes (4.0 GB) copied, 399.829 s, 10.1 MB/s
* be sure this is your USB: (/dev/sdg)!
bs=4M speeds up writes to USB
(Block size writes match USB File structure per cyberorg on #sugar on IRC)
-------------------------------------------------
This works,
.img file can be stored on CD or burned to 2nd USB and stored off site.
Great fast backup
Tom Gilliard
satellit
More information about the SoaS
mailing list