Backup restore has no effect

I have a large file backup tar file (142 GB). When i run the restore command, it completes successfully but no changes are applied to the instance - the repo dir (/var/opt/gitlab/git-data/repositories) is empty.

Here is my console history:

root@git:/var/opt/gitlab# sudo gitlab-rake gitlab:backup:restore BACKUP=1472232253
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here
Unpacking backup ... done
Restoring database ... 
Decompressing database ... [DONE]
Restoring PostgreSQL database gitlabhq_production ... START TRANSACTION
SET
SET
SET CONSTRAINTS
COMMIT
START TRANSACTION
COMMIT
[DONE]
done
Restoring repositories ...
Put GitLab hooks in repositories dirs [DONE]
done
Restoring uploads ... 
done
This will rebuild an authorized_keys file.
You will lose any data stored in authorized_keys file.
Do you want to continue (yes/no)? yes


Deleting tmp directories ... done
done
done
done

root@git:/var/opt/gitlab# cd git-data/repositories
root@git:/var/opt/gitlab/git-data/repositories# ls
root@git:/var/opt/gitlab/git-data/repositories# 

How do I troubleshoot this?

Hi

Add --trace to the backup command and run it in nohup and capture the log you can see more detailed trace of what is happening in the background and where it is failing.
Your command will look like this

[root@localhost ~]# nohup sudo gitlab-rake gitlab:backup:restore BACKUP=1472232253 --trace &
press enter/return after this command.
[root@localhost ~]# tail -f nohup.out
During large backup restore operations you might face this Issue. Try this and see if it works.