Clemens Schwaighofer
924014688e
Update gitignore file with backup lock files
v4.8.1
2025-12-04 09:57:54 +09:00
Clemens Schwaighofer
f9a58171cc
Bump version to v4.8.0
v4.8.0
2025-12-04 09:35:08 +09:00
Clemens Schwaighofer
1b52af909a
Update PostgreSQL module to run as normal user with sudo for PostgreSQL
...
also clean up all PostgreSQL command calls as array type calls
clean up binary finder for postgresql installations
and add port/host override options
2025-12-04 09:28:57 +09:00
Clemens Schwaighofer
32a75626bb
Version number fixes
v4.7.2
2025-12-03 15:49:45 +09:00
Clemens Schwaighofer
12ff648504
PostgreSQL backup hat wrong table selection
2025-12-03 15:31:55 +09:00
Clemens Schwaighofer
69be76e34c
Default settings file update for BACKUP_FILE
2025-12-03 14:48:54 +09:00
Clemens Schwaighofer
4a95049d4f
Default config file info update
2025-12-03 14:12:24 +09:00
Clemens Schwaighofer
d0e96a82e0
Clean up PostgreSQL call, clean up varify error block, ERR trap fixes
...
ERR trap is now returning last error so $? can bet used
Verify catches $? error now for INIT repository check
v4.7.1
2025-12-03 14:00:49 +09:00
Clemens Schwaighofer
e5c5df6013
Fix error trap with return error to STD ERR
2025-12-03 13:08:35 +09:00
Clemens Schwaighofer
6023fac636
Fix trap clanup that also trapped ERR
2025-12-03 13:05:11 +09:00
Clemens Schwaighofer
9e0db8bae9
Fix the error trap with exit to stop calling it again with itself
2025-12-03 13:03:46 +09:00
Clemens Schwaighofer
8a8de773df
Change borg repository verify error message collection
2025-12-03 12:47:49 +09:00
Clemens Schwaighofer
f41dd1b723
Change verify command error check
2025-12-03 12:45:56 +09:00
Clemens Schwaighofer
c5d88a64e1
Fix last command check for verify
2025-12-03 12:43:52 +09:00
Clemens Schwaighofer
943d1c551e
Stop trapping errors und unset enviromant vars
...
On error just print error, but do not reset env vars, if this is done on verify error the init afterwards will store all settings in the wrong path
2025-12-03 12:38:01 +09:00
Clemens Schwaighofer
45e1e29d22
Update readme file with info about encryption
2025-12-02 10:01:37 +09:00
Clemens Schwaighofer
1f8d38720c
On info if verbose is set, print out the key too
v4.7.0
2025-12-01 17:05:45 +09:00
Clemens Schwaighofer
7e4dc8d500
Clean up bash shell code and add proper ENCRYPTION support
...
- check for invalid encryption setting
- switch from none to keyfile type (without password)
- error for no password for repokey or authentication type encryption
- update init and print out the key file data
2025-12-01 16:53:50 +09:00
Clemens Schwaighofer
297c745df7
Borg MySQL backup: fix version detection for MariaDB variant
...
This one is from Debian 13
v4.6.2
2025-09-18 09:58:51 +09:00
Clemens Schwaighofer
a2bf6b3331
Readme update for zabbix backup settings change
v4.6.1
2025-08-21 10:40:56 +09:00
Clemens Schwaighofer
07896af1ae
Zabbix port override settings fix
...
use OPT var prefix for options
add missing init in functions init
v4.6.0
2025-08-20 22:37:37 +09:00
Clemens Schwaighofer
8de971b922
Fix Zabbix db port override settings
2025-08-20 22:16:49 +09:00
Clemens Schwaighofer
e7699015c5
Allow override of zabbix db port
2025-08-20 22:14:19 +09:00
Clemens Schwaighofer
28dd6cb911
Merge branch 'master' into development
2024-09-04 10:38:58 +09:00
Clemens Schwaighofer
ab47692848
borg backup default settings file sample update
v4.5.6
2024-09-04 10:37:36 +09:00
Clemens Schwaighofer
4267cb5b32
Bug Fix in gitea backup for temp dir check
2024-09-04 10:37:16 +09:00
Clemens Schwaighofer
f24daba195
Add shellcheckrc
2024-09-03 12:40:39 +09:00
Clemens Schwaighofer
98890b87f5
gitea module fix chown call
...
do not use ".", use ":" for username and group separator
v4.5.5
2024-06-11 10:33:47 +09:00
Clemens Schwaighofer
a5bc90bb89
Text fix in PostgreSQL backup module
2024-06-10 09:52:06 +09:00
Clemens Schwaighofer
5af6a84d5f
Mysql/PostgreSQL module version string update
2024-06-07 15:08:49 +09:00
Clemens Schwaighofer
14d71f3053
Naming update for full update info text
2024-06-07 15:08:20 +09:00
Clemens Schwaighofer
24d4fb694f
Typo in postgresql module for full dump filename
2024-06-07 14:25:00 +09:00
Clemens Schwaighofer
f9fbbcc6de
Version fix for master script
v4.5.4
2024-06-07 09:57:21 +09:00
Clemens Schwaighofer
64e876a9a4
Fix run time output template string
2024-06-07 09:56:51 +09:00
Clemens Schwaighofer
694e54ca9c
Missed out duration calculation in postgresql run time output
v4.5.3
2024-06-07 09:16:52 +09:00
Clemens Schwaighofer
09bd6015ac
Version update for modules gitea, mysql, postgresql
v4.5.2
2024-06-07 09:12:04 +09:00
Clemens Schwaighofer
5b8b0afec2
Fix not initialized new gitea variable names
v4.5.1
2024-06-07 09:09:02 +09:00
Clemens Schwaighofer
0cc7e574fe
Borg backup update for gitea dump, mysql/postgresql info block
...
Gitea dump has now settings for
- temp folder (GITEA_TEMP_DIR)
- new name for working dir (GITEA_WORKING_DIR) from old (GITEA_TMP)
MySQL and PostgreSQL exports have a run time output per db dump set and not only at the end of the full run
v4.5.0
2024-06-06 10:30:48 +09:00
Clemens Schwaighofer
beffbee20c
Add missing OPT_REMOTE to commands
...
check, compact commands had OPT_REMOTE missing
v4.4.2
2023-05-10 16:30:23 +09:00
Clemens Schwaighofer
72f3f86eb6
Test for different command lookup check
2022-11-22 09:36:30 +09:00
Clemens Schwaighofer
c0f9634442
add *.compact to git ignore file
2022-11-14 20:27:42 +09:00
Clemens Schwaighofer
0e379d6ce0
Bump borg file module version number
v4.4.1
2022-08-30 10:00:05 +09:00
Clemens Schwaighofer
bba8be6a42
Exclude File check is if file is >0 and fix wrong check for tmp file
...
Exclude file was only checked if it exists, even if it was empty it
would start processing.
In the exclude check there was also a wrong check for the tmp exclude
file, it actually checked if the main exclude file was >0 instead of the
tmp file.
v4.4.0
2022-08-30 09:56:20 +09:00
Clemens Schwaighofer
ce3cdc7627
Readme update to fix Marktdown lint issues
2022-08-08 14:51:26 +09:00
Clemens Schwaighofer
67c0b00268
Initialize LAST COMPACT/CHECK date variable
2022-06-07 19:57:36 +09:00
Clemens Schwaighofer
abbcfa883f
Add compact auto run in intervals like check archive
...
Same settings like check archive in days. Auto set to 1 to run after
each prune. Can be controlled per module.
2022-06-06 14:58:36 +09:00
Clemens Schwaighofer
9739436589
Redirect STDERR output from borg backup to STDIN for ANSI code cleanup
...
gitea dump prints out info/status messages to STDERR. The whole
subprocess then returns this on STDERR and so is not parsed through the
sed regex command.
Redirect STDERR to STDIN
v4.3.2
2022-05-31 09:54:56 +09:00
Clemens Schwaighofer
bf0364a0e7
Move lock file clean up to before any exit info is printed
...
Just try to clean lock file always on exit
v4.3.1
2022-04-25 08:57:01 +09:00
Clemens Schwaighofer
8e87503528
Add auto check functionality
...
CHECK_INTERVAL or SUB_CHECK_INTERVAL in module settings.
If set to 1, will check everytime.
Ever other number is for n days after last check.
FORCE_CHECK for check if repository has been setup os now renamed
FORCE_VERIFY but FORCE_CHECK is currently still honored but deprecated
all *function* shell scripts will abort if run on their own
Print info on last check time if set in info block
Internal updates:
All separator lines are now printf strings for central control.
All module used config/settings file names use $MODULE name
Check functionality is in its own file
v4.3.0
2022-04-25 06:49:57 +09:00
Clemens Schwaighofer
34277483e9
Borg check -p (progress) is only set if -v (verbose) flag is set
...
Avoid any progress output if run from script
2022-04-18 16:00:41 +09:00