This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
This is a small update that adds a few QoL features in addition to a change in the default encryption method, which fixes a previously unnoticed permissions bug. The change will simply require a rerun of backups in order to start using the newly-applied encryption method.
- Added a
BACKUP_ERROR_HANDLING
configurable variable, which lets users configure how they want the script to handle backups when errors are encountered. The default will have the script prompt the user with options, which was the same as previous 2.x.x versions. Further documentation for interested users can be found in the CONFIGURABLE VARIABLES section inside linux-autosetup.sh. - Fix a permissions issue with
~/.gnupg
requiring root permissions due to the script being run as root. Please also check your own gnupg directory in case this problem has affected you. Decided this might also be a good time to look for a different encryption tool, and so the script now uses openssl by default to perform archive encryptions, which does not have these side effects... as far as I know. - Archives that have failed to be backed up for some reason (probably mainly from incorrectly inputting encryption passphrases) will now prompt the user if they want to try again. This can be controlled by
BACKUP_ERROR_HANDLING
. - tar will not be verbose by default anymore due to an oddity with its output messing with the encryption prompt for the passphrase, which gets buried in text and can make it confusing to realize an input is required. Users that still want this verbosity can enable it by adding the
v
option wherever desired in their own custom event functions.
Packages from now on will now also include the sample configuration files found here.