Left optimation hint

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-28 13:34:35 +01:00
parent 8bc6bf209f
commit 48fab870ce
2 changed files with 5 additions and 2 deletions

View File

@ -42,5 +42,9 @@ docker run --rm -v volume-name:/recover/ -v ~/backup/:/backup/ "kevinveenbirkenb
Restart the container. Restart the container.
## Optimation
This setup script is not optimized yet for performance. Please optimized this script for performance if you want to use it in a professional environment.
## More information ## More information
See https://blog.ssdnodes.com/blog/docker-backup-volumes/. - https://blog.ssdnodes.com/blog/docker-backup-volumes/
- https://www.baculasystems.com/blog/docker-backup-containers/

View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
# @see https://www.freedesktop.org/software/systemd/man/machine-id.html
backup_time="$(date '+%Y%m%d%H%M%S')"; backup_time="$(date '+%Y%m%d%H%M%S')";
backups_folder="/Backups/"; backups_folder="/Backups/";
for docker_container_name in $(docker ps --format '{{.Names}}'); for docker_container_name in $(docker ps --format '{{.Names}}');