You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to implement automated backups for our blog. Currently, we do that manually and the process is quite clear. We need to investigate how to automate this.
The blog is deployed via the Ghost bitnami helm chart. The deployment configuration can be found here. It can be deployed to a local cluster (minikube, k3d etc.)
Note that you might need to change the PVC configuration to be able to deploy locally. The configuration in this repo is set up for using a Ceph-provisioned volume.
What needs to be backed up?
We need to backup the content directory for the blog that contains the images for our blog posts. The directory that needs to be backed up from the Ghost container is /bitnami/ghost/content.
We also need to backup the blog's content and users. That can be done from the admin panel. We should be able to get the files via the API as well. The backup process is described here.
Ghost has a CLI that can perform complete backups too. The CLI can be invoked by calling ghost backup. I was not able to make this command run from the bitnami container as it resulted in an error. Read more here.
What do we need?
Ideally we can setup the backup as a k8s CronJob that runs daily. We already have a bucket that can store the backup. If anyone can provide a script or a small application that can output a tar containing all the backup files. I can extend that with uploading the artifact to the bucket.
The text was updated successfully, but these errors were encountered:
We need to implement automated backups for our blog. Currently, we do that manually and the process is quite clear. We need to investigate how to automate this.
The blog is deployed via the Ghost bitnami helm chart. The deployment configuration can be found here. It can be deployed to a local cluster (minikube, k3d etc.)
Note that you might need to change the PVC configuration to be able to deploy locally. The configuration in this repo is set up for using a Ceph-provisioned volume.
What needs to be backed up?
We need to backup the content directory for the blog that contains the images for our blog posts. The directory that needs to be backed up from the Ghost container is
/bitnami/ghost/content
.We also need to backup the blog's content and users. That can be done from the admin panel. We should be able to get the files via the API as well. The backup process is described here.
Ghost has a CLI that can perform complete backups too. The CLI can be invoked by calling
ghost backup
. I was not able to make this command run from the bitnami container as it resulted in an error. Read more here.What do we need?
Ideally we can setup the backup as a k8s CronJob that runs daily. We already have a bucket that can store the backup. If anyone can provide a script or a small application that can output a tar containing all the backup files. I can extend that with uploading the artifact to the bucket.
The text was updated successfully, but these errors were encountered: