diff options
-rw-r--r-- | core/scripts/backup-system.sh | 6 | ||||
-rw-r--r-- | tools/tar.html | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/core/scripts/backup-system.sh b/core/scripts/backup-system.sh index 3fa1ab2..bc94f7e 100644 --- a/core/scripts/backup-system.sh +++ b/core/scripts/backup-system.sh @@ -14,9 +14,11 @@ echo $ROOT_DIR tar --xattrs -zcpf $DEST_DIR/$BCK_NAME-`date '+%Y-%j-%H-%M-%S'`.tar.gz \ --directory=$ROOT_DIR \ - --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 \ 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 \ |