Manual backup and restore
speculatrix (Talk | contribs) (New page: *** Manual Backup And Restore Imagine you've hacked around your tablet so much you want to back it up, wipe it clean and restore, rather than use the standard system backup/restore which...) |
speculatrix (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | + | = Manual Backup And Restore = | |
- | + | ||
Imagine you've hacked around your tablet so much you want to back it up, wipe it clean and restore, rather than use the standard system backup/restore which could revert the problems too! | Imagine you've hacked around your tablet so much you want to back it up, wipe it clean and restore, rather than use the standard system backup/restore which could revert the problems too! | ||
+ | |||
+ | The best strategy is to back up the entire tablet, excluding only things you definitely don't need rather than try and cherry pick things. Ensure you install the rsync package. A suitable backup script is shown below: | ||
+ | |||
+ | #!/bin/sh | ||
+ | |||
+ | rsync -avz \ | ||
+ | --exclude=/dev \ | ||
+ | --exclude=/media \ | ||
+ | --exclude=/mnt/initfs \ | ||
+ | --exclude=/proc \ | ||
+ | --exclude=/sys \ | ||
+ | / \ | ||
+ | palin.home.mansfield.co.uk:/home/archive/20091121-french/ | ||
Revision as of 21:16, 23 November 2009
Manual Backup And Restore
Imagine you've hacked around your tablet so much you want to back it up, wipe it clean and restore, rather than use the standard system backup/restore which could revert the problems too!
The best strategy is to back up the entire tablet, excluding only things you definitely don't need rather than try and cherry pick things. Ensure you install the rsync package. A suitable backup script is shown below:
- !/bin/sh
rsync -avz \
--exclude=/dev \ --exclude=/media \ --exclude=/mnt/initfs \ --exclude=/proc \ --exclude=/sys \ / \ palin.home.mansfield.co.uk:/home/archive/20091121-french/