I have an external USB-drive rotation backup which worked very well for some of my file servers and I'd also like to implement this with PBS. It should contain a copy of a local datastore (which is backup-target for multiple pve). The external drive is connected over a LAN-USB-Interface and mounted localy on the PBS.
What I now tried to do:
- I created a local mountpoint /mnt/usbdisk and created a new datastore referring this mountpoint
- The local sync worked perfect
- Than I unmounted and disconnected USB-drive1 and mounted USB-drive2 to the same mountpoint.
- My hope was, that PBS resyncs the local datastore again to the external datastore with the missing elements (in this case all data). But unfortunately this doesn't worked. It seems that it has the existing chunks "in mind":
- Is there a way to force a complete resync?
Thank you and best,
Johannes
What I now tried to do:
- I created a local mountpoint /mnt/usbdisk and created a new datastore referring this mountpoint
- The local sync worked perfect
- Than I unmounted and disconnected USB-drive1 and mounted USB-drive2 to the same mountpoint.
- My hope was, that PBS resyncs the local datastore again to the external datastore with the missing elements (in this case all data). But unfortunately this doesn't worked. It seems that it has the existing chunks "in mind":
Code:
sync group vm/101 failed - inserting chunk on store 'usbdisk' failed for bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8 - mkstemp "/mnt/usbdisk/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8.tmp_XXXXXX" failed: ENOENT: No such file or directory
Thank you and best,
Johannes