[pve-devel] [RFC v2 storage 0/6] import/export api

Wolfgang Bumiller w.bumiller at proxmox.com
Thu May 11 10:24:07 CEST 2017


Changes to v1:
  rebased onto current master
  export: don't unlink on success...

- Original cover letter:

This is a first (working) draft of an import/export interface.

The idea is to provide the storage-side functionality required and
implemented twice - both by storage_migrate() and the replication patch
set's volume_send() plugin call.

The third patch replaces storage_migrate()'s ZFS case with an almost
storage agnostic implementation. The patches following it add transfer
format queries and the 6th patch then turns this into a storage type
independent implementation.

Thoughts?

Wolfgang Bumiller (6):
  pvesm: import/export commands
  pvesm: add delsnapshot command
  migrate: use pvesm import/export for zfs
  migrate: snapshot parameter for incremental transfer
  api: add import/export format querying
  migrate: query transfer stream formats

 PVE/CLI/pvesm.pm             | 164 +++++++++++++++++++++++++++++++++++++++++++
 PVE/Storage.pm               | 123 ++++++++++++++++++++++++++++----
 PVE/Storage/Plugin.pm        |  21 ++++++
 PVE/Storage/ZFSPoolPlugin.pm |  65 +++++++++++++++++
 4 files changed, 359 insertions(+), 14 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list