... | @@ -119,7 +119,7 @@ The `/path/to/backup/location` is a mount to a container volume the is accessibl |
... | @@ -119,7 +119,7 @@ The `/path/to/backup/location` is a mount to a container volume the is accessibl |
|
A more professional version that uses S3 is this script:
|
|
A more professional version that uses S3 is this script:
|
|
|
|
|
|
```bash
|
|
```bash
|
|
set -e
|
|
set -e # exit immediatly on exit code 1 (error)
|
|
|
|
|
|
if [ $# -ne 4 ]; then
|
|
if [ $# -ne 4 ]; then
|
|
echo "Usage: $0 <CONTAINER> <USER> <TARGETDIR> <PASSWORD>"
|
|
echo "Usage: $0 <CONTAINER> <USER> <TARGETDIR> <PASSWORD>"
|
... | | ... | |