Skip to content

Commit 6e09c93

Browse files
committed
Update README.md
1 parent 7cf8e2f commit 6e09c93

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ change example.com to your domain name in ```./phpmyadmin/apache2/sites-availabl
104104

105105
## Installation
106106

107-
### Manual Installation
107+
### Manual
108108

109109
Firstly: will create external volume
110110

111111
```
112-
docker volume create --driver local --opt type=none --opt device=/home/ubuntu/full-stack-apache2-cakephp-for-everyone-with-docker-compose/certbot --opt o=bind certbot-etc
112+
docker volume create --driver local --opt type=none --opt device=${DIRECTORY_PATH}/certbot --opt o=bind certbot-etc
113113
```
114114

115115
```
@@ -243,9 +243,9 @@ This will back up the all files and folders, once per day, and write it to ./bac
243243
#### example for crontab file
244244

245245
##### # old docker backup folder remove
246-
50 23 * * * find /home/ubuntu/${DIRECTORY_PATH}/backups/backup* -type f -mtime +1 | xargs rm
246+
50 23 * * * find /${DIRECTORY_PATH}/backups/backup* -type f -mtime +1 | xargs rm
247247

248-
##### # backup exclude cakephp, backups folders in /home/ubuntu/${DIRECTORY_PATH}
249-
00 01 * * * tar -czvf /home/ubuntu/${DIRECTORY_PATH}/backups/'backup-example.com-'$(date +"\%Y-\%m-\%dT\%H-\%M-\%S")'.tar.gz' --exclude='cakephp/app' --exclude='backups' /home/ubuntu/${DIRECTORY_PATH}
248+
##### # backup exclude cakephp, backups folders in ${DIRECTORY_PATH}
249+
00 01 * * * tar -czvf ${DIRECTORY_PATH}/backups/'backup-example.com-'$(date +"\%Y-\%m-\%dT\%H-\%M-\%S")'.tar.gz' --exclude='cakephp/app' --exclude='backups' ${DIRECTORY_PATH}
250250

251251
[CronHowto](https://help.ubuntu.com/community/CronHowto)

0 commit comments

Comments
 (0)