Commit Graph

326 Commits

Author SHA1 Message Date
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
Einar Forselv fa6812ad06 More logging + stream container log 2019-11-15 16:47:40 +01:00
Einar Forselv f1738147d6 Cleanup 2019-11-15 14:23:56 +01:00
Einar Forselv f8d32af313 Dockerfile: Pin restic version, install package, fix entrypoint 2019-11-15 10:51:47 +01:00
Einar Forselv 4b9748a0c8 pep8 and spelling errors 2019-11-12 12:39:49 +01:00
Einar Forselv 1fbdb89141 Fix broken compose file 2019-11-12 12:10:19 +01:00
Einar Forselv f433a50652 Add rvb command shortcut 2019-11-12 12:09:59 +01:00
Einar Forselv 44ed5956b0 Check for new container labels 2019-04-29 04:26:55 +02:00
Einar Forselv 93425a6530 Merge branch 'master' of github.com:ZettaIO/restic-volume-backup 2019-04-29 03:43:56 +02:00
Frode Ulsund b91b36fa6d Send email skeleton 2019-04-23 14:33:36 +02:00
Einar Forselv 07628998dd is_true function for checking label value truthfullness 2019-04-19 17:14:29 +02:00
Einar Forselv 59cfb40d27 Add mysql test setup 2019-04-19 06:34:33 +02:00
Einar Forselv 196c59962b Mount backup volumes into the backup process container 2019-04-19 02:18:32 +02:00
Einar Forselv 64908c8e2f Generate volumes for containers with volumes 2019-04-19 02:16:00 +02:00
Einar Forselv 312da0f24e Remove old mount string method 2019-04-19 00:18:40 +02:00
Einar Forselv 3dc3ce5eb9 More robust container comparator 2019-04-19 00:13:51 +02:00
Einar Forselv ba642eeb4b Only obtain containers with backup enabled 2019-04-19 00:00:28 +02:00
Einar Forselv 01f7cef709 Proper log streaming 2019-04-18 07:22:59 +02:00
Einar Forselv 756da55018 Allow setting mode on volumes 2019-04-18 07:22:24 +02:00
Einar Forselv ac7237faa8 Test non-zero exit code 2019-04-18 07:22:07 +02:00
Einar Forselv 30e2a669cd Update .gitignore 2019-04-18 07:13:33 +02:00
Einar Forselv 1bdb5f9638 Status command should indicate if backup process is running 2019-04-18 05:49:32 +02:00
Einar Forselv 82cabb16b3 Ensure backup process actions don't happen in the main container 2019-04-18 05:44:59 +02:00
Einar Forselv 862cb47da9 Make container objects comparable 2019-04-18 05:44:02 +02:00
Einar Forselv 3807d26f77 Display backup container names in status 2019-04-18 05:34:51 +02:00
Einar Forselv 587817fbf5 Replace slash in container name 2019-04-18 05:34:01 +02:00
Einar Forselv 6a46632716 Remove temp comments 2019-04-18 05:18:44 +02:00
Einar Forselv b5951e484c Remove old debug method 2019-04-18 05:12:08 +02:00
Einar Forselv e553125854 backup process container should belong to the current project 2019-04-18 05:08:35 +02:00
Einar Forselv 820a78a10f Remove dead code 2019-04-18 05:07:39 +02:00
Einar Forselv c37435ea34 Split cli commands into functions 2019-04-18 05:01:02 +02:00
Einar Forselv 15c91d5970 Pass env vars and volumes from the backup container to the backup process container 2019-04-18 04:44:10 +02:00
Einar Forselv 58b3220a2e Support generating volume list in create/run format 2019-04-18 04:43:42 +02:00
Einar Forselv ce50a1ff0e Support getting configured container env vars 2019-04-18 04:26:30 +02:00
Einar Forselv f67e9968f5 Trim container fixtures of unused info 2019-04-18 04:26:08 +02:00