Move backup between datastores or namespaces?

omgs

Renowned Member
Aug 19, 2016
68
4
73
58
It happened to me that manually creating a backup, I used a wrong datastore (it could be also with a namespace). Regardless a mistake or later reorganization, is there a way to move finished (and verified) backups between datastores or namespaces?
 
Yes, you can use sync feature to copy a group between namespaces of the same datastore.
To sync backups among different datastores you have to add the same server as a Remote (i.e. using 127.0.0.1 or any other local IP of the PBS server). The you can use the sync feature. Unfortunately using local sync among local datastores isn't implemented wihtout the remote part.
 
  • Like
Reactions: Johannes S
Thanks for your reply, but if I don't misunderstand, you mean there's no way to move, but somehow "classic" copy and delete source. Did anyone think about adding this feature to make it in a safer way, as long as this isn't implemented yet?
 
Moving between namespaces is very easy and fast, as it just moves a few files with the snapshot index, owner, etc, as the chunks of the backup are in the same datastore. You can even do it from the filesystem if you feel confident to do so, but seldom recomend it as doing from the gui avoids human errors and doesn't need root permissions.

Moving between datastores requires copying both the index(es) and the chunks and can't be done from the filesystem.

In both cases to finish the "move", just remove the snapshot from the old datastore/namespace.
 
  • Like
Reactions: Johannes S

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!