Add remote docker volumes (using rclone)

This commit is contained in:
Tobias Reisinger 2024-10-30 03:52:16 +01:00
parent f20b2596d0
commit a2c680f3e8
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 39 additions and 5 deletions
playbooks/filter_plugins

View file

@ -22,6 +22,9 @@ class FilterModule(object):
if location["type"] == "docker":
new_location["from"] = name
new_location["type"] = "volume"
if location["type"] == "docker_remote":
new_location["from"] = name
new_location["type"] = "volume"
if location["type"] == "hook":
backup_dir = f"/opt/services/_backup/{name}"