User:Jebba/Backups

(new backups page)
(Backups)
 
Line 6: Line 6:
  rsync \
  rsync \
         -avv -ult --progress --stats \
         -avv -ult --progress --stats \
 +
        --numeric-ids \
         --rsh=ssh \
         --rsh=ssh \
         --exclude /home/user/MyDocs/cities \
         --exclude /home/user/MyDocs/cities \

Latest revision as of 21:06, 9 July 2010

[edit] Backups

Thankfully, pre-bricking, I had made a backup. There are a billion different ways to do this, but one quick way is good old rsync. This script backs up everything except the --excluded directories which are either things I don't want to back up (cities) or things you can't/shouldn't back up (/proc).

#!/bin/sh

rsync \
       -avv -ult --progress --stats \
       --numeric-ids \
       --rsh=ssh \
       --exclude /home/user/MyDocs/cities \
       --exclude /home/user/MyDocs/.sounds \
       --exclude /proc \
       --exclude /dev \
       --exclude /sys \
       --exclude /syspart \
       root@burger:/ \
       /home/jebba/BACKUPS/burger/