summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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