Commit graph

83 commits

Author SHA1 Message Date
Silthus
0b573b7e15 fix(crontab): fully validate the complete crontab syntax 2020-11-25 23:13:57 +01:00
Silthus
f27cd047e1 fix: do not print stacktrace if pining mc server 2020-11-25 19:43:27 +01:00
Silthus
3a19623351 feat: add option to add tags to db and minecraft containers
Closes #6
2020-11-25 19:32:32 +01:00
Silthus
9eb050173f feat: add minecraft backup method
Minecraft server can now be backed up using the restic-compose-backup.minecraft flag
2020-11-25 17:07:36 +01:00
Michael Reichenbach
02ae4ca6d8 feat: add option to backup minecraft containers via rcon-cli 2020-11-25 17:07:36 +01:00
Michael Reichenbach
47d1687bc1 fix(db): use innodb transactional dump without locks 2020-11-25 07:43:06 +01:00
mc1
64cbe3c3b5 Merge branch 'master' of github.com:Silthus/restic-compose-backup 2020-11-17 15:37:19 +01:00
mc1
a8f1e37b7f change default cron command 2020-11-17 15:36:30 +01:00
Michael Reichenbach
2995d19e8d fix: crontab validation 2020-11-17 15:35:37 +01:00
Michael Reichenbach
5256c14b67 feat add skip cleanup flag and enable success alerts 2020-11-17 08:34:58 +01:00
mc1
8fe4430aa5 fix: use posix source cmd 2020-11-17 08:04:01 +01:00
Silthus
30caa32d1b feat: store backup name as path 2020-11-16 12:59:59 +01:00
Silthus
230445783a feat: backup each container with its own path 2020-11-16 12:52:59 +01:00
Silthus
dc42418bf7 feat: move rcb cleanup to cron 2020-11-16 12:46:16 +01:00
Silthus
166bada6eb fix: --keep-last flag 2020-11-16 12:28:51 +01:00
Silthus
25db72340d fix: execute rights on backup.sh 2020-11-16 12:25:37 +01:00
Silthus
f8edb57a6d fix: cleanup after backup ends 2020-11-16 12:13:48 +01:00
Silthus
1248843e72 fix: syntax error in restic.py 2020-11-16 12:07:19 +01:00
mc1
ded4d9bdf7 fix: install pip3 2020-11-16 12:05:39 +01:00
Michael Reichenbach
db0e7799e0 feat: add minecraft backup integration 2020-11-16 11:33:00 +01:00
Michael Reichenbach
b0650c0425 feat: separate cleanup from backup 2020-11-16 11:32:40 +01:00
Michael Reichenbach
19ac9e55e5 feat: add hourly and keep_last option 2020-11-16 11:31:19 +01:00
einarf
5c33ccf0b1
Bump version 2020-05-28 01:27:06 +02:00
einarf
bbe57dfd69
Broken test intialization 2020-05-28 00:18:04 +02:00
einarf
4517880846
pep8 2020-05-28 00:13:27 +02:00
Jannik
0fc620bb1f Allow excluding all bind mounts from backups 2020-05-26 15:30:54 +02:00
Jannik
f7958d7db9 Add docstring for get_volume_backup_destination 2020-05-26 14:54:36 +02:00
Jannik
18ddb173ac Allow inclusion of project name in backup path 2020-05-26 14:30:59 +02:00
Jannik
f59a046bbc Output backup destination path with output command 2020-05-26 10:42:29 +02:00
Einar Forselv
8e9105fed5 Install wheel 2020-05-15 23:37:39 +02:00
Einar Forselv
d7492e51f6 Test command for listing swarm nodes 2020-03-08 18:36:29 +01:00
Einar Forselv
07a19f7f42 Get swarm nodes + robust fallback 2020-03-08 18:36:07 +01:00
Einar Forselv
cf668e2153 Bump version 2020-03-07 03:10:48 +01:00
Einar Forselv
d4c77cf43d Bug: Properly resolve conainer service name 2020-03-07 03:05:40 +01:00
Einar Forselv
cecc647a10 Include swarm containers when SWARM_MODE is set 2020-03-07 02:56:36 +01:00
Einar Forselv
61ec487e24 Support SWARM_MODE 2020-03-07 02:55:22 +01:00
Einar Forselv
e4263822bf Container: Stack name + reorganize 2020-03-07 01:27:24 +01:00
Einar Forselv
74c0954e6f pep8 2019-12-16 22:38:52 +01:00
Einar Forselv
ef28baed5e Update fixtures 2019-12-16 22:36:04 +01:00
Einar Forselv
336cace237 Bump version 2019-12-16 22:21:11 +01:00
Einar Forselv
cab4676b91 Create docker client from standard env vars 2019-12-16 22:19:57 +01:00
Einar Forselv
98a10bf994 Mark backup process container with env variable 2019-12-16 21:51:37 +01:00
Einar Forselv
8858f88ba4 Broken test 2019-12-10 17:28:35 +01:00
Einar Forselv
c5b7f11db7 Attempt to partly fix #18 2019-12-10 07:57:37 +01:00
Einar Forselv
a099060b2e Bump version 2019-12-09 06:33:31 +01:00
Einar Forselv
fb3c564d7a First doc version 2019-12-09 03:57:16 +01:00
Einar Forselv
ae835f30d3 Make crontab configurable 2019-12-08 06:38:56 +01:00
Einar Forselv
1e21ff422f Detect if a repository should be initialized
This is better than trying to initialize it every time
2019-12-08 05:09:05 +01:00
Einar Forselv
6347529701 Alert when nothing is found to back up + check repo after backup 2019-12-08 04:52:30 +01:00
Einar Forselv
3dacc0bfab Update containers.py 2019-12-08 04:51:07 +01:00