Commit graph

  • 102073cb70 Bug: Do not refer to old tag Einar Forselv 2019-12-05 12:30:50 +01:00
  • e060c28c93 Update README.md Einar Forselv 2019-12-05 11:26:11 +01:00
  • 14903f3bbd Fully working tox run Einar Forselv 2019-12-05 11:23:33 +01:00
  • 96bd419a24 Move tests into src Einar Forselv 2019-12-05 11:23:14 +01:00
  • 75ab549370 re-add pytest.ini Einar Forselv 2019-12-05 11:15:14 +01:00
  • 6f06d25db5 pep8 Einar Forselv 2019-12-05 11:09:36 +01:00
  • 0a9e5edfe4 Add basic tox setup Einar Forselv 2019-12-05 11:08:40 +01:00
  • 130be30268 Move package to src/ to properly separate what goes into docker image Einar Forselv 2019-12-05 10:26:46 +01:00
  • 0af9f2e8ee Catch exceptions in backup_runner Einar Forselv 2019-12-05 10:16:34 +01:00
  • c59f022a55 Properly log exceptions Einar Forselv 2019-12-05 10:15:49 +01:00
  • 98fe448348 Delete mail.py Einar Forselv 2019-12-05 10:15:29 +01:00
  • 3708bb9100 re-add provate alert creds Einar Forselv 2019-12-05 10:15:09 +01:00
  • d7039cccf4 bump docker-py version Einar Forselv 2019-12-05 09:59:52 +01:00
  • 864c026402 backup_runner: stop container Einar Forselv 2019-12-05 09:59:41 +01:00
  • fcd18ba1cb Update release.md Einar Forselv 2019-12-05 09:59:24 +01:00
  • 915695043c bump version Einar Forselv 2019-12-05 02:48:24 +01:00
  • 0a8bbc40c3 Doc banner 0.3.0 Einar Forselv 2019-12-05 02:31:20 +01:00
  • 69b014e88e Update index.rst Einar Forselv 2019-12-05 02:26:50 +01:00
  • 51742efd33 sphinx: set master doc Einar Forselv 2019-12-05 02:15:36 +01:00
  • c6b9f2dc1e Update setup.py Einar Forselv 2019-12-05 02:04:36 +01:00
  • 2216d76af5 Update release.md Einar Forselv 2019-12-05 02:04:11 +01:00
  • 3c891aa8b8 Update README.md Einar Forselv 2019-12-05 01:58:50 +01:00
  • e3ab8e0e5a Set up docs Einar Forselv 2019-12-05 01:58:39 +01:00
  • 2c448bdcae
    Create LICENSE Einar Forselv 2019-12-05 00:58:32 +01:00
  • b9d5233510 Do not expose db passwords when pinging Einar Forselv 2019-12-05 00:38:58 +01:00
  • 9dabf01051 Allow overriding container env vars Einar Forselv 2019-12-05 00:38:09 +01:00
  • fdfb28fc47 Propagate log level to parent container Einar Forselv 2019-12-05 00:37:13 +01:00
  • 1978ee5946 Do not leak passwords in logs Einar Forselv 2019-12-05 00:27:56 +01:00
  • 38c59b2436 Use XDG_CACHE_HOME to control cache dir Einar Forselv 2019-12-04 23:49:32 +01:00
  • 4e480ed8e0 Finetune dockerignore Einar Forselv 2019-12-04 23:46:56 +01:00
  • 96beeab5bd Support forget / prune Einar Forselv 2019-12-04 23:25:15 +01:00
  • 7dd72ee5ce Remove debug print Einar Forselv 2019-12-04 23:24:56 +01:00
  • ef07645664 Add common env vars to env file Einar Forselv 2019-12-04 23:24:35 +01:00
  • 9f33cbcc39 Remove old environment block Einar Forselv 2019-12-04 23:23:53 +01:00
  • f29eab3249 Don't copy log files into image Einar Forselv 2019-12-04 23:23:32 +01:00
  • 2864145d56 Update README.md Einar Forselv 2019-12-04 23:01:06 +01:00
  • 6a4e87a2eb Tweak ingores Einar Forselv 2019-12-04 23:01:01 +01:00
  • faa2d9ff7e Do not filter mounts if volume backup is not enabled Einar Forselv 2019-12-04 22:25:09 +01:00
  • 91901ee35c Broken tests due to incorrect labels Einar Forselv 2019-12-04 22:17:57 +01:00
  • d3933f8913 Back up to /volumes and /databases Einar Forselv 2019-12-04 22:17:42 +01:00
  • 7f6b140a00 rcb cleanup Einar Forselv 2019-12-04 22:03:49 +01:00
  • 6bc88957e7 snapshots --last Einar Forselv 2019-12-04 22:02:53 +01:00
  • eaf8b5cc78 Send alert from the main container Einar Forselv 2019-12-04 21:24:10 +01:00
  • 1ca678f6b4 Send alert when something went wrong during backup Einar Forselv 2019-12-04 20:55:33 +01:00
  • d9a082d044 Generic alert send Einar Forselv 2019-12-04 20:55:01 +01:00
  • 850df45a69 Working discord webhook Einar Forselv 2019-12-04 20:31:58 +01:00
  • 96889b02a9 Update smtp.py Einar Forselv 2019-12-04 20:31:41 +01:00
  • 6a3b06f371 Debug log in alert module Einar Forselv 2019-12-04 20:28:06 +01:00
  • 1edd7ca771 alert test command Einar Forselv 2019-12-04 19:36:32 +01:00
  • a4a8a2f462 Working mail alerts + alert system tweaks Einar Forselv 2019-12-04 19:36:14 +01:00
  • 26ea7a2a00 Shortcut property for getting project name Einar Forselv 2019-12-04 19:34:50 +01:00
  • 85e9efb769 Basic alert system setup Einar Forselv 2019-12-04 03:58:27 +01:00
  • 7ca7f56258 Sane cron default: Every day at 2am Einar Forselv 2019-12-04 03:35:45 +01:00
  • 9fad6f5f38 Note about Popen buffer size Einar Forselv 2019-12-04 03:33:30 +01:00
  • f288f77aa4 rcb snapshots Einar Forselv 2019-12-04 03:12:36 +01:00
  • f8a9f0e7e9 Support running commands capturing stdout Einar Forselv 2019-12-04 03:12:13 +01:00
  • b8757929fa Reduce log format Einar Forselv 2019-12-04 03:11:46 +01:00
  • bdf2ea5e41 More logging cleanup Einar Forselv 2019-12-04 01:58:01 +01:00
  • 00cf68fa3e Properly capture stdout an std err in backup_from_stdin Einar Forselv 2019-12-04 01:57:52 +01:00
  • fb3f5b38c3 Shorten log format Einar Forselv 2019-12-04 01:30:05 +01:00
  • 4ff0df1b35 Clean up logging Einar Forselv 2019-12-04 01:12:26 +01:00
  • c78d208e66 Dockerfile: Remove unnecessary layer Einar Forselv 2019-12-04 00:50:05 +01:00
  • f4c2cf9bb7 Update README.md Einar Forselv 2019-12-04 00:36:28 +01:00
  • 947a56b21e Configurable log level: ENV + cmd Einar Forselv 2019-12-04 00:31:13 +01:00
  • 4ad575cfe3 Update README.md Einar Forselv 2019-12-03 10:19:12 +01:00
  • bd55a691e7 Create release.md Einar Forselv 2019-12-03 10:19:09 +01:00
  • 53a3a54e02 Update README.md 0.2.0 Einar Forselv 2019-12-03 09:43:21 +01:00
  • fc5c6cc914 Rename project Einar Forselv 2019-12-03 09:40:02 +01:00
  • 2a861b0519 Ensure exit codes are propagated Einar Forselv 2019-12-03 07:36:48 +01:00
  • ed46a472a1 resolve exit code for backup_from_stdin Einar Forselv 2019-12-03 07:29:52 +01:00
  • ddb08c8a62 Working pg backup Einar Forselv 2019-12-03 06:24:05 +01:00
  • 81f3f88cb8 enviroment varaible context manager Einar Forselv 2019-12-03 06:23:44 +01:00
  • 174d9b9c18 Limit to postgres 11 Einar Forselv 2019-12-03 06:21:51 +01:00
  • 34534d0d35 TODO note about making resistry in the future Einar Forselv 2019-12-03 05:38:44 +01:00
  • bd97e903e3 Add mysql backup methods Einar Forselv 2019-12-03 05:11:24 +01:00
  • 9dbb07d0c7 Shorten all restic commands Einar Forselv 2019-12-03 05:06:28 +01:00
  • 570062f07f Make generating restic command easier Einar Forselv 2019-12-03 05:00:47 +01:00
  • 364a821c55 restic: generic backup_from_stdin Einar Forselv 2019-12-03 04:23:47 +01:00
  • e17ed8adf1 Initial attempt making db backup methods Einar Forselv 2019-12-03 04:23:06 +01:00
  • 748294fb50 clean up cli Einar Forselv 2019-12-03 04:22:24 +01:00
  • 1e8131d2b0 Bug: specify network mode for backup process container Einar Forselv 2019-12-03 04:21:27 +01:00
  • ff06c5c90f Base backup method Einar Forselv 2019-12-03 03:45:49 +01:00
  • 948c73aa3f Clean up rvb status output Einar Forselv 2019-12-03 03:04:49 +01:00
  • 225c26d4d9 ping postgres with pg_isready Einar Forselv 2019-12-03 03:00:17 +01:00
  • fd27217ba8 rvb status: Remove old cruft Einar Forselv 2019-12-03 01:47:58 +01:00
  • 94e5c1bf8a bug: Still referring to old module Einar Forselv 2019-12-03 01:47:33 +01:00
  • 688c3c58e5 db containers: Implement methods Einar Forselv 2019-12-03 01:47:15 +01:00
  • 031da1aa5b container instance property creating subclass Einar Forselv 2019-12-03 01:41:03 +01:00
  • ea1f2be4bc Add postgres test container Einar Forselv 2019-12-03 01:40:30 +01:00
  • 32a3218ac9 Separate database logic in subclasses Einar Forselv 2019-12-03 01:29:41 +01:00
  • a6f088b648 Separate restic and non-restic commands Einar Forselv 2019-12-03 01:26:03 +01:00
  • 36231da47f Update README.md Einar Forselv 2019-12-02 23:12:30 +01:00
  • a5091db501 Separate mariadb and mysql Einar Forselv 2019-12-02 22:53:00 +01:00
  • 123f863b51 Add mariadb to dev setup Einar Forselv 2019-12-02 21:31:35 +01:00
  • 70ba9ed2ac Bump to restic 9.6 Einar Forselv 2019-12-02 21:14:57 +01:00
  • 8c0d7aaa58 containers: get mysql creds Einar Forselv 2019-11-29 05:37:02 +01:00
  • 62075c2b6d bug: pass password with fstring Einar Forselv 2019-11-29 05:36:46 +01:00
  • 95fb69d364 ping mysql during status Einar Forselv 2019-11-29 05:36:20 +01:00
  • 648cc85801 downgrade mysql Einar Forselv 2019-11-29 05:35:55 +01:00
  • 773ab28da7 clean up status Einar Forselv 2019-11-29 01:32:09 +01:00