[PVE-User] ZFS Replication on different storage

bsd at todoo.biz bsd at todoo.biz
Fri Mar 15 09:36:42 CET 2019


Please check this page : 

https://pve.proxmox.com/wiki/PVE-zsync


pve-zsync is a very nice tool. You need to know and understand what you are doing (generally speaking, it is a good advise). 

ZFS is a complex file system with major features, but It has a certain learning curve. 
If you have no notion of ZFS, use another backup strategy or learn some basics about ZFS. 

you should first install pve-zsync and issue a command looking similar to this one : 

pve-zsync create -dest 192.168.210.28:tank/proxmox1 -limit 12600 -maxsnap 7 -name kvm1.srv -source 133 -verbose


Where 192.168.210.28 is the IP of your second host / backup host… and tank/proxmox1 is the dataset where you'll backup. 

First run will actually create the backup and sync It. 
It will also create a cron job available in /etc/cron.d/pve-zsync 

You can edit this file in order to tune the various parameters (most probably the frequency). 


Do read the doc. 

> Le 15 mars 2019 à 09:18, Fabrizio Cuseo <f.cuseo at panservice.it> a écrit :
> 
> Hello Yannis. 
> I can't see an option to specify remote storage (or pool) name. 
> If you read my email, i need to replicate: 
> 
> HostA/poolZ ----> HostB/poolY 
> 
> But without specifying the remote pool name (there is no pool field in the gui), it replicates from HostA/PoolZ ---> HostB/PoolZ (where i have no enough space) 
> Regards, Fabrizio 
> 
> ----- Il 14-mar-19, alle 19:48, Yannis Milios <yannis.milios at gmail.com> ha scritto: 
> 
>> Yes, it is possible...
> 
>> [ https://pve.proxmox.com/pve-docs/chapter-pvesr.html |
>> https://pve.proxmox.com/pve-docs/chapter-pvesr.html ]
> 
>> On Thu, 14 Mar 2019 at 11:19, Fabrizio Cuseo < [ mailto:f.cuseo at panservice.it |
>> f.cuseo at panservice.it ] > wrote:
> 
>>> Hello.
>>> I have a customer with a small cluster, 2 servers (different models).
> 
>>> I would like to replicate VMs from host A to host B, but from local-zfs (host A)
>>> to "zfs-data-2" (host B).
> 
>>> On the GUI this is not possibile, what about some workaround ?
> 
>>> Regards, Fabrizio
> 
>>> --
>>> ---
>>> Fabrizio Cuseo - mailto: [ mailto:f.cuseo at panservice.it | f.cuseo at panservice.it
>>> ]
>>> Direzione Generale - Panservice InterNetWorking
>>> Servizi Professionali per Internet ed il Networking
>>> Panservice e' associata AIIP - RIPE Local Registry
>>> Phone: +39 0773 410020 - Fax: +39 0773 470219
>>> [ http://www.panservice.it/ | http://www.panservice.it ] mailto: [
>>> mailto:info at panservice.it | info at panservice.it ]
>>> Numero verde nazionale: 800 901492
>>> _______________________________________________
>>> pve-user mailing list
>>> [ mailto:pve-user at pve.proxmox.com | pve-user at pve.proxmox.com ]
>>> [ https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user |
>>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ]
> 
>> --
>> Sent from Gmail Mobile
> 
> -- 
> --- 
> Fabrizio Cuseo - mailto:f.cuseo at panservice.it 
> Direzione Generale - Panservice InterNetWorking 
> Servizi Professionali per Internet ed il Networking 
> Panservice e' associata AIIP - RIPE Local Registry 
> Phone: +39 0773 410020 - Fax: +39 0773 470219 
> http://www.panservice.it mailto:info at panservice.it 
> Numero verde nazionale: 800 901492 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user




More information about the pve-user mailing list