Add RAILS_ENV to rake docs
This commit is contained in:
parent
2c8a46e0fe
commit
031008648f
3 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@ Creates a backup archive of the database and all repositories. This archive will
|
|||
The filename will be `[TIMESTAMP]_gitlab_backup.tar`. This timestamp can be used to restore an specific backup.
|
||||
|
||||
```
|
||||
bundle exec rake gitlab:backup:create
|
||||
bundle exec rake gitlab:backup:create RAILS_ENV=production
|
||||
```
|
||||
|
||||
Example output:
|
||||
|
@ -40,7 +40,7 @@ Deleting old backups... [SKIPPING]
|
|||
### Restore a previously created backup
|
||||
|
||||
```
|
||||
bundle exec rake gitlab:backup:restore
|
||||
bundle exec rake gitlab:backup:restore RAILS_ENV=production
|
||||
```
|
||||
|
||||
Options:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue