about summary refs log tree commit diff stats
path: root/tools/tar.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-22 05:24:41 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-22 05:24:41 +0100
commit1ee2bc2e2945df1a44a57205c8043a52009850c5 (patch)
tree3f7c6b3d3a6c9de3dd7ddb01a774ab0814e5853b /tools/tar.html
parent46097662f5988504cf86a1f6fd75c2cca88c0fb3 (diff)
downloaddoc-1ee2bc2e2945df1a44a57205c8043a52009850c5.tar.gz
tar backup script fix
Diffstat (limited to 'tools/tar.html')
-rw-r--r--tools/tar.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/tar.html b/tools/tar.html
index d5883e6..c3b7cac 100644
--- a/tools/tar.html
+++ b/tools/tar.html
@@ -34,10 +34,11 @@
 
         tar --xattrs -zcpf $DEST_DIR/$BCK_NAME-`date '+%Y-%j-%H-%M-%S'`.tar.gz \
             --directory=$ROOT_DIR \
-            --exclude=srv \
-            --exclude=var/ports \
-            --exclude=var/run \
+            --exclude=usr/ports \
             --exclude=usr/src \
+            --exclude=var/run \
+            --exclude=var/lock \
+            --exclude=srv \
             --exclude=mnt \
             --exclude=home \
             --exclude=dev \