Mercurial > backup
view crvft/backup-system @ 20:d1607d25ffba
add unencrypted cd backup.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 23 May 2013 22:52:18 -0400 |
parents | e2bef5c2dc28 |
children |
line wrap: on
line source
1 #!/bin/sh3 tar -vcpjf /backups/system-$(date +"%F-%H:%M").tar.bz2 \4 --one-file-system \5 --exclude=/proc/* \6 --exclude=/sys/* \7 --exclude=/dev/* \8 --exclude=/tmp/* \9 --exclude=/lost+found \10 --exclude=/boot/lost+found \11 --exclude=/root/* \12 --exclude=/kernel/* \13 -C / /boot /