https://github.com/devuri/python-wpbackup
Use Python to Create WordPress Backup
https://github.com/devuri/python-wpbackup
Last synced: 11 months ago
JSON representation
Use Python to Create WordPress Backup
- Host: GitHub
- URL: https://github.com/devuri/python-wpbackup
- Owner: devuri
- License: mit
- Created: 2020-09-17T16:59:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T17:04:06.000Z (over 5 years ago)
- Last Synced: 2024-10-19T14:25:25.475Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Use Python to Create a WordPress Backup
* upload the wpbackup file to the WordPress install that you want to backups
* I recommend placing this just outside the website root or public directory
* run the "python wpbackup" command.
## How to run
```shell
$ python wpbackup
```
Assumptions
The WordPress Installation is in the public directory
wp-content is in the public directory website root
Python 2.7 is installed
backups will be saved in 'public/wp-content/py-backup'
we will attempt to create the dir if it does not exist
you can change this by updating the backup_dir var
sitename var should be updated to match your website