Mercurial > backup
annotate crvft/backup-system @ 22:d3b029607539
resurrected old backup script from 6.034.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 10 Jun 2013 08:48:20 -0400 |
parents | e2bef5c2dc28 |
children |
rev | line source |
---|---|
rlm@0 | 1 #!/bin/sh |
rlm@0 | 2 |
rlm@0 | 3 tar -vcpjf /backups/system-$(date +"%F-%H:%M").tar.bz2 \ |
rlm@0 | 4 --one-file-system \ |
rlm@0 | 5 --exclude=/proc/* \ |
rlm@0 | 6 --exclude=/sys/* \ |
rlm@0 | 7 --exclude=/dev/* \ |
rlm@0 | 8 --exclude=/tmp/* \ |
rlm@0 | 9 --exclude=/lost+found \ |
rlm@0 | 10 --exclude=/boot/lost+found \ |
rlm@3 | 11 --exclude=/root/* \ |
rlm@3 | 12 --exclude=/kernel/* \ |
rlm@0 | 13 -C / /boot / |