[SOLVED] Where are stored the datastore metrics in PBS ?

cryonie

Member
May 8, 2020
40
6
13
44
Hello,

In PBS there are some metrics regarding each datastore.
Does anybody knos where they are stored ?

I renamed (manually by config file) a datastore and it lost history of metrics, just want to get it back on the new datastore.

1670404085577.png

Thanks :)
 

Attachments

  • 1670404058799.png
    1670404058799.png
    168.3 KB · Views: 12
The data for these statistics is stored in /var/lib/proxmox-backup/rrdb/datastore. In the corresponding datastore folders every metric has it's own file, however, they are not really human readable and I don't think there exists a tool to merge these files.

You best bet is to simply overwrite the files of the datastore that you created with the files of the old one. This means you would lose all data that was written since you created the new datastore. Also, you should stop the proxmox-backup-proxy service before doing this.

The steps would be:
  1. systemctl stop proxmox-backup-proxy
  2. Remove the SSD_1To
  3. Copy the old to the SSD_1To
  4. start the proxy service again
 
  • Like
Reactions: cryonie