diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-02-14 14:38:19 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-02-14 14:38:19 -0500 |
commit | b7544cb01603d12b752200582972d566df497bb2 (patch) | |
tree | fae01ca760dfbe2ec11979937131740855b434b7 /etc/rc.create_full_backup | |
parent | 39ab66a1a1b73ce174b920136d051c23d2dce165 (diff) | |
download | pfsense-b7544cb01603d12b752200582972d566df497bb2.zip pfsense-b7544cb01603d12b752200582972d566df497bb2.tar.gz |
Ignore root/*
Diffstat (limited to 'etc/rc.create_full_backup')
-rw-r--r-- | etc/rc.create_full_backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.create_full_backup b/etc/rc.create_full_backup index e2af12d..e0648df 100644 --- a/etc/rc.create_full_backup +++ b/etc/rc.create_full_backup @@ -2,7 +2,7 @@ FILENAME="pfSense-full-backup-`date "+%Y%m%d-%H%M"`.tgz" echo ">>> Creating full backup to $FILENAME" -tar czPf /root/$FILENAME --exclude dev/* --exclude tmp/* --exclude var/db --exclude var/run/* / +tar czPf /root/$FILENAME --exclude dev/* --exclude tmp/* --exclude var/db --exclude var/run/* --exclude root/* / echo ">>> Backup completed. Note: this backup includes config.xml!" echo ">>> To restore this backup run this command:" echo " tar xzPf /root/$FILENAME -C /" |