diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 17:02:11 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 17:02:11 -0400 |
commit | 277d55d75093cc0d44da35c6d14dc7388044e82e (patch) | |
tree | a187a394f7b164971c747c92a070e494aa395363 /etc/rc.create_full_backup | |
parent | 818c54ee199c0f3071eeb8da276b7f6462f0cfb0 (diff) | |
download | pfsense-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
Diffstat (limited to 'etc/rc.create_full_backup')
-rwxr-xr-x | etc/rc.create_full_backup | 1 |
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!" |