WordPress Backup Data
This Python script is made for doing a complete backup of your WordPress blog’s data. It does exactly the same thing that the WordPress’ export feature.
Installation
With pip (recommanded)
pip install wordpress-backup-data
From sources
git clone https://github.com/SkypLabs/wordpress-backup-data.git cd wordpress-backup-data python setup.py install
How to
usage: wp-backup-data [-h] [-u USER] [-p PASSWORD] [-P] [-O] [-a ADDRESS]
[-d DIRECTORY] [--http] [--https]
[--ignore-certificate] [-v]
Do a backup of your WordPress data
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER username to use
-p PASSWORD, --password PASSWORD
password to use
-P, --prompt-for-password
prompt for password to use
-O, --prompt-for-otp prompt for Yubikey OTP to use
-a ADDRESS, --address ADDRESS
root address of the WordPress blog (examples:
'blog.example.net' or '192.168.20.53')
-d DIRECTORY, --directory DIRECTORY
directory where the backup file will be stored
--http use HTTP as protocol
--https use HTTPS as protocol (default)
--ignore-certificate ignore invalid certificates
-v, --version show program's version number and exit
Example: ./wp-backup-data -a blog.example.net -u user -P
Yubikey OTP support
If you have secured your WordPress blog with the Yubikey OTP plugin, the -O option is made for you ! By this way, you will be prompted to enter your OTP.
With Docker
docker run --rm -it -v <local path>:/backups docker.io/skyplabs/wordpress-backup-data
local path refers to the folder on your host system where the backup file will be stored.
If you want to store the backup file in your current directory :
docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data
And if you want to specify some options :
docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data -d /backups <options>
License
Metadata
Release files for wordpress-backup-data 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wordpress-backup-data-1.4.0.tar.gz | 4.6 kB | Without provenance | Details for wordpress-backup-data-1.4.0.tar.gz |
Release files / wordpress-backup-data-1.4.0.tar.gz
| Download URL | wordpress-backup-data-1.4.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
560691d63ebce23b6e219978f6b80f1b7f54747a914dcedcb4b55f85ed8c6f7f
|
|
BLAKE2b-256 checksum How to use checksums |
f7b984a91693ccff1b52b5b66ac63b6d291ddbdd7c43221dd61ebda114d73570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for wordpress-backup-data 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.