sbgrid-cli.md
... ...
@@ -17,6 +17,7 @@ Set up an account by registering here : [SBGrid registration](https://sbgrid.org
17 17
- [General Usage](#general-usage)
18 18
- [Activation](#activation)
19 19
- [Restoring from a saved config using reactivate](#restoring-from-a-saved-config-using-reactivate)
20
+ - [Migrating existing accounts](#migrating-existing-accounts)
20 21
- [Listing available titles, status](#listing-available-titles-status)
21 22
- [Getting Information about titles](#getting-information-about-titles)
22 23
- [Installing and removing](#installing-and-removing)
... ...
@@ -150,6 +151,25 @@ Trouble activating? See Troubleshooting options further down this page.
150 151
$ sbgrid-cli reactivate <configPath> [OPTIONS...]
151 152
```
152 153
154
+### Migrating existing accounts
155
+
156
+If you have used SBGrid in the past and are moving to a new lab or need to change the configuration of your installation, the sbgrid-cli can migrate between accounts.
157
+
158
+```
159
+ $ sbgrid-cli migrate-account [site] [user] [key] [OPTIONS...]
160
+
161
+
162
+ ARGUMENTS
163
+
164
+ [site] The installation site provided with your new account
165
+ credentials
166
+ [user] The username provided with your new account credentials
167
+ [key] The activation key provided with your new account
168
+ credentials
169
+```
170
+
171
+Alternatively, the command can be run as `sbgrid-cli migrate account` and the program will prompt for new site, user, key info.
172
+
153 173
### Listing available titles, status
154 174
155 175
The `sbgrid-cli list` command will show all available titles. They are normally colored by their installation status.