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
|
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
|
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
|
30246a2346
|
Ensure the backup_process label is set for the backup process container
|
2019-04-18 03:53:03 +02:00 |
Einar Forselv
|
f97986c0af
|
Include env vars in backup_runner
|
2019-04-18 03:52:28 +02:00 |
Einar Forselv
|
d2d5c0aa0f
|
Make Container class compatible with new json format
|
2019-04-18 03:50:24 +02:00 |
Einar Forselv
|
6bcb31da98
|
Query containers using the most recent API version
This means we will also get the Config section with env vars
|
2019-04-18 03:49:47 +02:00 |
Einar Forselv
|
dd091041b8
|
Extend backup_runner with additonal parameters
|
2019-04-17 20:20:52 +02:00 |
Einar Forselv
|
8bae4712da
|
Remove deprecated code
|
2019-04-17 19:16:47 +02:00 |
Einar Forselv
|
15a0952355
|
Don't allow oneoff containers
|
2019-04-17 19:15:58 +02:00 |
Einar Forselv
|
268a945af8
|
Bug: Ensure container properties are fetched safely
|
2019-04-17 04:40:56 +02:00 |
Einar Forselv
|
357e387ed2
|
Working container spawner
|
2019-04-17 04:38:15 +02:00 |
Einar Forselv
|
7a647c06b7
|
Upgrade to recent docker client
|
2019-04-17 03:45:51 +02:00 |
Einar Forselv
|
197cc16b01
|
Rename backup process label
|
2019-04-17 03:28:31 +02:00 |
Einar Forselv
|
d819200b7e
|
runner -> backup_runner
|
2019-04-17 03:28:07 +02:00 |
Einar Forselv
|
33b81a52f0
|
Detect running backup process container
|
2019-04-17 03:17:50 +02:00 |
Einar Forselv
|
5f06c3bb98
|
Add more docstrings to container module
|
2019-04-17 03:09:33 +02:00 |
Einar Forselv
|
2c9c418c6e
|
Add basic type hints
|
2019-04-17 03:01:12 +02:00 |
Einar Forselv
|
9397a87655
|
Handle exclude patterns
|
2019-04-17 02:44:48 +02:00 |
Einar Forselv
|
5a9378441c
|
Rework include/exclude
|
2019-04-17 00:09:36 +02:00 |
Einar Forselv
|
95defe9e8a
|
Update cli.py
|
2019-04-17 00:08:24 +02:00 |
Einar Forselv
|
fb14d65878
|
Support getting a service by name
|
2019-04-16 20:55:22 +02:00 |
Einar Forselv
|
ac33ee39dd
|
Create config in list_containers
|
2019-04-16 18:22:03 +02:00 |
Einar Forselv
|
9d3d87d9d5
|
Make config check skippable for tests
|
2019-04-16 18:21:42 +02:00 |
Einar Forselv
|
1e43c91d85
|
Remove test code in utils
|
2019-04-16 02:22:23 +02:00 |
Einar Forselv
|
167fc4e214
|
Instantiate Config instance instead of using class namespace
|
2019-04-16 02:18:49 +02:00 |
Einar Forselv
|
2884fc1eec
|
Make docker URI part of config
|
2019-04-15 19:49:57 +02:00 |
Einar Forselv
|
97ed56feb9
|
Move container listing to utils module for each mocking
|
2019-04-15 19:06:48 +02:00 |