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
67616b6421
commit
38d9632d8c
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ ynh_restore_file "/var/opt/$app/backups/"
|
||||||
|
|
||||||
fullfile=$(ls /var/opt/gitlab/backups/*_gitlab* --file -c1 | head -1)
|
fullfile=$(ls /var/opt/gitlab/backups/*_gitlab* --file -c1 | head -1)
|
||||||
basename="/var/opt/gitlab/backups/"
|
basename="/var/opt/gitlab/backups/"
|
||||||
|
filename=$(basename -- "$fullfile")
|
||||||
last_backup="${filename%_gitlab_backup.tar}"
|
last_backup="${filename%_gitlab_backup.tar}"
|
||||||
|
|
||||||
# Use gitlab-rake to backup
|
# Use gitlab-rake to backup
|
||||||
|
|
Loading…
Reference in a new issue