Zpool import no database

cshill

Member
May 8, 2024
90
14
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:
Ah so it seems I should always backup the datastore.cfg or else it will lose how it's configured. Any way to regain the backups?
Edit: Is there an entire OS backup that I can turn into an ISO or an easy way to reinstall it with all of the prior configurations? Not just Proxmox Backup Storage but for PVE?
 
Last edited: