Drive backup between 2 proxmox servers

volkanos

Member
Oct 28, 2020
5
0
21
40
Hi,

I have 2 promox server in a cluster. I search a solution to copy all of my data on 1 drive on my first server to my another one 1x by mont. I found any solution to make a backup on 2 promox server in the interface except what is consern VM/CT.

Which solution you use to make a backup?
Rsync on OMV VM?
Rsync directly on proxmox?
Rsync on a container?

Another solution?

Thanks.
Volkanos
 
Thanks for the reply wolfgang.

I will try to explain better

Too simplify my server config, I have two servers in a cluster with same configuration:
2x Ssd (for proxmox/vm/ct)
1x 10TB ZFS (for my data (personal video/photos etc)) This drive is mounted with samba directly on proxmox server to give access has more than one vm.

I try to find a solution to sync my 10TB on server1 to server 2, this data content only my personal videos/photos etc. Is this one I want to sync.

I looked for storage replication and Promox BS and this make a backup of server and vm/ct? I can't replicate/copy my personal data. Or there is something that I didn't see because I don't find a solution.

Maybe ZFS has a solution?

My drive is shared directly with samba.
If I mount the share in a ct/vm with smb and use rsync? This not use vdisk. Good solution?

Thanks
A new proxmox user
 
If both drives use ZFS you should use "zfs send" and "zfs receive" to replicate the pools. I think pvesr will use the same commands for replication, so use that.
 
Last edited:
Thanks all! I tried zfs send/receive and pve-zsync,

I will use pve-zsync. This command to create and sync dataset
Code:
pve-zsync sync --source Data1 --dest 192.168.0.254:Data1 --verbose --maxsnap 4 --name Data1

but I will create recurring sync job and modify the cron job to make sync every 2 weeks and keep 4 snapshots.
Code:
pve-zsync create --source Data1 --dest 192.168.0.254:Data1 --verbose --maxsnap 4 --name Data1 --skip


Last question:
Just to confirm this command create a incremental snapshot?? That what I see yes, it's an incremental.


Thanks
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!