Skip to content

Commit c0e9e93

Browse files
committed
Update README.md
1 parent 9c686a3 commit c0e9e93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ The first authorize screen(htpasswd;username or password) and phpmyadmin login s
269269

270270
This will back up the all files and folders, once per day, and write it to ./backups with a filename like backup-2022-02-07T16-51-56.tar.gz
271271

272-
### example for crontab file
272+
#### example for crontab file
273273

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

277-
#### # backup exclude wordpress, backups folders in /home/ubuntu/damalis
277+
##### # backup exclude wordpress, backups folders in /home/ubuntu/damalis
278278
00 01 * * * tar -czvf /home/ubuntu/${DIRECTORY_PATH}/backups/'backup-example.com-'$(date +"\%Y-\%m-\%dT\%H-\%M-\%S")'.tar.gz' --exclude='wordpress/wp-admin' --exclude='wordpress/wp-includes' --exclude='backups' /home/ubuntu/${DIRECTORY_PATH}
279279

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

0 commit comments

Comments
 (0)