How to move old backup to a new special device

Ting

Member
Oct 19, 2021
80
2
13
56
Hi,

I setup a new ssd as a special device to my backup server storage pool, and I had some old backup on the storage pool (all spin disks before), how to rewrite these old backup and so new meta data can be written onto that ssd special device?

thanks in advance.
 
If backups are rewritten, this is done for new backups. If you want to rewrite the existing pool, you have to copy it to another location (same pool if enough space is available) and then copy it back again if the target is an other host. For example a local copy:

Code:
zfs snapshot <pool>/backup_data@snap_for_rewrite
zfs send -v <some-pool>/backup_data@snap_for_rewrite | zfs receive <some-pool>/targetdataset

You can find some examples also here.
 
Last edited:
  • 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!