summaryrefslogtreecommitdiffstats
path: root/etc/rc.create_full_backup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-02-14 14:38:19 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-02-14 14:38:19 -0500
commitb7544cb01603d12b752200582972d566df497bb2 (patch)
treefae01ca760dfbe2ec11979937131740855b434b7 /etc/rc.create_full_backup
parent39ab66a1a1b73ce174b920136d051c23d2dce165 (diff)
downloadpfsense-b7544cb01603d12b752200582972d566df497bb2.zip
pfsense-b7544cb01603d12b752200582972d566df497bb2.tar.gz
Ignore root/*
Diffstat (limited to 'etc/rc.create_full_backup')
-rw-r--r--etc/rc.create_full_backup2
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 /"
OpenPOWER on IntegriCloud