Commit Graph

1301 Commits

Author SHA1 Message Date
Jérôme Charaoui
5f075e6d27
Releasing backupninja (1.2.2-1) to Debian unstable 2023-02-12 15:30:44 -05:00
Jérôme Charaoui
67c70185c9
fix lintian override for non-standard-dir-perm 2023-02-12 15:30:10 -05:00
Jérôme Charaoui
5dded53514
add lintian override for spelling-error-in-description 2023-02-12 15:30:09 -05:00
Jérôme Charaoui
f84bc70f64
d/control: fix spelling of my name
Gbp-Dch: ignore
2023-02-12 15:20:23 -05:00
Jérôme Charaoui
1671def1c9
run wrap-and-sort -bastk
Gbp-Dch: ignore
2023-02-12 15:20:23 -05:00
Jérôme Charaoui
45a91857b9
d/control: bump Standards-Version, no changes needed 2023-02-12 15:20:22 -05:00
Jérôme Charaoui
a685f15cb8
d/control: bump debhelper-compat to 13 2023-02-12 15:20:21 -05:00
Jérôme Charaoui
097b82567c
warn about borg handler port config handling in NEWS 2023-02-12 15:11:34 -05:00
Jérôme Charaoui
b05251603d Update upstream source from tag 'backupninja_upstream/1.2.2'
Update to upstream version '1.2.2'
with Debian dir b582d84eac
2023-02-12 15:01:51 -05:00
Jérôme Charaoui
778b6ec637 New upstream version 1.2.2 2023-02-12 15:01:48 -05:00
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
Jérôme Charaoui
8222f4bf3f
add README.Debian with cronjob diversion trick 2023-02-10 13:53:31 -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
483396dca3 Releasing backupninja (1.2.1-1) to Debian unstable 2021-01-25 12:32:44 -05:00
Jerome Charaoui
114d1ea787 unbreak-AC_PATH_PROG-bash.patch was integrated upstream 2021-01-25 12:32:11 -05:00
Jerome Charaoui
552b7088fb New upstream version 1.2.1 2021-01-25 12:31:59 -05:00
Jerome Charaoui
6a12c7aa3f Update upstream source from tag 'backupninja_upstream/1.2.1'
Update to upstream version '1.2.1'
with Debian dir 759b9cdc81
2021-01-25 12:31:59 -05:00
Jerome Charaoui
103082eaad Releasing backupninja 1.2.1 2021-01-25 10:50:45 -05:00