adds persistent root volume and shell history for www-data user
This commit is contained in:
@@ -14,7 +14,7 @@ now="$(date +%Y-%m_%d-%H-%M-%S)"
|
||||
backup_path="${PWD}/backup-volumes/${now}"
|
||||
mkdir -p "${backup_path}"
|
||||
|
||||
volumes="db traefik-dynamic traefik-certs traefik-logs traefik-static webroot"
|
||||
volumes="db root traefik-dynamic traefik-certs traefik-logs traefik-static webroot"
|
||||
for volume in ${volumes}; do
|
||||
mkdir -p "${backup_path}/${volume}"
|
||||
docker run \
|
||||
|
||||
Reference in New Issue
Block a user