[mod] restore
This commit is contained in:
parent
8778b2719c
commit
90094d900a
1 changed files with 3 additions and 3 deletions
|
@ -65,11 +65,11 @@ done
|
||||||
|
|
||||||
# Generate all paths based on the last path component
|
# Generate all paths based on the last path component
|
||||||
# Root of all the host versions of what gets mapped to /data in container
|
# Root of all the host versions of what gets mapped to /data in container
|
||||||
DATAROOT="/volume1/docker"
|
DATAROOT="$PWD/data"
|
||||||
# Backup source folder, contains gitea_backup.zip, gitrepos_backup.tar.bz2 & lfs
|
# Backup source folder, contains gitea_backup.zip, gitrepos_backup.tar.bz2 & lfs
|
||||||
BACKUPSRC="/volume1/backups/gitea"
|
BACKUPSRC="$PWD/gitea"
|
||||||
CONFIG=$(basename $PWD)
|
CONFIG=$(basename $PWD)
|
||||||
DATADIR="/volume1/docker/$CONFIG"
|
DATADIR="$DATAROOT/$CONFIG"
|
||||||
|
|
||||||
echo "Removing container"
|
echo "Removing container"
|
||||||
# Use --all in case it's been run manually
|
# Use --all in case it's been run manually
|
||||||
|
|
Loading…
Add table
Reference in a new issue