kvm-import.sh.in 134 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash
DISK_PATH=${:disk-path}
BACKUP_PATH=${:backup-disk-path}

# TODO: Use rdiff
6
rm $DISK_PATH && \
7
cp $BACKUP_PATH $DISK_PATH