Commit da89ddef authored by nimrod's avatar nimrod
Browse files

crond: Change from daily to weekly backups.

Also, save the last month of backups.
parent 1fbbde51
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@daily docker exec -t gitlab_gitlab_1 gitlab-backup || wget --spider https://notify.shore.co.il/send?message=GitLab%20backup%20failed.
@daily docker exec gitlab_gitlab_1 find /var/backups -atime +10 -delete
@weekly docker exec -t gitlab_gitlab_1 gitlab-backup || wget --spider https://notify.shore.co.il/send?message=GitLab%20backup%20failed.
@daily docker exec gitlab_gitlab_1 find /var/backups -atime +30 -delete