zalf-rdm / geonode-k8s

A Kubernetes helm chart for the geospacial webapplication Geonode
https://geonode-k8s.readthedocs.io/en/latest/
GNU General Public License v2.0
13 stars 9 forks source link

Bug: Restore of geonode backup is not working #156

Open AlexGacon opened 8 months ago

AlexGacon commented 8 months ago

Bug Description

In order to migrate a GeoNode instance to GeoNode K8s, we tried to dump and restore the environment using the geonode commands.

The restore is not working, because the backup_restore folder is not available on the geoserver pod.

I am not sure if mounting the PVC on the pod is enough because of the ReadWrite access mode

Reproduction Steps

best to provide your values.yaml, a brief description of your cluster and version of geonode-k8s here.

Behavior

A description of what you expected to happen and what actually happened.

Additional Information

Any additional information or context that may be helpful in resolving the bug.

AlexGacon commented 8 months ago

@mwallschlaeger have you already used this feature in the case of GeoNode K8s?

mwallschlaeger commented 8 months ago

@AlexGacon hey no i havent tried this approach. We're about to use https://github.com/zalando/postgres-operator/blob/master/docs/administrator.md#wal-archiving-and-physical-basebackups to backup and restore geonode databases together with a flat copy of the volume

mwallschlaeger commented 8 months ago

This could be part of a list in the docs listing geonode features currently not functional in geonode-k8s

mwallschlaeger commented 7 months ago

@AlexGacon is this maybe related to the latest fixes in geonode v4.2.3

mwallschlaeger commented 3 days ago

@AlexGacon have you tested this since the changes in geonode regarding geonode-backup? If so maybe you could add a small readme of howto deal with backups in a geonode-k8s environment?

AlexGacon commented 3 days ago

Sorry @mwallschlaeger I didn't get the opportunity to do so. One of my customer will soon have to do a migration so it would be the occasion to test.