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

cryonie

Member
May 8, 2020
40
6
13
43
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: 10
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

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!