Skip to content

Refactor Backup::Manager a bit

Created by: rspeicher

Reduces some duplication.

Also when more than one backup is found, list all of the timestamps:

$ rake gitlab:backup:restore
Found more than one backup, please specify which one you want to restore:
--> 1427405397
--> 1427405406
rake gitlab:backup:restore BACKUP=timestamp_of_backup

Merge request reports