mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #1472 from eiabea/master
Fixed readme to match new backup file naming
This commit is contained in:
commit
ef7729373b
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user