mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-22 08:21:04 +01:00
Raise the sigterm to 2h
This commit is contained in:
parent
d8aa5f7d79
commit
be0bdff4d8
@ -98,7 +98,7 @@ for volume_name in volume_names:
|
|||||||
print_bash(rsync_command)
|
print_bash(rsync_command)
|
||||||
print("stop containers...")
|
print("stop containers...")
|
||||||
print("Backup data after container is stopped...")
|
print("Backup data after container is stopped...")
|
||||||
print_bash("docker stop " + list_to_string(containers))
|
print_bash("docker stop -t 7200" + list_to_string(containers))
|
||||||
print_bash(rsync_command)
|
print_bash(rsync_command)
|
||||||
print("start containers...")
|
print("start containers...")
|
||||||
print_bash("docker start " + list_to_string(containers))
|
print_bash("docker start " + list_to_string(containers))
|
||||||
|
Loading…
Reference in New Issue
Block a user