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
Jerome Charaoui
76b457cc4d
raise error if mail isn't found in $PATH and reportemail = yes
2021-01-23 22:00:42 -05:00
Jerome Charaoui
6937842e68
backup halt should trigger email report if enabled
2021-01-23 18:21:40 -05:00
Jerome Charaoui
f8755d6320
tests: fix exit status check
2021-01-23 14:40:29 -05:00
Jerome Charaoui
93cd5a3142
assume clean build environment, see DEBBUG-915222
...
This is part of a fix for reproducible builds where usrmerge may or may
not be in effect on the build system. We need to be able to pass the
BASH envvar to autotools so its able to correctly determine the correct
path for bash. The lines removed here were added to fix DEBBUG-346303
but should not be required on a clean build environment, where BASH
remains unset unless the current shell is actually BASH, and when it is,
should return the correct path to the bash executable and not /bin/sh.
2021-01-23 12:25:07 -05:00
Jerome Charaoui
1cdf2abc19
silence exit code message unless --debug is used
2021-01-23 12:06:48 -05:00
Jerome Charaoui
0ec7752dd3
Cleanup tariling whitespace
2021-01-22 11:24:14 -05:00
Jerome Charaoui
bbf488879a
Releasing backupninja 1.2.0
2021-01-22 10:17:01 -05:00
Jerome Charaoui
9e7f6fb10e
restic: remove shebang from restic helper script
2021-01-22 10:16:54 -05:00
Jerome Charaoui
370fa88efa
add missing debian bug identifiers in changelog
2021-01-21 17:24:07 -05:00
Jerome Charaoui
dea150c681
recognize dash character in version number
2021-01-21 16:29:34 -05:00
Jerome Charaoui
7069ed5ef7
fixes in RELEASE.md
2021-01-21 16:27:14 -05:00
Jerome Charaoui
9e8c50c4c7
fix changelog filename is various source files
2021-01-21 16:19:35 -05:00
Jerome Charaoui
d20fa446bf
update changelog
2021-01-14 20:16:43 -05:00
Jerome Charaoui
f233b1ed90
fix sshoptions missing from dup helper config
2021-01-14 19:50:30 -05:00
Jerome Charaoui
bee7161584
Releasing backupninja 1.2.0-rc1
2021-01-14 10:49:43 -05:00
Jerome Charaoui
b3c3cab4a4
adapt REALEASE.md for new changelog format
2021-01-14 10:46:08 -05:00
Jerome Charaoui
967959c1b3
fix typo in changelog
2021-01-13 18:33:47 -05:00
Jerome Charaoui
8b8c7eb75e
update changelog
2021-01-13 15:43:27 -05:00
Jerome Charaoui
30b10d8ee1
add missing issue references to previous release
2021-01-13 14:51:12 -05:00
Jerome Charaoui
65f81f66ea
reformat bug identifiers in changelog
...
That way GitLab is able to convert both internal bug ids and Debian bug
tracker numbers to hyperlinks in the rendered version.
2021-01-13 14:32:52 -05:00
Jerome Charaoui
4cf853aea0
convert changelog format to Keep a Changelog
2021-01-13 12:26:48 -05:00
Jerome Charaoui
5a6ea5e3a2
Merge branch 'restic' into 'master'
...
Add new restic handler
See merge request liberate/backupninja!48
2021-01-12 16:34:14 -08:00
Jerome Charaoui
61d80510f6
restic: add some tests
2021-01-12 19:30:35 -05:00
Jerome Charaoui
b94b3639ff
restic: use eval to execute restic
...
Without it, the single-quoted paths on the command-line are interperted
literally, leading restic find all include paths invalid...
2021-01-12 19:25:39 -05:00
Jerome Charaoui
f71d6882c6
restic: quote string and path values in command options
...
Make this consistent with the borg handler. Allows users to use paths
that include spaces in them and prevents shell globbing when the restic
command is called. According to the restic docs, if glob paths are
needed, they should be read from a file (--files-from).
2021-01-12 14:40:14 -05:00
Jerome Charaoui
a8df514531
restic: remove defaults for include/exclude
...
Making this consistent with the borg handler. Users should think about
what they need to be backup. The example file is there to provide a
baseline.
2021-01-12 14:37:53 -05:00
Jerome Charaoui
362fe316a4
restic: skip init when test mode enabled
2021-01-12 14:36:35 -05:00
Jerome Charaoui
d0ac95524b
vagrant: apply rsync config to both vms
2021-01-12 12:15:39 -05:00
Jerome Charaoui
297f3f8562
sys: fix sysctl -a info in sysreport
2021-01-12 12:14:25 -05:00
Jerome Charaoui
732715e1f0
sys: add EFI info to system report, needs efibootmgr
2021-01-12 12:12:36 -05:00
Jerome Charaoui
fdb27538b5
sys: add systemd support, fixes #11294 and #11325
2021-01-12 11:52:10 -05:00
Jerome Charaoui
d479f8e8d3
sys: attempt debconf-set-selections only on Debian, fixes #11271
2021-01-12 11:49:53 -05:00
Jerome Charaoui
0991afe57b
rsync: remove unused config parameter "ssh", fixes #4379
2021-01-11 22:32:05 -05:00
Jerome Charaoui
cb7e5aa4e0
Merge branch 'exit-code'
2021-01-11 22:27:58 -05:00
Jerome Charaoui
9d921c26c3
running as non-root should rc=3
2021-01-11 22:26:33 -05:00
Jerome Charaoui
99a43e6dc5
document exit codes in manpage
2021-01-11 22:25:29 -05:00