mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
fix restore
This commit is contained in:
parent
c85da39795
commit
67616b6421
1 changed files with 3 additions and 3 deletions
|
@ -60,6 +60,9 @@ ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf"
|
|||
|
||||
ynh_install_app_dependencies openssh-server
|
||||
|
||||
ynh_restore_file "$config_path/gitlab-secrets.json"
|
||||
ynh_restore_file "$config_path/gitlab.rb"
|
||||
|
||||
setup_source $architecture
|
||||
|
||||
ynh_restore_file "/var/opt/$app/backups/"
|
||||
|
@ -77,8 +80,5 @@ last_backup="${filename%_gitlab_backup.tar}"
|
|||
# Use gitlab-rake to backup
|
||||
gitlab-rake gitlab:backup:restore force=yes BACKUP=$last_backup
|
||||
|
||||
ynh_restore_file "$config_path/gitlab-secrets.json"
|
||||
ynh_restore_file "$config_path/gitlab.rb"
|
||||
|
||||
gitlab-ctl restart
|
||||
gitlab-rake gitlab:check SANITIZE=true
|
||||
|
|
Loading…
Reference in a new issue