Copiare un Dataset Zfs da una macchina ad un'altra

From RVM Wiki
Revision as of 12:49, 11 July 2019 by Gabriele.vivinetto (talk | contribs) (Created page with "* Installare netcat su entrambe le macchine: apt-get install netcat * Sulla macchina di destinazione, lanciare netcat in modalità server per ricevere lo stream Zfs: nc -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Installare netcat su entrambe le macchine:
apt-get install netcat
  • Sulla macchina di destinazione, lanciare netcat in modalità server per ricevere lo stream Zfs:
 nc -l -p 9000 | zfs receive -Fdu POOL-DST


  • Sulla macchina sorgente creare uno snapshot
zfs snapshot -r POOL-SRC@snap_mig
  • Inviare lo stream Zfs:
zfs send -Rv POOL-SRC/dataset-name@snap_mig | nc dst-machine.example.priv 9000


Riferimenti

How to copy one pool into another | iXsystems Community Migrate data from pool to new Freenas system | iXsystems Community