Site Tools


backups

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
backups [2013/02/03 14:18] – [How to backup your AC100] pslbackups [2013/02/03 15:14] (current) – [How to backup your AC100] psl
Line 37: Line 37:
 dd if=part02.img of=ac100.bct bs=4080 count=1 dd if=part02.img of=ac100.bct bs=4080 count=1
 </code> You will need this later in case you need to do a full restore of your AC100. </code> You will need this later in case you need to do a full restore of your AC100.
-  - Optional: tar and gzip the image files, **deleting the original image files**<code>$ for i in $(seq 2 14); do tar cfvz part$i.tar.gz part$i.img; rm part$i.img; done</code>+  - Optional: tar and gzip the image files, **deleting the original image files**<code>$ for i in $(seq -w 2 14); do tar cfvz part$i.tar.gz part$i.img; rm part$i.img; done</code>
   - Create the cfg file. This file is derived from the partitiontable.txt file. You can download this little script http://share.grandou.net/ac100/linux-on-ac100/parttable_to_cfg to do the conversion automatically: <code>   - Create the cfg file. This file is derived from the partitiontable.txt file. You can download this little script http://share.grandou.net/ac100/linux-on-ac100/parttable_to_cfg to do the conversion automatically: <code>
 $ dos2unix partitiontable.txt $ dos2unix partitiontable.txt
backups.txt · Last modified: 2013/02/03 15:14 by psl