Skip to content

[ PKS : /mnt/data/PKS/nota/notes.IT/linux/maintenance/backup-home-readme.md linked to ]

mintBackup

called BackupTool in the menu , the “backup tool” provide with LXM 21.x
https://github.com/linuxmint/mintbackup

this is a backup taken using the “backup tool” provide with LXM 21.x
it takes a 1 on 1 file copy of everything, in one single tar

since there is no backup of home and user settings, I use this tool herefore

this has tool has 2 backup “settings” (and action buttons)
1. action/ settings for home files & config
2. action/ settings for user files (i use freefilesync for this)

config wm :

-excluded (directories) :
/Picures
/Downloads
therefore , for now, Gpodder (which is a big folder) is still included, and has to be purged later on

-included ( these are by default not included )
all hidden folders & files : the principal purpose/target of this backup

I then manually compress the file with gzip or xz

cd /mnt/backup/lxm-home/
# next gzip command will (when finished) replace the tar file with the .tar.gz
gzip YYYY-MM-DD-HHmm-backup.tar
#  && is one of the statement seperators , but gives an error
for i in $(ls *.tar);do  &&  echo " something with the file $i"   &&  done

==instead use a script== : ./gzip-all-tars.sh

cd /mnt/backup/lxm-home/
for i in $(ls *.tar);do  
  gzip $i   
done

compression rate : ca - 40 %
12,5 GB > 7.7 GB / 5.9 > 3.5 GB