Skip to content

Commit 41c4622

Browse files
committed
restore script added
1 parent 20e564f commit 41c4622

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

+27-2
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,40 @@ Only a FQDN domain name is needed as parameter. Script takes the rest of paramet
7575

7676
## Backup Wordpress
7777

78-
Backup database, files and Nginx's site configuration via SSH to a remote folder. A pair of SSH keys is highly recommended. If you need some help to create them, this [tutorial](https://debian-administration.org/article/530/SSH_with_authentication_key_instead_of_password) is a good first step.
78+
Backup database, files and Nginx's site configuration via SSH to a remote folder. A pair of SSH keys is highly recommended. If you need some help to use them, this [tutorial](https://debian-administration.org/article/530/SSH_with_authentication_key_instead_of_password) is a good first step.
7979

8080
### Usage
8181

8282
`./backup_wordpress.sh`
8383

8484
### Parameters
8585

86-
Defined in /params/backup.conf
86+
Defined in `/params/backup.conf`
87+
88+
###### FQDN to backup
89+
`domain=`
90+
###### Remote user for SSH
91+
92+
`backup_user=`
93+
94+
###### Remote host (IP or domain name)
95+
`backup_host=`
96+
97+
###### Remote path where files will be stored
98+
`backup_remote_dir=`
99+
100+
101+
## Restore Wordpress
102+
103+
Restored a site backed with the previous script.
104+
105+
### Usage
106+
107+
`./restore_wordpress`
108+
109+
### Parameters
110+
111+
Defined in `params/restore.conf`
87112

88113
###### FQDN to backup
89114
`domain=`

0 commit comments

Comments
 (0)