comparison backup-system @ 0:2d99d5730e7f

initial commit of backup scripts
author Robert McIntyre <rlm@mit.edu>
date Tue, 18 Oct 2011 21:16:24 -0700
parents
children d33008839340
comparison
equal deleted inserted replaced
-1:000000000000 0:2d99d5730e7f
1 #!/bin/sh
2
3 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 -C / /boot /