On 05/24/2016 07:35 PM, Marek Marczykowski-Górecki wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, May 24, 2016 at 07:22:06PM -0400, Chris Laprise wrote:

On 05/24/2016 11:26 AM, [email protected] wrote:

On Friday, May 20, 2016 at 3:19:07 PM UTC+2, Chris Laprise wrote:

    Then you could copy the encryption method used in the python
    scripts for
    qvm-backup, using openssl. For transmission, use an appvm assigned to
    the task of connecting to the destination: issue qvm-run commands
    in the
    vm to take care of the particulars, such as running 'scp'. Using
    '--pass-io' with qvm-run will allow you to pipe backup data from
    dom0 to
    your vm commands.

    Chris


Yes, exactly my plan, the part about using a dedicated VM and talking to
it with 'qvm-run --pass-io'.
Small correction: Instead of using scp you probably want to pipe into the
ssh command itself, since ideally there will be no backup file on disk in
the backup vm (i.e. you're streaming). So your qvm-run pipe command may
contain a command to pipe over ssh :) or execute a script in the backup vm
to do the job.

I don't know if the qvm-backup methods allow for compression, but you might
consider adding that as well before encryption (xz is a great choice).
Compression is supported, but for now only from command line.

- --

Can I supply an argument? Like:
qvm-backup -Z 'xz -3'

To set the compression level.

Chris

--
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/57478774.7010102%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to