Likewise, it is possible to enter any command as a backup target by specifying the command as the destination in the VM. This can be used to send your backup directly to, e.g., a remote server using SSH.
That’s exactly what I want to do. I have ssh access to a server where I want to store the backup. What would the command (or the argument of destination_path in the backup profile) look like to make this happen?
qvm-backup-restore is similar to qvm-backup, both can take a command instead of a filename. If you created a backup by incorporating @unman’s syntax example like
The only (important!) change is that the redirection operator > has been omitted, because now you want cat to read from the file after previously writing to it.
Thanks @unman , I tried SSHFS and it seems a viable solution to use in automated backup scripts.
Thanks @rustybird for that syntax. I haven’t managed to get it to work like in this topic and this topic in combination with ls and head to automatically locate the path to the latest backup, but hopefully will eventually come up with a simple script that works.
On a side note, I appreciate very much you Qubes veterans still chiming in to help Qubes noobs like me. Your patience is admirable and encouraging.