Minimal adjustments

This commit is contained in:
David Petric 2023-03-21 18:11:38 +01:00
parent 35255156bd
commit 1bff525466

View File

@ -272,7 +272,7 @@ function dockerbackup {
echo -n "$container_name - "
docker run --rm --userns=host \
--volumes-from $container_name \
-v $backup_path:/backup \
-v $tmpdir/containers/$container_name:/backup \
-e TAR_OPTS="$tar_opts" \
piscue/docker-backup \
backup "$container_name-volume.tar.xz"
@ -344,7 +344,7 @@ function runbackup {
custombackup
# archive data
echo "Creating backup archive..." >&2
tar -czvf $backup_path/backify-$timestamp.tar.gz $tmpdir
tar -czvf $backup_path/backify-$timestamp.tar.gz $tmpdir >> /var/log/backify-compress.log
# push data to server
push
# remove temp files