new feature

This commit is contained in:
Sebastian
2024-09-16 12:16:04 +02:00
parent afa19bb887
commit 4603a04c3b
3 changed files with 8 additions and 3 deletions

View File

@@ -17,6 +17,10 @@ if [ ! -d "$volume_dir" ]; then
exit 1
fi
if [[ -v $3 ]]; then
$dir/clone-backup.sh $3 $1
fi
calculate_required_space() {
# Extract the size from the filename
size=$(echo "$1" | grep -oE '[0-9]+G')