You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/backup.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,19 @@ host.
34
34
35
35
## Host management
36
36
37
-
To add a new host, run the following script as your own user on the active Puppet host:
37
+
To add a new host, run the following script as your own user on the Puppet server:
38
38
39
39
```shell-session
40
40
$ jq-tarsnap-keygen FULL-HOSTNAME.ops.jquery.net
41
41
```
42
42
43
-
To delete a host, use this script:
44
-
TODO
43
+
To delete a host, login to the host in question and run:
44
+
45
+
```shell-session
46
+
$ tarsnap --nuke
47
+
```
48
+
49
+
This will ask for confirmation and then automatically enumerate each backup (`sudo tarsnap --list-archives`) and delete it (`sudo tarsnap -d -f <entry>`).
0 commit comments