(Scripts|SystemD)~rework backup system
This is purely for the desktop: only enable if you fix it up.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user