diff --git a/debian.sh b/debian.sh index d73f839..83ba398 100755 --- a/debian.sh +++ b/debian.sh @@ -66,7 +66,7 @@ auto_login(){ create-smb-snapshots(){ echo;echo "[Creating new snapshots.....]";echo - time tar cvpf $TARGET/$ROOT_NAME-$1.tgz --exclude=/mnt/* --exclude=/var/tmp/* --exclude=/tmp/* --exclude=/raid/* --exclude=/root/* --exclude=/var/cache/apt/archives/* --exclude=/proc/* --exclude=/.snapshots/* --exclude=$TARGET/* --exclude=/var/lib/libvirt/* --exclude=/dev/* --exclude=/sys/* --exclude=/home/* --exclude=/var/lib/postgresql --exclude=/var/lib/containers / + time tar cvpf $TARGET/$ROOT_NAME-$1.tgz --exclude=/volumes/* --exclude=/mnt/* --exclude=/var/tmp/* --exclude=/tmp/* --exclude=/raid/* --exclude=/root/* --exclude=/var/cache/apt/archives/* --exclude=/proc/* --exclude=/.snapshots/* --exclude=$TARGET/* --exclude=/var/lib/libvirt/* --exclude=/dev/* --exclude=/sys/* --exclude=/home/* --exclude=/var/lib/postgresql --exclude=/var/lib/containers / } homeBackup() {