Manual backup and restore: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>speculatrix
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...
 
imported>speculatrix
No edit summary
Line 1: Line 1:
= Manual Backup And Restore =


*** 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


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!
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:

  1. !/bin/sh

rsync -avz \

       --exclude=/dev          \
       --exclude=/media        \
       --exclude=/mnt/initfs   \
       --exclude=/proc         \
       --exclude=/sys          \
       /                       \
       palin.home.mansfield.co.uk:/home/archive/20091121-french/