Merge pull request #1472 from eiabea/master

Fixed readme to match new backup file naming
This commit is contained in:
Sameer Naik 2020-05-06 14:42:30 +05:30 committed by GitHub
commit ef7729373b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1171,18 +1171,18 @@ docker run --name gitlab -it --rm [OPTIONS] \
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
To avoid user interaction in the restore operation, specify the timestamp of the backup using the `BACKUP` argument to the rake task.
To avoid user interaction in the restore operation, specify the timestamp, date and version of the backup using the `BACKUP` argument to the rake task.
```bash
docker run --name gitlab -it --rm [OPTIONS] \
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore BACKUP=1417624827
sameersbn/gitlab:12.9.5 app:rake gitlab:backup:restore BACKUP=1515629493_2018_01_11_10.3.6
```
When using `docker-compose` you may use the following command to execute the restore.
```bash
docker-compose run --rm gitlab app:rake gitlab:backup:restore # List available backups
docker-compose run --rm gitlab app:rake gitlab:backup:restore BACKUP=1417624827 # Choose to restore from 1417624827
docker-compose run --rm gitlab app:rake gitlab:backup:restore BACKUP=1515629493_2018_01_11_10.3.6 # Choose to restore from 1515629493
```