Commit e361bf01 authored by Robert Saß's avatar Robert Saß

Import-Script für Virtualmin-Backups

parent edc7dfcf
#!/bin/bash
while [ "$1" != "" ]; do
[ $# -ge 1 -a -f "$1" ] && input="$1" || input="-"
domain=`basename $input .tar.gz`
echo "Importing $input"
echo "Domain: $domain"
virtualmin restore-domain --source "$input" --domain "$domain" --all-features --reuid --allocate-ip --allocate-ip6 --continue-on-error
shift
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment