backup: use tar2qfile in qubes.Restore RPC file
This commit is contained in:
parent
b96ec61e17
commit
1a7d170256
@ -5,7 +5,7 @@ if [ -f "$args" ] ; then
|
|||||||
echo "Performing restore from backup file $args" >2
|
echo "Performing restore from backup file $args" >2
|
||||||
TARGET="$args"
|
TARGET="$args"
|
||||||
echo "Copying $TARGET to STDOUT" >2
|
echo "Copying $TARGET to STDOUT" >2
|
||||||
cat $TARGET
|
cat $TARGET | /usr/lib/qubes/tar2qfile
|
||||||
else
|
else
|
||||||
echo "Checking if arguments is matching a command" >2
|
echo "Checking if arguments is matching a command" >2
|
||||||
COMMAND=`echo $args | cut -d ' ' -f 1`
|
COMMAND=`echo $args | cut -d ' ' -f 1`
|
||||||
|
Loading…
Reference in New Issue
Block a user