After removing an external, removable usb disk and plugging it later when a new sync is due, I come from realizing that the prune and gc settings are lost. Why is that and how can I avoid this? As you planed to implement some kind of procedure to disable/enable a (removable) datastore I hope there will be a solution to prevent that.
My procedure I follow is:
- In shell:
proxmox-backup-manager datastore remove datastore name
- In pbs / administration / tasks: restart the services: proxmox-backup and proxmox-backup-proxy
- In shell:
zfs unmount removable pool
zfs export removable pool
For re-attaching it:
In Shell:
cp /root/etc_proxmox-backup_datastore_with_removable_pool.cfg /etc/proxmox-backup/datastore.cfg
(As adding the datastore is not possible due to forced chunk folder creation)
zfs import pool
zfs load-key -> password
zfs mount pool
Is there a workaround in case this is normal behaviour? Any file, I could copy in order to not have to recreate prune/gc settings manually everytime I remove/add the removable disk?
My procedure I follow is:
- In shell:
proxmox-backup-manager datastore remove datastore name
- In pbs / administration / tasks: restart the services: proxmox-backup and proxmox-backup-proxy
- In shell:
zfs unmount removable pool
zfs export removable pool
For re-attaching it:
In Shell:
cp /root/etc_proxmox-backup_datastore_with_removable_pool.cfg /etc/proxmox-backup/datastore.cfg
(As adding the datastore is not possible due to forced chunk folder creation)
zfs import pool
zfs load-key -> password
zfs mount pool
Is there a workaround in case this is normal behaviour? Any file, I could copy in order to not have to recreate prune/gc settings manually everytime I remove/add the removable disk?
Last edited: