about summary refs log tree commit diff stats
path: root/tools/tar.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tar.html')
-rw-r--r--tools/tar.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/tar.html b/tools/tar.html
index 5bd3df6..c3b7cac 100644
--- a/tools/tar.html
+++ b/tools/tar.html
@@ -12,7 +12,7 @@
 
         <h2 id="tarbkup">1. Create Backup</h2>
 
-        <p>Script in core/scripts/<a href="scripts/backup-system.sh">backup-system.sh</a> use tldp
+        <p>Script <a href="scripts/backup-system.sh">core/scripts/backup-system.sh</a> use tldp
         <a href="http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/server-backup.html">server backup</a>
         and <a href="http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/server-restore.html">restore</a>
         as a reference.</p>
@@ -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 \