srv-scripts/sbin/vol-extract
2025-01-19 14:20:56 +01:00

11 lines
173 B
Bash
Executable File

#!/bin/bash
ARCHIVE=${PWD##*/}.tar.zst
if [ -d "volumes" ]; then
rm -r volumes
fi
mkdir volumes
tar --zstd --same-owner -xvf $ARCHIVE -C volumes
# Add import .sql if db