Remove tmpdir copy
This commit is contained in:
parent
7d548ce28e
commit
02985989af
1 changed files with 0 additions and 3 deletions
|
@ -250,9 +250,6 @@ execute-command "save-off"
|
||||||
# Record start time for performance reporting
|
# Record start time for performance reporting
|
||||||
START_TIME=$(date +"%s")
|
START_TIME=$(date +"%s")
|
||||||
|
|
||||||
TMP_WORLD_SAVE_DIR=$(mktemp)
|
|
||||||
cp -r "$SERVER_WORLD" "$TMP_WORLD_SAVE_DIR"
|
|
||||||
|
|
||||||
if $USE_BORG_BACKUP; then
|
if $USE_BORG_BACKUP; then
|
||||||
borg create --compression "$COMPRESSION_ALGORITHM,$COMPRESSION_LEVEL" "$ARCHIVE_PATH" "$SERVER_WORLD"
|
borg create --compression "$COMPRESSION_ALGORITHM,$COMPRESSION_LEVEL" "$ARCHIVE_PATH" "$SERVER_WORLD"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue