From 277d55d75093cc0d44da35c6d14dc7388044e82e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Nov 2010 17:02:11 -0400 Subject: Ignore /var/etc directory to avoid these kinds of errors: tar: /var/etc/openvpn/client1.sock: tar format cannot archive socket --- etc/rc.create_full_backup | 1 + 1 file changed, 1 insertion(+) 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!" -- cgit v1.1