Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup kiwix website #128

Open
rgaudin opened this issue Oct 2, 2023 · 4 comments
Open

Backup kiwix website #128

rgaudin opened this issue Oct 2, 2023 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@rgaudin
Copy link
Member

rgaudin commented Oct 2, 2023

Kiwix WP website is not automatically backed-up. We should create and deploy a small service that:

  • dumps and backs up the MySQL database (cyon allows us to specify host names with remote access to the DB). alternatively, folder contains 4 daily dumps in sql.gz
  • retrieve via scp/sftp (cyon allows connecting via ssh) and upload (to borgbase) the whole cyon folder.

Note: restoring WP is know to require attention as the DB contains references to paths and URLs.

@rgaudin rgaudin added the enhancement New feature or request label Oct 2, 2023
@benoit74
Copy link
Collaborator

benoit74 commented Oct 2, 2023

Should we directly use one of these plugins: https://wordpress.org/plugins/tags/backup/ ?

@rgaudin
Copy link
Member Author

rgaudin commented Oct 2, 2023

Not sure what those do but we need to upload to our borgbase account, using our bitwarden stack (https://github.com/kiwix/borg-backup/).

I doubt it can be done directly from within the plugin. Plugin could prepare it all for backup though.

borg-backup already takes care of DB backup and files backup though.

Probably worth looking at those plugin to understand what they do and if it's of value.

@kelson42 kelson42 added the question Further information is requested label May 11, 2024
@kelson42
Copy link
Contributor

kelson42 commented Mar 1, 2025

It looks like we still have not automated solution and no test of restoration done. This is a problem in general... and a blocker considering we are about to fully revamp and launch 2 other WP sites.

@benoit74
Copy link
Collaborator

benoit74 commented Mar 2, 2025

This will be done as part of #340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants