User Tools

Site Tools


doc:howto:generic.backup

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
doc:howto:generic.backup [2017/08/16 15:33]
flawioo change tar command -C / to final to the line
doc:howto:generic.backup [2017/10/12 22:34] (current)
mostly [Create Full MTD Backup]
Line 36: Line 36:
 If running on windows, make sure to save the text file as UNIX (LF) encoded, otherwise you'll get syntax errors, and then execute it (./​mtdbk.sh). If running on windows, make sure to save the text file as UNIX (LF) encoded, otherwise you'll get syntax errors, and then execute it (./​mtdbk.sh).
 If running on unix-like system, give this file execution privileges (chmod u+x mtdbk.sh) and then execute it (./​mtdbk.sh). If running on unix-like system, give this file execution privileges (chmod u+x mtdbk.sh) and then execute it (./​mtdbk.sh).
-This will backup your mtd contents to a compressed tarball file "​mtd_backup.tgz"​ in the same folder as the script.+This will backup your mtd contents to a compressed tarball file "​mtd_backup.tgz"​ in the same folder as the script. ​Make sure to use bash. (Don't do sh ./mtdbk.sh)
  
-<​del>​not working; Line 5: Syntax error: unexpected "​("​ FIXME--- //Korpi 2016/02/12 21:48// with ArduinoYún</​del> ​ --- //benba 2016/04/01 22:13// works fine for me 
 <​code>​ <​code>​
 #!/bin/bash #!/bin/bash
doc/howto/generic.backup.txt · Last modified: 2017/10/12 22:34 by mostly