Hi,
i am using pve and pbs on the same machine. A backup of the vm is stored by pbs on an internal hdd.
Now i want to use different RDX as an offsite backup.
I added a datastore (/mnt/rdx), and i added a syncjob from localhost to rdx-datastore
I wrote a script doing the following:
- stop proxmox-backup and proxmox-backup-proxy
- mount the rdx to /mnt/rdx
- test if mount correctly
- start proxmox-backup and proxmox-backup-proxy
- start the sync
- stop proxmox-backup and proxmox-backup-proxy
- umount the rdx to /mnt/rdx
- start proxmox-backup and proxmox-backup-proxy
Works fine with the first rdx, if you start the first sync to the second rdx an error occured (missing .chunk files on datastore)
I understand the error and it's logical, because pbs assumes that .chunks is already present on /mnt/rdx
So my two possible solutions:
1. I do a inital copy of .chunks of the internal hdd to each rdx
2. I create different datastores for each rdx, /mnt/rdx1, /mnt/rdx2 ....
Can anyone tell me, if solution 1 works correctly. Or ist solution 2 the way to go.
Waht happens during boot when i create multiple datastores which are not present?
Thanks for your time and effort!
i am using pve and pbs on the same machine. A backup of the vm is stored by pbs on an internal hdd.
Now i want to use different RDX as an offsite backup.
I added a datastore (/mnt/rdx), and i added a syncjob from localhost to rdx-datastore
I wrote a script doing the following:
- stop proxmox-backup and proxmox-backup-proxy
- mount the rdx to /mnt/rdx
- test if mount correctly
- start proxmox-backup and proxmox-backup-proxy
- start the sync
- stop proxmox-backup and proxmox-backup-proxy
- umount the rdx to /mnt/rdx
- start proxmox-backup and proxmox-backup-proxy
Works fine with the first rdx, if you start the first sync to the second rdx an error occured (missing .chunk files on datastore)
I understand the error and it's logical, because pbs assumes that .chunks is already present on /mnt/rdx
So my two possible solutions:
1. I do a inital copy of .chunks of the internal hdd to each rdx
2. I create different datastores for each rdx, /mnt/rdx1, /mnt/rdx2 ....
Can anyone tell me, if solution 1 works correctly. Or ist solution 2 the way to go.
Waht happens during boot when i create multiple datastores which are not present?
Thanks for your time and effort!