auto-gitlab-backup icon indicating copy to clipboard operation
auto-gitlab-backup copied to clipboard

restore faild

Open songxx911 opened this issue 5 years ago • 1 comments

root@gitlab backups]# cat /opt/gitlab/embedded/service/gitlab-rails/VERSION 11.11.4 [root@gitlab backups]# ll total 227840 -rw------- 1 git git 233308160 Jul 11 17:45 1562838333_2019_07_11_11.11.4_gitlab_backup.tar

[root@ELK-SZ-03 backups]# cat /opt/gitlab/embedded/service/gitlab-rails/VERSION 11.11.4 [root@ELK-SZ-03 backups]# gitlab-rake gitlab:backup:restore BACKUP=1562838333_2019_07_11_11.11.4_gitlab_backup.tar The backup file 1562838333_2019_07_11_11.11.4_gitlab_backup.tar_gitlab_backup.tar does not exist!

songxx911 avatar Jul 11 '19 10:07 songxx911

Your restore command is wrong. Check https://docs.gitlab.com/ee/raketasks/backup_restore.html#restore and specify only the timestamp.

sund avatar Jul 11 '19 12:07 sund