Skip to content

Commit

Permalink
圧縮しない
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed Jul 23, 2021
1 parent 9d9bfe2 commit a12118e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _helpers/backup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash -eu

BACKUP_FILENAME="backup-$(date '+%Y%m%d').tar.gz"
BACKUP_FILENAME="backup-$(date '+%Y%m%d').tar"

PROJ_PATH="$(readlink -f "$(cd "$(dirname "$(readlink -f $0)")" && pwd)")"
cd "${PROJ_PATH}/.."
Expand All @@ -11,6 +11,6 @@ USR_UID="$1"
shift

docker-compose down
tar -czvf "${BACKUP_FILENAME}" "$@"
tar -cvf "${BACKUP_FILENAME}" "$@"
chown "${USR_GID}:${USR_UID}" "${BACKUP_FILENAME}"
docker-compose up -d

0 comments on commit a12118e

Please sign in to comment.