summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-06 17:02:11 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-11-06 17:02:11 -0400
commit277d55d75093cc0d44da35c6d14dc7388044e82e (patch)
treea187a394f7b164971c747c92a070e494aa395363
parent818c54ee199c0f3071eeb8da276b7f6462f0cfb0 (diff)
downloadpfsense-277d55d75093cc0d44da35c6d14dc7388044e82e.zip
pfsense-277d55d75093cc0d44da35c6d14dc7388044e82e.tar.gz
Ignore /var/etc directory to avoid these kinds of errors: tar: /var/etc/openvpn/client1.sock: tar format cannot archive socket
-rwxr-xr-xetc/rc.create_full_backup1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.create_full_backup b/etc/rc.create_full_backup
index d0ef848..048e68b 100755
--- a/etc/rc.create_full_backup
+++ b/etc/rc.create_full_backup
@@ -10,6 +10,7 @@ tar czPf /root/$FILENAME \
--exclude root/* \
--exclude var/empty/* \
--exclude var/empty \
+ --exclude var/etc \
/
echo ">>> Backup completed. Note: this backup includes config.xml!"
OpenPOWER on IntegriCloud