Qvm-backup over ssh

Hi, I’m a bit confused about the documentation at How to back up, restore, and migrate | Qubes OS
Specifically, it says

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?

Thanks

Your backup will be piped to the command:
something like ssh user@IP 'cat >/path/to/backupfile'

Or have a script to handle this and redate/increment the filenames.

1 Like

Oh no! I thought I had replied. Thanks so much for your answer, it’s exactly what I was looking for.