minor cleanup to backup/restore scripts for devices

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-02-14 08:33:03 +01:00
parent 93b2dc85a6
commit 07153e1f1f
2 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,7 @@ read
sudo umount $device?
sudo umount $device
sudo sync
sudo pv -tpreb $device | dd bs=4M | pixz > $dest_file
sudo sync

View File

@ -12,7 +12,6 @@ if [[ ! -f $source_file ]]; then
fi
device=$2
timestamp=`date +%Y%m%d`
echo "about to restore $source_file onto $device"
echo "ctrl-c or [enter]"