backup_create (v. 3.0.3) results in error when repo is empty
Created by: ovanes
Dumping an empty repository results in error
$ bundle exec rake gitlab:app:backup_create RAILS_ENV=production
Dumping database tables:
- Dumping table events... [DONE]
- Dumping table groups... [DONE]
- Dumping table issues... [DONE]
- Dumping table keys... [DONE]
- Dumping table merge_requests... [DONE]
- Dumping table milestones... [DONE]
- Dumping table notes... [DONE]
- Dumping table projects... [DONE]
- Dumping table protected_branches... [DONE]
- Dumping table schema_migrations... [DONE]
- Dumping table snippets... [DONE]
- Dumping table taggings... [DONE]
- Dumping table tags... [DONE]
- Dumping table users... [DONE]
- Dumping table users_projects... [DONE]
- Dumping table web_hooks... [DONE]
- Dumping table wikis... [DONE]
Dumping repositories:
- Dumping repository test1... [FAILED]
- Dumping repository gitolite-admin.git... [DONE]
Creating backup archive: 1351108331_gitlab_backup.tar [DONE]
Deleting tmp directories...[DONE]
Deleting old backups... [SKIPPING]