Zpool import no database

cshill

Member
May 8, 2024
57
8
8
Evening everyone,
I was messing with the network and broke a couple things so I reinstalled the PBS. I imported the Zpool and the disks are showing allocated VMs but there's no database. I tried to create a database with the pathway /mnt/datastore/BackupStorage/ it claims there's something like eeexist chunks in file. If I put /mnt/datastore/Backupstorage/vm it creates a new one. Anyone know how to properly import the database for zfs?
 
Hi,
i assume when you are referring to database you mean a PBS datastore? If so, in order to re-import a pre-existing datastore to a new installation you will have to add a configuration based on the following to your /etc/proxmox-backup/datastore.cfg
Code:
datastore: your-datastore-name
    path /mnt/datastore/Backupstorage

Note, that will only readd the datastore, you will have to reconfigure all the other jobs such as garbage collection, prune, verify, ecc. again.

Edit: fixed typos
 
Last edited:

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!