Commit Graph

224 Commits

Author SHA1 Message Date
Einar Forselv 96bd419a24 Move tests into src 2019-12-05 11:23:14 +01:00
Einar Forselv 75ab549370 re-add pytest.ini 2019-12-05 11:15:14 +01:00
Einar Forselv 6f06d25db5 pep8 2019-12-05 11:09:36 +01:00
Einar Forselv 0a9e5edfe4 Add basic tox setup 2019-12-05 11:08:40 +01:00
Einar Forselv 130be30268 Move package to src/ to properly separate what goes into docker image 2019-12-05 10:26:46 +01:00
Einar Forselv 0af9f2e8ee Catch exceptions in backup_runner 2019-12-05 10:16:34 +01:00
Einar Forselv c59f022a55 Properly log exceptions 2019-12-05 10:15:49 +01:00
Einar Forselv 98fe448348 Delete mail.py 2019-12-05 10:15:29 +01:00
Einar Forselv 3708bb9100 re-add provate alert creds 2019-12-05 10:15:09 +01:00
Einar Forselv d7039cccf4 bump docker-py version 2019-12-05 09:59:52 +01:00
Einar Forselv 864c026402 backup_runner: stop container 2019-12-05 09:59:41 +01:00
Einar Forselv fcd18ba1cb Update release.md 2019-12-05 09:59:24 +01:00
Einar Forselv 915695043c bump version 2019-12-05 02:48:24 +01:00
Einar Forselv 0a8bbc40c3 Doc banner 2019-12-05 02:31:20 +01:00
Einar Forselv 69b014e88e Update index.rst 2019-12-05 02:26:50 +01:00
Einar Forselv 51742efd33 sphinx: set master doc 2019-12-05 02:15:36 +01:00
Einar Forselv c6b9f2dc1e Update setup.py 2019-12-05 02:04:36 +01:00
Einar Forselv 2216d76af5 Update release.md 2019-12-05 02:04:11 +01:00
Einar Forselv 3c891aa8b8 Update README.md 2019-12-05 01:58:50 +01:00
Einar Forselv e3ab8e0e5a Set up docs 2019-12-05 01:58:39 +01:00
Einar Forselv 2c448bdcae
Create LICENSE 2019-12-05 00:58:32 +01:00
Einar Forselv b9d5233510 Do not expose db passwords when pinging 2019-12-05 00:38:58 +01:00
Einar Forselv 9dabf01051 Allow overriding container env vars 2019-12-05 00:38:09 +01:00
Einar Forselv fdfb28fc47 Propagate log level to parent container 2019-12-05 00:37:13 +01:00
Einar Forselv 1978ee5946 Do not leak passwords in logs 2019-12-05 00:27:56 +01:00
Einar Forselv 38c59b2436 Use XDG_CACHE_HOME to control cache dir 2019-12-04 23:49:32 +01:00
Einar Forselv 4e480ed8e0 Finetune dockerignore 2019-12-04 23:46:56 +01:00
Einar Forselv 96beeab5bd Support forget / prune 2019-12-04 23:25:15 +01:00
Einar Forselv 7dd72ee5ce Remove debug print 2019-12-04 23:24:56 +01:00
Einar Forselv ef07645664 Add common env vars to env file 2019-12-04 23:24:35 +01:00
Einar Forselv 9f33cbcc39 Remove old environment block 2019-12-04 23:23:53 +01:00
Einar Forselv f29eab3249 Don't copy log files into image 2019-12-04 23:23:32 +01:00
Einar Forselv 2864145d56 Update README.md 2019-12-04 23:01:06 +01:00
Einar Forselv 6a4e87a2eb Tweak ingores 2019-12-04 23:01:01 +01:00
Einar Forselv faa2d9ff7e Do not filter mounts if volume backup is not enabled 2019-12-04 22:25:09 +01:00
Einar Forselv 91901ee35c Broken tests due to incorrect labels 2019-12-04 22:17:57 +01:00
Einar Forselv d3933f8913 Back up to /volumes and /databases 2019-12-04 22:17:42 +01:00
Einar Forselv 7f6b140a00 rcb cleanup 2019-12-04 22:03:49 +01:00
Einar Forselv 6bc88957e7 snapshots --last 2019-12-04 22:02:53 +01:00
Einar Forselv eaf8b5cc78 Send alert from the main container 2019-12-04 21:24:10 +01:00
Einar Forselv 1ca678f6b4 Send alert when something went wrong during backup 2019-12-04 20:55:33 +01:00
Einar Forselv d9a082d044 Generic alert send 2019-12-04 20:55:01 +01:00
Einar Forselv 850df45a69 Working discord webhook 2019-12-04 20:31:58 +01:00
Einar Forselv 96889b02a9 Update smtp.py 2019-12-04 20:31:41 +01:00
Einar Forselv 6a3b06f371 Debug log in alert module 2019-12-04 20:28:06 +01:00
Einar Forselv 1edd7ca771 alert test command 2019-12-04 19:36:32 +01:00
Einar Forselv a4a8a2f462 Working mail alerts + alert system tweaks 2019-12-04 19:36:14 +01:00
Einar Forselv 26ea7a2a00 Shortcut property for getting project name 2019-12-04 19:34:50 +01:00
Einar Forselv 85e9efb769 Basic alert system setup 2019-12-04 03:58:27 +01:00
Einar Forselv 7ca7f56258 Sane cron default: Every day at 2am 2019-12-04 03:35:45 +01:00