Local File System Backup #7419
Jsundegree
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I was having terrible problems trying to get local backups from wiki.js
I found that I had neglected steps and also found a problem possibly related to portainer.
Basically wikijs would say that it had completed the process but there would be no files in the mounted host folder.
Here are some tips:
/wiki/backup
to the "Target configuration path" for the backup in wikijs admin settings.Sometimes Im a bit lazy and let docker-compose create the host folder - which it did correctly, however the user didn't have access to write (which was evident when looking at the docker log for my container) which was strange. This was actioned using portainer. In the past for other apps I have used simple docker-compose files. Additionally manually creating the host folders didn't help either.
During this process I was using Portainer to roll out the docker-compose instructions. So I thought I'd try doing it without portainer. I deleted the various containers in portainer and used
docker compose up -d
from the CLI . . . and then everything worked as expected. I had no permission issues and could easily backup and dump my files.Not sure why this might be a problem and will leave that to smarter people.
Thank you to the maintainers for developing a very nice wiki!
Beta Was this translation helpful? Give feedback.
All reactions