Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit 671008f

Browse files
committed
update readme
1 parent 56fa308 commit 671008f

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)