Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Nächste Überarbeitung
Vorherige Überarbeitung
virtualisierung:proxmox_kvm_und_lxc:export_import_mittels_storage [2018/03/31 14:46] – angelegt boospyvirtualisierung:proxmox_kvm_und_lxc:export_import_mittels_storage [2018/03/31 15:11] (aktuell) boospy
Zeile 4: Zeile 4:
 pvesm export <storage name> raw+size <Datei pfad wo du das image haben willst> pvesm export <storage name> raw+size <Datei pfad wo du das image haben willst>
 </code> </code>
 +Hierfür gibt es die verschiedensten Optionen, kommt eben drauf an von man wo hin möchte ;)
 +<code>
 +pvesm help export
 +USAGE: pvesm export <volume> <format> <filename> [OPTIONS]
  
 +  Export a volume.
 +
 +  <volume>   <string>
 +
 +             Volume identifier
 +
 +  <format>   <qcow2+size | raw+size | tar+size | vmdk+size | zfs>
 +
 +             Export stream format
 +
 +  <filename> <string>
 +
 +             Destination file name
 +
 +  -base      (?^:[a-z0-9_\-]{1,40})
 +
 +             Snapshot to start an incremental stream from
 +
 +  -snapshot  (?^:[a-z0-9_\-]{1,40})
 +
 +             Snapshot to export
 +
 +  -with-snapshots <boolean>   (default=0)
 +
 +             Whether to include intermediate snapshots in the stream
 +</code>
 +Und für den Import:
 +<code>
 +pvesm help import
 +USAGE: pvesm import <volume> <format> <filename> [OPTIONS]
 +
 +  Import a volume.
 +
 +  <volume>   <string>
 +
 +             Volume identifier
 +
 +  <format>   <qcow2+size | raw+size | tar+size | vmdk+size | zfs>
 +
 +             Import stream format
 +
 +  <filename> <string>
 +
 +             Source file name
 +
 +  -base      (?^:[a-z0-9_\-]{1,40})
 +
 +             Base snapshot of an incremental stream
 +
 +  -delete-snapshot (?^:[a-z0-9_\-]{1,80})
 +
 +             A snapshot to delete on success
 +
 +  -with-snapshots <boolean>   (default=0)
 +
 +             Whether the stream includes intermediate snapshots
 +</code>
 +https://forum.proxmox.com/threads/migration-mit-zfs.42517/#post-204564