Backup method bookstack #3318

Closed
opened 2026-02-05 06:21:12 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @cevinov on GitHub (Oct 29, 2022).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hello sir,

I have my own method to back up my data in bookstack app. The method is that I'm navigate to the volume of my bookstack container and after that I zip it. So if I run into a problem, I just need to create a new bookstack container and unzip my previous bookstack volume, and map it with portainer.

Is my method correct sir ?.

Exact BookStack Version

v22.07

Log Content

No response

PHP Version

No response

Hosting Environment

Oracle Cloud

Originally created by @cevinov on GitHub (Oct 29, 2022). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Hello sir, I have my own method to back up my data in bookstack app. The method is that I'm navigate to the volume of my bookstack container and after that I zip it. So if I run into a problem, I just need to create a new bookstack container and unzip my previous bookstack volume, and map it with portainer. Is my method correct sir ?. ### Exact BookStack Version v22.07 ### Log Content _No response_ ### PHP Version _No response_ ### Hosting Environment Oracle Cloud
OVERLORD added the 🐕 Support label 2026-02-05 06:21:12 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 29, 2022):

Is my method correct sir ?.

There's no way to ensure a backup process works until you attempt to restore.
Try to create a separate running instance of your BookStack system, from your backup data, to be sure.

You only mention zipping of the bookstack container volume, you'll also need the data from the database container.
Zipping live database data can be a little risky since you're working with active data. Ideally you'd create a mysqldump of the data. We have details on creating a database dump here but the approach may differ if attempting via a container.

@ssddanbrown commented on GitHub (Oct 29, 2022): > Is my method correct sir ?. There's no way to ensure a backup process works until you attempt to restore. Try to create a separate running instance of your BookStack system, from your backup data, to be sure. You only mention zipping of the bookstack container volume, you'll also need the data from the database container. Zipping live database data can be a little risky since you're working with active data. Ideally you'd create a mysqldump of the data. We [have details on creating a database dump here](https://www.bookstackapp.com/docs/admin/backup-restore/) but the approach may differ if attempting via a container.
Author
Owner

@cevinov commented on GitHub (Oct 30, 2022):

Hi sir, I tried and it worked.

Thank you

@cevinov commented on GitHub (Oct 30, 2022): Hi sir, I tried and it worked. Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3318