Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OERu
Gitlab Backup
Commits
6d0e4fb8
Commit
6d0e4fb8
authored
Mar 10, 2021
by
Dave Lane
Browse files
fix default directory path in cron script
parent
1de8de1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
gitlabbackup-cron
View file @
6d0e4fb8
...
...
@@ -4,5 +4,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# run system backups
#
# daily - at 7:30 pm, mon-sun
30 21 * * * root /home/data/scripts/gitlabbackup/gitlabbackup.sh
30 21 * * * root /home/data/scripts/gitlab-db-backup/gitlabbackup.sh
gitlabbackup.sh
View file @
6d0e4fb8
...
...
@@ -7,7 +7,7 @@
# a directory on the host, suitable for including in the host's incremental file backups.
#
DC
=
`
which docker-compose
`
DIR
=
/home/docker/git.
oeru.org
DIR
=
/home/docker/git.
nzoss.nz
CONTAINER
=
web
COMMAND
=
'gitlab-rake gitlab:backup:create'
LOG
=
/var/log/gitlabbackup.log
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment