mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
fc6aaf6a19
Allow enabling TLS for the NBD server used to do pull-mode backups. Note that documentation already mentions 'tls', so this just implements the schema and XML bits. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
31 lines
1.0 KiB
XML
31 lines
1.0 KiB
XML
<domainbackup mode="pull">
|
|
<incremental>1525889631</incremental>
|
|
<server transport='tcp' tls='yes' name='localhost' port='10809'/>
|
|
<disks>
|
|
<disk name='vda' type='file' exportname='test-vda' exportbitmap='blah'>
|
|
<driver type='qcow2'/>
|
|
<scratch file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdb' type='file' exportname='test-vda' exportbitmap='blah'>
|
|
<driver type='qcow2'/>
|
|
<scratch file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdb'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdc' type='block'>
|
|
<driver type='qcow2'/>
|
|
<scratch dev='/dev/block'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdc'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
</disks>
|
|
</domainbackup>
|