Mercurial > backup
diff crvft/backup-system @ 19:e2bef5c2dc28
move cruft.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 23 May 2013 22:52:01 -0400 |
parents | backup-system@d33008839340 |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/crvft/backup-system Thu May 23 22:52:01 2013 -0400 1.3 @@ -0,0 +1,13 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +tar -vcpjf /backups/system-$(date +"%F-%H:%M").tar.bz2 \ 1.7 +--one-file-system \ 1.8 +--exclude=/proc/* \ 1.9 +--exclude=/sys/* \ 1.10 +--exclude=/dev/* \ 1.11 +--exclude=/tmp/* \ 1.12 +--exclude=/lost+found \ 1.13 +--exclude=/boot/lost+found \ 1.14 +--exclude=/root/* \ 1.15 +--exclude=/kernel/* \ 1.16 +-C / /boot /