Hi,
I used to run a script to compress and save a folder on a weekly basis :
#!/bin/bash
# params
SRC=/mnt/user/
DST=/mnt/user/backup/snapshots/
TDY=$(date +"-%Y-%m-%d")
MAX_DAYS=50
PWD=xxxx
# remove older files
find $DST* -mtime +$MAX_DAYS -exec rm {} \;
# back up directories
for dir in documents photos
do
7z a -mhe -mx0 -t7z -p$PWD $DST$dir$TDY.7z $SRC$dir
done
It looks not to run anymore (likely for a while), as 7z is no more there, and as far as I remember it was part of the NerdPack that looks deprecated.
How can I get 7z back ? Or change my script to something more up-to-date maybe ?
Many thanks
G