navindhanuka/py-wordpress-backup-plus-plus — explained in plain English
Analysis updated 2026-05-18
Back up a self-hosted WordPress site's database and files into one archive.
Restore a WordPress site from a backup archive using stored admin credentials.
Fetch database credentials from AWS Secrets Manager during a restore.
Schedule regular backups of a WordPress installation with a simple CLI command.
| navindhanuka/py-wordpress-backup-plus-plus | 0xallam/my-recipe | 0xhassaan/nn-from-scratch | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | Python | Python | Python |
| Last pushed | — | 2022-11-22 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | ops devops | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Expects wp-config.php in the default location inside your WordPress directory.
py-wordpress-backup is a small Python package for backing up and restoring a self-hosted WordPress site, meaning a WordPress installation you run yourself on your own server rather than through WordPress.com. A backup made with this tool contains two things: a MySQL dump of your WordPress database, and an exact copy of your entire WordPress directory, which includes your themes, plugins, and uploaded media files. You install it with pip, then run it as a command line tool. To create a backup you point it at your WordPress directory and give it a path for the resulting archive, and it packages everything into a single tar.gz file. To restore, you point it at that archive and your WordPress directory, and it puts the files and database back in place. The tool needs your database credentials to do this, and it can either read specific admin credentials you type directly into the command, or fetch them from AWS Secrets Manager if you store them there. One detail worth knowing: this version of the tool expects your wp-config.php file, which is the file WordPress uses to store its database connection details, to be sitting in its default location inside the WordPress directory. The README notes this is not necessarily the safest place to keep that file and says a future update may handle other locations. The project is still fairly early. The README lists adding unit tests and better handling of non-default wp-config.php locations as remaining work, and requires Python 3.x to run.
A Python command line tool for backing up and restoring a self-hosted WordPress site's database and files.
Mainly Python. The stack also includes Python, MySQL, AWS Secrets Manager.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Verify against the repo before relying on details.