Commit Graph

15 Commits

Author SHA1 Message Date
ViViDboarder
b2d95cc775 Add support for pre/post scripts
Allows adding scripts to a directory to be executed before backups and
after restorating. This can allow backing up a mysql dump or something.

Using these could (and probably does) break verify checks

Fixes #8
2018-09-27 18:09:20 -07:00
Ian
7b4e31c00d ARM: Move setuptools to pip from apt
Try to fix build error on ARM
2018-08-15 18:44:00 -07:00
ViViDboarder
947dc939f2 Switch from entrypoint to start command to allow exec of other scripts 2018-05-20 20:34:48 -07:00
ViViDboarder
f57ea36f98 Obtain locks before restoring or backing up 2018-05-13 10:30:02 -07:00
ViViDboarder
cad7d68644 Add b2 2018-04-12 21:23:38 -07:00
ViViDboarder
efb7d3e5ab Add test for existance of cron and crontab
This was missing in x86 builds and we don't have a test verifying the
crontabs themselves, so it was never caught. It would be better to
verify those, but that would mean async testing which could result in
very slow builds or other issues.

Fixes #5
2018-01-29 12:30:43 -08:00
ViViDboarder
4e1eb0592b Revert "Allow building arm images on x86 or arm hosts"
This reverts commit 137d32c575.
2017-11-16 09:39:11 -08:00
ViViDboarder
137d32c575 Allow building arm images on x86 or arm hosts
As handy as cross-build-start is for building arm images on an x86
machine, it actually causes building to fail when on an arm machine.
Added an or statement to allow it to build on my rpi as well as my
laptop.
2017-11-16 09:28:50 -08:00
ViViDboarder
1fdaff84e4 Add more packages to support more backends 2017-11-16 09:24:11 -08:00
ViViDboarder
f7cdf9c9b6 Speed up builds by installing less packages 2017-11-15 14:13:04 -08:00
ViViDboarder
917a4577c5 Add schedule for full backups and restore args 2017-07-30 12:18:12 -07:00
ViViDboarder
78c41bee62 Fix ftp->ncftp 2017-07-26 13:53:07 -07:00
ViViDboarder
b6a775176b Add missing dependencies for ftp and cron on arm 2017-07-25 21:49:53 -07:00
ViViDboarder
b3ff6b6cce Add restore script and restore test 2017-06-28 23:28:48 -07:00
ViViDboarder
e42eef8fcd Add x86 and arm builds and tests 2017-06-28 18:12:49 -07:00