@@ -186,7 +186,6 @@ It will up special file `docker-compose.prod.yml` with 80 and your port (most li
186
186
- ` make pause ` - ` docker-compose pause `
187
187
- ` make pma-up `
188
188
- ` make pma-down `
189
- - ` make backup-init `
190
189
191
190
## Structure
192
191
wp-content - docker mounted WordPress wp-content folder, it's your working directory. Add plugins and custom theme here.
@@ -198,7 +197,8 @@ db-data/ # Database docker mounted volume
198
197
docker/ # Docker images (Dockerfiles) and additional scripts
199
198
logs/ # System and wordpress logs
200
199
sh/ # Bash scripts
201
- └── backup/ # Backup scripts (crontab, backup-init, start-backup)
200
+ ├── env/ # Operations with environment files
201
+ └── utils/ # Additional bash utils
202
202
wp-content/ # Docker mounted volume, WordPress wp-content folder
203
203
├── mu-plugins/ # Must use plugins
204
204
├── plugins/ # Plugins folder. Add your plugins here
@@ -268,18 +268,13 @@ The system has automatic backups. Launched by a cronjob. By default, daily and w
268
268
269
269
To activate backups:
270
270
271
- 1 . Edit ` ./config/environment/.env.type.[environment_type] ` file - enable ` APP_WP_BACKUP_ENABLE ` and check ` APP_HOST_SYSTEM_CRON_DIR `
271
+ 1 . Edit ` ./config/environment/.env.type.[environment_type] ` file - enable ` APP_WP_BACKUP_ENABLE `
272
272
273
273
274
- 2 . Check ` ./sh/backup/backup-crontab.template ` - change cronjob time if it needs.
274
+ 2 . Check crontab file in ` ./config/crontabs ` - change cronjob time if it needs.
275
275
276
276
277
- 3 . Run backups init script< sup > [ 2 ] ( #footnote_backup ) </ sup >:
277
+ 3 . If you have more than one database (maybe custom databases), check ` mysqldump ` command parameters in ` ./docker/cron/start-backup.sh `
278
278
279
- ``` bash
280
- make backup-init
281
- ```
282
-
283
- Backups will appear in the ` ./backups ` folder, logs in ` ./logs/cron/backup.log `
279
+ Backups will appear in the ` ./backups ` folder, logs in docker cron container logs
284
280
285
- <a name =" footnote_backup " ></a >[ 2] Need sudo access
0 commit comments