I m trying to take backup of a file using ssh.
I have written a command like following.
Which will take backup of vm.cfg as backup.cfg
ssh -ttq 10.180.19.231 cp \OVS1\running_pool\$VM_GUEST\vm.cfg \OVS1\running_pool\running_pool\backup.cfg
However the above command producing the error as.
cp: cannot stat `OVS1running_pool.cfg': No such file or directory
How would i modify my query?