Commit Graph

210 Commits

Author SHA1 Message Date
Einar Forselv fc5c6cc914 Rename project 2019-12-03 09:40:02 +01:00
Einar Forselv 2a861b0519 Ensure exit codes are propagated 2019-12-03 07:36:48 +01:00
Einar Forselv ed46a472a1 resolve exit code for backup_from_stdin 2019-12-03 07:29:52 +01:00
Einar Forselv ddb08c8a62 Working pg backup 2019-12-03 06:24:05 +01:00
Einar Forselv 81f3f88cb8 enviroment varaible context manager 2019-12-03 06:23:44 +01:00
Einar Forselv 174d9b9c18 Limit to postgres 11 2019-12-03 06:21:51 +01:00
Einar Forselv 34534d0d35 TODO note about making resistry in the future 2019-12-03 05:38:44 +01:00
Einar Forselv bd97e903e3 Add mysql backup methods 2019-12-03 05:11:24 +01:00
Einar Forselv 9dbb07d0c7 Shorten all restic commands 2019-12-03 05:06:28 +01:00
Einar Forselv 570062f07f Make generating restic command easier 2019-12-03 05:00:47 +01:00
Einar Forselv 364a821c55 restic: generic backup_from_stdin 2019-12-03 04:23:47 +01:00
Einar Forselv e17ed8adf1 Initial attempt making db backup methods 2019-12-03 04:23:06 +01:00
Einar Forselv 748294fb50 clean up cli 2019-12-03 04:22:24 +01:00
Einar Forselv 1e8131d2b0 Bug: specify network mode for backup process container 2019-12-03 04:21:27 +01:00
Einar Forselv ff06c5c90f Base backup method 2019-12-03 03:45:49 +01:00
Einar Forselv 948c73aa3f Clean up rvb status output 2019-12-03 03:04:49 +01:00
Einar Forselv 225c26d4d9 ping postgres with pg_isready 2019-12-03 03:00:17 +01:00
Einar Forselv fd27217ba8 rvb status: Remove old cruft 2019-12-03 01:47:58 +01:00
Einar Forselv 94e5c1bf8a bug: Still referring to old module 2019-12-03 01:47:33 +01:00
Einar Forselv 688c3c58e5 db containers: Implement methods 2019-12-03 01:47:15 +01:00
Einar Forselv 031da1aa5b container instance property creating subclass 2019-12-03 01:41:03 +01:00
Einar Forselv ea1f2be4bc Add postgres test container 2019-12-03 01:40:30 +01:00
Einar Forselv 32a3218ac9 Separate database logic in subclasses 2019-12-03 01:29:41 +01:00
Einar Forselv a6f088b648 Separate restic and non-restic commands 2019-12-03 01:26:03 +01:00
Einar Forselv 36231da47f Update README.md 2019-12-02 23:12:30 +01:00
Einar Forselv a5091db501 Separate mariadb and mysql 2019-12-02 22:53:00 +01:00
Einar Forselv 123f863b51 Add mariadb to dev setup 2019-12-02 21:31:35 +01:00
Einar Forselv 70ba9ed2ac Bump to restic 9.6 2019-12-02 21:14:57 +01:00
Einar Forselv 8c0d7aaa58 containers: get mysql creds 2019-11-29 05:37:02 +01:00
Einar Forselv 62075c2b6d bug: pass password with fstring 2019-11-29 05:36:46 +01:00
Einar Forselv 95fb69d364 ping mysql during status 2019-11-29 05:36:20 +01:00
Einar Forselv 648cc85801 downgrade mysql 2019-11-29 05:35:55 +01:00
Einar Forselv 773ab28da7 clean up status 2019-11-29 01:32:09 +01:00
Einar Forselv d4c301a831 Add id and hostname property 2019-11-29 01:31:53 +01:00
Einar Forselv 14174a4680 expand restic commands 2019-11-29 01:25:00 +01:00
Einar Forselv 47601df5eb mount restic cache locally 2019-11-29 01:24:33 +01:00
Einar Forselv 3edce72f03 Update .gitignore 2019-11-26 21:45:57 +01:00
Einar Forselv 73cb4c33f9 Write restic db to local fs 2019-11-26 20:00:54 +01:00
Einar Forselv fb17795566 Add newlines when writing log file 2019-11-26 19:46:59 +01:00
Einar Forselv e2a2cf2d26 tests: volumes_for_backup 2019-11-26 14:24:42 +01:00
Einar Forselv ab7e4f4aeb bug: Don't include volumes from containers with only database backup 2019-11-26 14:23:54 +01:00
Einar Forselv aa7271c159 containers: Missing properties + string represenation 2019-11-26 14:06:01 +01:00
Einar Forselv d27ff28f53 fixtures: include service name in container name 2019-11-26 14:04:37 +01:00
Einar Forselv ed3774ad14 Only rstrip log lines as to not lose indentation 2019-11-26 13:04:30 +01:00
Einar Forselv e6d914df7c build a more robust mount path
Mount volumes unti /backup/<service_name>/
2019-11-26 12:30:44 +01:00
Einar Forselv ef4ce2ecb4 utils.strip_root 2019-11-25 22:28:04 +01:00
Einar Forselv a61452fd91 Test commands 2019-11-25 21:21:17 +01:00
Einar Forselv d910c62c62 Include docker container hostname in logger 2019-11-25 21:21:00 +01:00
Einar Forselv a35814fd2d Don't decode streamed log from backup container 2019-11-25 21:20:37 +01:00
Einar Forselv cb0980f8ce dockerfile: develop install for now
This way code propagates during development
2019-11-25 21:19:31 +01:00