Jérôme Charaoui
183b8c3091
Releasing backupninja 1.2.2
2023-02-12 14:57:25 -05:00
Jérôme Charaoui
9dd07eeeb2
add invalid 'when' example, fixes #11342
2023-02-12 14:57:24 -05:00
Jérôme Charaoui
e51df78ea7
fix rdiff local/remote tests
2023-02-12 14:47:32 -05:00
Jérôme Charaoui
167163788c
install-fixup
2023-02-12 14:06:36 -05:00
Jérôme Charaoui
01311ad238
add basic test for prometheus exporter
2023-02-12 13:59:23 -05:00
Jérôme Charaoui
21ff09e2ec
add test for reportemail = no
2023-02-12 13:32:52 -05:00
Jérôme Charaoui
51cd07781a
fix borg source/ignore_missing test
2023-02-12 13:16:28 -05:00
Jérôme Charaoui
52e4a2e304
improve robustness of sys tests
2023-02-12 13:00:22 -05:00
Jérôme Charaoui
641aa8d669
fix debug message in sys handler
2023-02-12 13:00:22 -05:00
Jérôme Charaoui
ed55eaab73
install packages with explicit TMPDIR
...
For package installation, the runner $TMPDIR may not be big enough, eg
when rebuilding an initramfs it runs out of space, so use a new function
that sets it explicitly.
2023-02-12 13:00:21 -05:00
Jérôme Charaoui
8f381b6415
ensure noninteractive mode for debconf
2023-02-12 12:13:07 -05:00
Jérôme Charaoui
0f5e5535d5
AUTHORS is now unmaintained
...
This file is a precious energy drain to keep up to date and duplicates
the Git history where everyone's contribution is now recorded.
2023-02-12 09:27:15 -05:00
Jérôme Charaoui
f41ff295cc
borg: don't hardcode ssh port default (DEBBUG-993951)
...
Adding the port parameter to the borg handler with a default value of 22
is causing issues for users who had been using the standard ssh config
file to set the remote port, since the -p cli argument overrides the
configuration. This removes the default port number and only uses it in
the connection string if defined.
2023-02-12 00:33:57 -05:00
Jérôme Charaoui
6c90a54609
Update changelog
2023-02-12 00:33:43 -05:00
Jérôme Charaoui
1ff99a27f1
add reportprom item to config file manpage
2023-02-12 00:24:17 -05:00
Jerome Charaoui
97adb23b97
Merge branch 'prometheus' into 'master'
...
Add basic prometheus metrics for backup status.
See merge request liberate/backupninja!55
2023-02-10 18:53:15 +00:00
Jerome Charaoui
06eda435ba
Merge branch 'petrklima-master-patch-69197' into 'master'
...
Packager email: Petr.Klima@madeta-group.cz no longer exists
See merge request liberate/backupninja!52
2023-02-10 18:47:15 +00:00
Jerome Charaoui
7d6339fe89
Merge branch 'master' into 'master'
...
Fix https://0xacab.org/liberate/backupninja/-/issues/11328
Closes #11328
See merge request liberate/backupninja!61
2023-02-10 18:15:05 +00:00
Jerome Charaoui
6aae9e806d
Merge branch 'fix_cache_directory_in_exemple' into 'master'
...
fix borg example: set cache_directory to source section
See merge request liberate/backupninja!63
2023-02-10 18:08:25 +00:00
Jerome Charaoui
d8857f996e
Merge branch 'fix_regression_in_duplicity_remove-older-than' into 'master'
...
Actually run duplicity remove-older-than. Fix #11345
Closes #11345
See merge request liberate/backupninja!64
2023-02-10 18:07:05 +00:00
Jonathan Araña Cruz
033b303e9f
Actually run duplicity remove-older-than. Fix regression in f007227e4c
2023-02-07 13:56:52 +01:00
Émile
0c3ff14699
fix borg example: set cache_directory to source section
2023-01-05 09:17:46 +01:00
phlummox
258d04aee0
Fix https://0xacab.org/liberate/backupninja/-/issues/11328
2022-03-11 06:30:23 +00:00
Jerome Charaoui
b4a6d2d230
Merge branch 'hotfix/duphelper-readd-dodupsrc' into 'master'
...
dup.helper: re-add a version of the do_dup_src function
Closes #11332
See merge request liberate/backupninja!57
2022-03-05 18:58:41 +00:00
Jerome Charaoui
e727feb5e1
Merge branch 'issue11335' into 'master'
...
remove default duplicity option `--extra-clean`
See merge request liberate/backupninja!59
2022-03-05 18:57:40 +00:00
Jerome Charaoui
dd86260f85
Merge branch 'hotfix/syshandler-overwrite-luksheaderbackup' into 'master'
...
sys handler: remove old LUKS header backup file to allow updating
Closes #11333
See merge request liberate/backupninja!58
2022-03-05 18:48:17 +00:00
yova
895644b84f
remove default duplicity option --extra-clean
...
solves https://0xacab.org/liberate/backupninja/-/issues/11335
2021-09-21 08:19:34 +00:00
andrew bezella
21abd730ab
match prior rm usage w/test and rm instead of rm -f
2021-08-09 12:19:09 -07:00
andrew bezella
3f1dabf3a8
remove old LUKS header backup file prior to regenerating with luksHeaderBackup
2021-08-09 12:12:53 -07:00
andrew bezella
ae3f07b776
dup.helper: re-add a version of the do_dup_src function
2021-08-09 12:07:18 -07:00
Micah Anderson
8f81c85274
Allow for disabling reports by email.
...
This diff simply adds one line:
`if [ ! -z "$reportemail" ]; then` and then it indents the if block and adds a
final `fi`.
This check used to be there, without it, its not possible to disable report
mails, which might be something desirable if you are getting alerts through the
prometheus method.
2021-06-24 10:59:11 -04:00
Micah Anderson
fa2528a083
Add basic prometheus metrics for backup status.
...
This requires that `prometheus-node-exporter` is installed.
If `reportprom` is set, then during the reporting phase, metrics will be written
to `${prom_textfile_dir}/backupninja.prom`, which will then be available for
scraping by prometheus.
The metrics simply report the hostname and the number of actions run, the number
of warnings, errors, fails, and halts that were produced in the backup run.
These are written to the prometheus-node-exporter directory in an atomic way.
2021-06-24 10:55:31 -04:00
Petr Klíma
6efc01972e
Packager email: Petr.Klima@madeta-group.cz no longer exists . Changing to existing Petr.Klima@madeta.cz
2021-02-21 04:21:07 -08:00
Jerome Charaoui
5cc80402dd
sys: don't cancel partition backup if hwinfo absent
2021-01-26 00:24:40 -05:00
Jerome Charaoui
103082eaad
Releasing backupninja 1.2.1
2021-01-25 10:50:45 -05:00
Jerome Charaoui
c85cc32ab9
fix typos in manpage
2021-01-25 10:50:45 -05:00
Jerome Charaoui
3a0b694d6e
update release process notes
...
* drop the detached gpg signature as this doesn't seem required anymore by
anything; the signed git tag is sufficient to auth the released source
* exclude vagrant data from git clean, otherwise this destroys the test
environment which is useful during the release process; this does not
cause any vagrant artifacts to become part of the release source
* drop attaching release artifacts to milestones, as GitLab Releases
have made this practice deprecated
* add diffoscope command for easier tarball comparison
2021-01-25 10:11:07 -05:00
Jerome Charaoui
39e5f2ef23
tests: generate buildscript in vagrant test box
2021-01-25 09:45:51 -05:00
Jerome Charaoui
870811ebd6
sys: remove hwinfo partition backup
...
It doesn't provide info about partitions present on the disk, plus it
duplicates the full hwinfo output when hardware = yes (default)
2021-01-25 08:59:08 -05:00
Jerome Charaoui
5daea40686
sys: improve device/partition discovery
2021-01-25 08:52:47 -05:00
Jerome Charaoui
bb609a43f7
tests: trigger partition table refresh
2021-01-25 08:51:59 -05:00
Jerome Charaoui
aa2a83c53f
add missing parameters to backupninja.conf manpage
2021-01-24 14:43:46 -05:00
Jerome Charaoui
6461645745
add missing backticks in latest changelog entries
2021-01-24 14:25:39 -05:00
Jerome Charaoui
61d53834fa
unset BACKUPNINJA_DEBUG before exit
2021-01-24 14:24:22 -05:00
Jerome Charaoui
25c3a9f421
improve error handling around reporthost feature
2021-01-24 14:24:19 -05:00
Jerome Charaoui
f6870a613e
tests: add tests for reporthost functionality
2021-01-24 14:17:27 -05:00
Jerome Charaoui
4cfc5e3370
fix typos in manpage
2021-01-24 12:00:26 -05:00
Jerome Charaoui
f97e41e815
fix missing admingroup entry in manpage
2021-01-24 11:59:54 -05:00
Jerome Charaoui
e1748c9800
tests: add test for admingroup config parameter
2021-01-24 11:51:16 -05:00
Jerome Charaoui
ede337dbcd
add reportwrap config parameter
...
set to wrap at 1000 columns by default to avoid MTA rejection allowed by
SMTP RFC2821
2021-01-23 22:50:15 -05:00