Questions about PBS local sync

VictorSTS

Distinguished Member
Oct 7, 2019
1,110
622
158
Spain
Say I have a namespace called "PVE" where PVE cluster stores it's backups. In the same datastore, I have another namespace called "DELETED". When a VM is deleted from the PVE cluster, I move it's backups from namespace "PVE" to "DELETED" in order to keep them there for some time.

To make that work, currently I have to:
  1. Create a remote to 127.0.0.1 because local sync jobs only allow syncing between different datastores.
  2. Create a sync job using my 127.0.0.1 remote, filter by the VM I want to copy and start the task.
  3. Once sync has finished, delete the snapshot from "PVE" namespace.
Questions:
  1. Why local sync are enabled between different datastores only?
  2. Why that sync takes a long time to finish? It doesn't have to copy barely any data, just copy the index for each snapshot. In fact, I can do the same operation simply by copying the snapshot directories on the file system from ns/PVE/vm to ns/DELETED/vm.
  3. Am I the only one in need of a "move backups from one namespace to another in the same datastore"?
Many thanks in advance!