Skip to content
Hypamoon

BookStack auto backup of your books each night: Have a copy of last night's wiki that does not live on the same server.

Each night your BookStack books are exported as files you can import again, stored by date outside your server, with a weekly log by email.

Example

A nightly copy of my BookStack books as files, stored by date outside the server, with a weekly log by email.

Backup log, week 48

  • Mon 24 Nov, 14 books stored212 MB
  • Tue 25 Nov, 14 books stored213 MB
  • Wed 26 Nov, 13 books stored, one asked againstored at 03:20
  • Thu 27 Nov, 15 books stored219 MB

Example data, thirty nights kept

  • Each night every book you choose is exported from BookStack as a ZIP file in the BookStack format, which you can import again, and as Markdown for reading.
  • The files are stored with the date in their name, and the oldest copies go once you have more than the number you set.
  • A log per night shows which books arrived and their size, and every Monday you get an email with the week.

From your BookStack account As a message

Paste this in your chat

Your chat builds it and runs it every time, on your own BookStack data. No account needed to try.

The sentence

With Hypamoon, each night, export the BookStack books I choose as ZIP files that BookStack can import again, plus a Markdown copy, and store them with the date in the name. Keep the last thirty nights. Log per night which books arrived and their size, and email me that log every Monday.

Hypamoon not in your chat yet? The button adds it first, without an account, and then opens your chat with this sentence.

How it goes today

  1. Log in to the BookStack server and run the backup command by hand each Friday.
  2. Export each BookStack book as a ZIP file from the book menu and save it to a shared drive.
  3. Copy the BookStack database dump to a second machine with a scheduled job someone wrote once.

How it can go

Each night every book you choose is exported from BookStack as a ZIP file in the BookStack format, which you can import again, and as Markdown for reading. The files are stored with the date in their name, and the oldest copies go once you have more than the number you set. A log per night shows which books arrived and their size, and every Monday you get an email with the week. Users, roles and settings stay with your own server backup.

What you need

What BookStack shares
BookStack documents a backup of the database and files on the server, run by an admin. People search for a BookStack auto backup and a backup script, and the BookStack project shares an example script that exports every book through the API.
Access
You paste your BookStack key in the portal, never in the chat.
Your key
You create an API token yourself under API Tokens in your own BookStack profile, with a name and an expiry date, once your role has the Access System API permission. The token sees what your user sees. The audit log and the user list need a user who can manage users and settings. Your BookStack server must be reachable over HTTPS. It stays yours.

More for teams on BookStack