summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/backup_restore.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index b0d90ea0345..e98df17d944 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -947,7 +947,7 @@ backup beforehand.
For installations from source:
```shell
- sudo -u git -H bundle exec rails dbconsole RAILS_ENV=production
+ sudo -u git -H bundle exec rails dbconsole -e production
```
1. Check the `ci_group_variables` and `ci_variables` tables:
@@ -982,7 +982,7 @@ backup beforehand.
For installations from source:
```shell
- sudo -u git -H bundle exec rails dbconsole RAILS_ENV=production
+ sudo -u git -H bundle exec rails dbconsole -e production
```
1. Clear all the tokens for projects, groups, and the whole instance:
@@ -1015,7 +1015,7 @@ backup beforehand.
For installations from source:
```shell
- sudo -u git -H bundle exec rails dbconsole RAILS_ENV=production
+ sudo -u git -H bundle exec rails dbconsole -e production
```
1. Clear all the tokens for pending jobs: