Hello everyone.
First, I would thank KluthR the wonderful script. I use it every night, although, luckily, I have not used the restore functionality.
Second, I to share some thoughts and questions:
I do not compress the backup in order speed it up and reduce the downtime. I 7z it later using maximum compression. If the script would compress the backup later (although using some temp space), this would be nice. (stop, copy, restart, compress). Then I would like to copy the compressed backup to another place, to maintain two copies.
For this, I would like to run a "post script", but I don't know how to do it.
First, for compressing using this sentence (7z added to command using nerdtools)
7z a /mnt/disk2/folder/fileBACKUP-"`date +"%Y-%m-%d"-"-%H-%M"`".7z /mnt/disk6/BufferBACKUP/ -mx9 -mmt4
And after that, for copying it.
I can see pre start script, but no post script options. Is that possible?.
Moreover, and for the same reasons, I compress both USB and Libvirt folder, so, I create 3 files, data named, and copy to another location. It may be useful to store that, not in folders, but in date name files, as de app folders.
Thanks a lot and good work