(Scripts|SystemD)~rework backup system

This is purely for the desktop: only enable if you fix it up.
This commit is contained in:
2023-10-06 01:16:47 +01:00
parent 9e975839fe
commit d88430aa8a
4 changed files with 18 additions and 3 deletions

View File

@@ -2,8 +2,7 @@
set -xe
dir=$2/backup
arch=$2/archive
dir=/media/hdd/backup
name="$(date +%F)-$(date +%T)-$(basename $1).tar.xz"
XZ_OPT='-T0 -9' tar -Jcvf $dir/$name $1