Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ad25b2bb
Commit
ad25b2bb
authored
Dec 17, 2021
by
Caleb Cooper
Committed by
Achilleas Pipinellis
Dec 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instruction to specify group or project when deleting variables
parent
4da5e56d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+7
-0
No files found.
doc/raketasks/backup_restore.md
View file @
ad25b2bb
...
...
@@ -1422,6 +1422,13 @@ after which users must reactivate 2FA.
DELETE
FROM
ci_variables
;
```
1.
If you know the specific group or project from which you wish to delete variables, you can include a
`WHERE`
statement to specify that in your
`DELETE`
:
```
sql
DELETE
FROM
ci_group_variables
WHERE
group_id
=
<
GROUPID
>
;
DELETE
FROM
ci_variables
WHERE
project_id
=
<
PROJECTID
>
;
```
You may need to reconfigure or restart GitLab for the changes to take effect.
#### Reset runner registration tokens
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment