This repository was archived by the owner on Sep 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This Python script is made for doing a complete backup of your Wordpress blog's
44
55## Dependancies
66
7- * Python >= 2.7.9
7+ * Python 2.7
88 * [ Mechanize] [ 1 ] package
99
1010### On Fedora
@@ -19,6 +19,20 @@ This Python script is made for doing a complete backup of your Wordpress blog's
1919
2020 pip install mechanize
2121
22+ ## With Docker
23+
24+ docker run --rm -it -v <local path>:/backups docker.io/skyplabs/wordpress-backup-data
25+
26+ The * local path* refers the folder on your host system where the backup file will be stored.
27+
28+ If you want to store the backup file in your current directory :
29+
30+ docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data
31+
32+ And if you want to specify some * options* :
33+
34+ docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data -d /backups <options>
35+
2236## How to
2337
2438 usage: wp_backup_data.py [-h] [-u USER] [-p PASSWORD] [-P] [-a ADDRESS]
@@ -44,7 +58,7 @@ This Python script is made for doing a complete backup of your Wordpress blog's
4458 --ignore-certificate ignore invalid certificates
4559 -v, --version show program's version number and exit
4660
47- Example: ./wp-backup-data .py -a blog.example.net -u user -P
61+ Example: ./wp_backup_data .py -a blog.example.net -u user -P
4862
4963## License
5064
You can’t perform that action at this time.
0 commit comments