@@ -4,7 +4,7 @@ If You want to build a website with Rails at short time;
44
55#### Full stack Nginx Rails:
66<p align="left"> <a href="https://rubyonrails.org/" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/4223?s=200&v=4" alt="Rails" height="40" width="40"/> </a> <a href="https://www.docker.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/docker/docker.png" alt="docker" width="40" height="40" width="40"/> </a> <a href="https://mariadb.org/" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/5877084?s=200&v=4" alt="mariadb" height="50" width="50"/> </a> <a href="https://www.nginx.com" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/1412239?s=200&v=4" alt="nginx" height="40" width="40"/> </a> <a href="https://redis.io" target="_blank" rel="noreferrer"> <img src="https://avatars.githubusercontent.com/u/1529926?s=200&v=4" alt="redis" height="40" width="40"/> </a> <a href="#" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" alt="Bash" height="50" width="50" /> </a>
7- <a href =" https://www.phpmyadmin.net/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/1351977?s=200&v=4 " alt =" phpmyadmin " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://letsencrypt.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/17889013?s=200&v=4 " alt =" letsencrypt " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.portainer.io/?hsLang=en " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/22225832?s=200&v=4 " alt =" portainer " height =" 40 " width =" 40 " /> </a > </p >
7+ <a href =" https://www.phpmyadmin.net/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/1351977?s=200&v=4 " alt =" phpmyadmin " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://letsencrypt.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/17889013?s=200&v=4 " alt =" letsencrypt " height =" 40 " width =" 40 " /> </a >  ;  ;  ; <a href =" https://www.portainer.io/?hsLang=en " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/22225832?s=200&v=4 " alt =" portainer " height =" 40 " width =" 40 " /> </a >& nbsp ;& nbsp ;& nbsp ; < a href = " https://www.offen.dev/ " target = " _blank " rel = " noreferrer " > < img src = " https://avatars.githubusercontent.com/u/47735043?s=200&v=4 " alt = " backup " height = " 40 " width = " 40 " /> </ a > </p >
88
99Plus, manage docker containers with Portainer.
1010
@@ -16,7 +16,7 @@ Plus, manage docker containers with Portainer.
1616- [ phpMyAdmin] ( https://hub.docker.com/r/phpmyadmin/phpmyadmin/ )
1717- [ database] ( https://hub.docker.com/_/mariadb )
1818- [ redis] ( https://hub.docker.com/_/redis )
19- - [ backup] ( https://hub.docker.com/r/futurice /docker-volume-backup )
19+ - [ backup] ( https://hub.docker.com/r/offen /docker-volume-backup )
2020
2121#### For certbot (letsencrypt) certificate:
2222
@@ -279,20 +279,8 @@ The first authorize screen(htpasswd;username or password) and phpmyadmin login s
279279
280280### backup
281281
282- 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
282+ This will back up the all files and folders in database/dump sql and html volumes , once per day, and write it to ./backups with a filename like backup-2023-01-01T10-18-00 .tar.gz
283283
284- #### example for crontab file on the host machine
284+ #### can run on a custom cron schedule
285285
286- ##### # old docker backup folder remove
287-
288- ```
289- 50 23 * * * find ${DIRECTORY_PATH}/backups/backup* -type f -mtime +1 | xargs rm
290- ```
291-
292- ##### # backup exclude rails, backups folders in ${DIRECTORY_PATH}
293-
294- ```
295- 00 01 * * * tar -czvf ${DIRECTORY_PATH}/backups/'backup-example.com-'$(date +"\%Y-\%m-\%dT\%H-\%M-\%S")'.tar.gz' --exclude='backups' ${DIRECTORY_PATH}
296- ```
297-
298- [ CronHowto] ( https://help.ubuntu.com/community/CronHowto )
286+ ``` BACKUP_CRON_EXPRESSION: '20 01 * * *' ``` the UTC timezone.
0 commit comments