Minimal adjustments
This commit is contained in:
parent
35255156bd
commit
1bff525466
4
main.sh
4
main.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user