backups
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
backups [2011/10/20 08:02] – describe the entire backup process in more detail, incl. perparation, troubleshooting, alternated partitiontables torwag | backups [2013/02/03 15:14] (current) – [How to backup your AC100] psl | ||
---|---|---|---|
Line 23: | Line 23: | ||
- Start nvflash and load the bootloader to get access to the AC100. This has to be done only once, but everytime, after you (re)enter the recovery mode. < | - Start nvflash and load the bootloader to get access to the AC100. This has to be done only once, but everytime, after you (re)enter the recovery mode. < | ||
$ nvflash --bl / | $ nvflash --bl / | ||
- | </ | + | </ |
- Download the present partition table of the internal flash-memory < | - Download the present partition table of the internal flash-memory < | ||
$ nvflash -r --getpartitiontable partitiontable.txt | $ nvflash -r --getpartitiontable partitiontable.txt | ||
Line 31: | Line 31: | ||
</ | </ | ||
- Backup the partitions according to your partition table. For the standard configuration this would be:< | - Backup the partitions according to your partition table. For the standard configuration this would be:< | ||
- | $ nvflash | + | $ for i in $(seq -w 2 14); do nvflash -r --read $i part$i.img; done |
- | $ nvflash -r --read | + | |
- | $ nvflash -r --read 4 part04.img | + | |
- | $ nvflash -r --read 5 part05.img | + | |
- | $ nvflash -r --read 6 part06.img | + | |
- | $ nvflash -r --read 7 part07.img | + | |
- | $ nvflash -r --read 8 part08.img | + | |
- | $ nvflash -r --read 9 part09.img | + | |
- | $ nvflash -r --read 10 part10.img | + | |
- | $ nvflash -r --read 11 part11.img | + | |
- | $ nvflash -r --read 12 part12.img | + | |
- | $ nvflash -r --read 13 part13.img | + | |
</ | </ | ||
- Create the BCT file from your part02 image: < | - Create the BCT file from your part02 image: < | ||
dd if=part02.img of=ac100.bct bs=4080 count=1 | dd if=part02.img of=ac100.bct bs=4080 count=1 | ||
</ | </ | ||
+ | - Optional: tar and gzip the image files, **deleting the original image files**< | ||
- Create the cfg file. This file is derived from the partitiontable.txt file. You can download this little script http:// | - Create the cfg file. This file is derived from the partitiontable.txt file. You can download this little script http:// | ||
$ dos2unix partitiontable.txt | $ dos2unix partitiontable.txt | ||
Line 58: | Line 49: | ||
====== How to restore your AC100 ====== | ====== How to restore your AC100 ====== | ||
- | TODO | + | |
+ | < | ||
+ | nvflash --bl / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | nvflash -r --download <num> part< | ||
+ | </ | ||
+ | |||
+ | The [[partitionlayout|Partition Layout]] might also be interesting to look at. |
backups.1319090539.txt.gz · Last modified: 2011/10/20 08:02 by torwag