mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 02:25:41 +00:00
Do not filter mounts if volume backup is not enabled
This commit is contained in:
1 parent
91901ee35c
commit
faa2d9ff7e
2 files changed
+8
-1
No files matched your search
@@ -59,6 +59,7 @@ class ResticBackupTests(unittest.TestCase):
|
||||
{
|
||||
'service': 'web',
|
||||
'labels': {
|
||||
'restic-compose-backup.volumes': True,
|
||||
'test': 'test',
|
||||
},
|
||||
'mounts': [{
|
||||
@@ -119,6 +120,7 @@ class ResticBackupTests(unittest.TestCase):
|
||||
{
|
||||
'service': 'web',
|
||||
'labels': {
|
||||
'restic-compose-backup.volumes': True,
|
||||
'restic-compose-backup.volumes.include': 'media',
|
||||
},
|
||||
'mounts': [
|
||||
@@ -152,6 +154,7 @@ class ResticBackupTests(unittest.TestCase):
|
||||
{
|
||||
'service': 'web',
|
||||
'labels': {
|
||||
'restic-compose-backup.volumes': True,
|
||||
'restic-compose-backup.volumes.exclude': 'stuff',
|
||||
},
|
||||
'mounts': [
|
||||
|
||||
Reference in new issue
Block a user