Commit Graph

19 Commits

Author SHA1 Message Date
Clemens Schwaighofer
828a59c984 Set proper default values for core settings.
If nothing set in the settings file some entries need to be default set:
COMPRESSION
COMPRESSION_LEVEL
ENCRYPTION
FORCE_CHECK
KEEP_LAST
KEEP_HOURS
KEEP_DAYS
KEEP_WEEKS
KEEP_MONTHS
KEEP_YEARS

If these variables are empty after settings file is ready they are set
to the default value. After that the sub configs override those settings
v3.0.3
2022-03-08 13:56:16 +09:00
Clemens Schwaighofer
ee1b3b23ab Fixed missing init for OPT_COMPRESSION variable in functions check 2022-03-03 10:23:39 +09:00
Clemens Schwaighofer
fd5ee4be04 Just Version number adjustments in scripts v3.0.2a 2022-01-06 09:42:16 +09:00
Clemens Schwaighofer
6dbf3497ea Fix all BACKUP_SET_NAME call order
Set PREFIX before name so we can use the prefix in the db name to
always lock them.
Also fix BACKUP_SET_NAME for gitea backup
v3.0.2
2021-12-20 15:38:50 +09:00
Clemens Schwaighofer
9d184f09f4 Bug fix for missing KEEP_MONTHS override check and double KEEP_LAST
No SUB_KEEP_MONTHS was ever set, but SUB_KEEP_LAST was checked twice
2021-12-16 13:59:05 +09:00
Clemens Schwaighofer
d26de19f92 Fix bug in Postgresql path check v3.0.1 2021-12-16 11:00:22 +09:00
Clemens Schwaighofer
252319848c Fix zabbix dump var name, remove repository replace
in all BORG_* calls remove the REPOSITORY replace as the repository is
set beforehand for the module

Fix the ZABBIX_DUMP_BIN name in settings and check
2021-12-15 12:50:26 +09:00
Clemens Schwaighofer
49fb930c43 Update borg zabbix module info update v3.0.0 2021-12-14 12:55:47 +09:00
Clemens Schwaighofer
b0516bbe5c Bug fix in zabbix backup module database type check 2021-12-14 12:49:59 +09:00
Clemens Schwaighofer
b42dab2af7 Update info for default backup keep, bug fix in convert time function 2021-12-14 12:41:06 +09:00
Clemens Schwaighofer
f0501baddb Make zabbix settings backup module executeable 2021-12-14 12:34:16 +09:00
Clemens Schwaighofer
a0d06573ec Zabbix settings backup, Readme update, base calls location move
New module for zabbix settings backup based on zabbix-dump

Move the _BORG_CALL and _BORG_PRUNE base calls to functions.check
instead of each module (they are all the same)

Update Readme file

Update default settings and remove KEEP so the original defaults are
used
2021-12-14 10:24:42 +09:00
Clemens Schwaighofer
ca8317079e Add info to gitea backup module 2021-12-13 17:06:38 +09:00
Clemens Schwaighofer
b30073a984 Make gitea module executeable 2021-12-13 16:30:50 +09:00
Clemens Schwaighofer
967f97f313 Add gitea backup module 2021-12-13 16:29:02 +09:00
Clemens Schwaighofer
24f816e55c Correct commands for settings group/folder rights and updated info 2021-12-13 13:52:59 +09:00
Clemens Schwaighofer
211645d919 Remove execute flag from borg.backup.file.settings-default 2021-12-13 13:22:18 +09:00
Clemens Schwaighofer
a661678441 Borg backup wrapper update, config update
Add a .gitignore for all other files that can appear in this
folder
(.config, .cache, settings files, etc)
Add backward compability check for file backup to
not auto add -file for
the file module unless flag is set
(FILE_REPOSITORY_COMPATIBLE)
2021-12-13 13:19:31 +09:00
Clemens Schwaighofer
93f8ea6054 Borg Backup Wrapper Scripts 2021-12-13 10:36:44 +09:00