You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2020. It is now read-only.
@@ -48,6 +34,7 @@ And if you want to specify some *options* :
48
34
password to use
49
35
-P, --prompt-for-password
50
36
prompt for password to use
37
+
-O, --prompt-for-otp prompt for Yubikey OTP to use
51
38
-a ADDRESS, --address ADDRESS
52
39
root address of the WordPress blog (examples:
53
40
'blog.example.net' or '192.168.20.53')
@@ -58,11 +45,30 @@ And if you want to specify some *options* :
58
45
--ignore-certificate ignore invalid certificates
59
46
-v, --version show program's version number and exit
60
47
61
-
Example: ./wp_backup_data.py -a blog.example.net -u user -P
48
+
Example: ./wp-backup-data.py -a blog.example.net -u user -P
49
+
50
+
## Yubikey OTP support
51
+
52
+
If you have secured your Wordpress blog with the [Yubikey OTP plugin][2], the *-O* option is made for you ! By this way, you will be prompted to enter your OTP.
53
+
54
+
## With Docker
55
+
56
+
docker run --rm -it -v <local path>:/backups docker.io/skyplabs/wordpress-backup-data
57
+
58
+
The *local path* refers the folder on your host system where the backup file will be stored.
59
+
60
+
If you want to store the backup file in your current directory :
61
+
62
+
docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data
63
+
64
+
And if you want to specify some *options* :
65
+
66
+
docker run --rm -it -v $(pwd):/backups docker.io/skyplabs/wordpress-backup-data -d /backups <options>
0 commit comments