Support & Knowledge Base

FAQs

Still have questions? We have answers! Check out our Frequently Asked Questions for everything you need on SpiderOak

How do I set up a new user from the commandline

Please note that our method of installation on the command line has changed. These new steps are the best way to do it as of early 2012. You must use a client version 9917 or newer. The --bootstrap method is deprecated, and is replaced by --setup.

In order to set up a new user from the commandline, you first need to signup. After you create an account, setup is easy.

Run SpiderOak with the --setup argument. The easiest way to do this is probably like SpiderOak --setup=- which tells SpiderOak to setup using standard input instead of a JSON file for setup parameters.

Upon running SpiderOak with the above option, you will be prompted for your username and password chosen during signup. It will attempt to get a list of devices (for existing accounts), or prompt you for a new device name.

This process should look like the following on the command line:

 johndoe@jupiter:~$ SpiderOak --setup=-
Login: SOExample
Password: 
Logging in...
Getting list of devices...
Please enter a name for the new device: jupiter
Setting up new device...
Finalizing device setup...
Password hint (optional): This is my new hint!
Generating encryption keys (this could take a while)...
Synchronizing with server (this could take a while)...
batchmode run complete: shutting down

At this point, spideroak should be setup for use on this machine as normal!

If you are adding a new device to an existing account, or reinstalling an existing device, the setup prompts will reflect so:

johndoe@jupiter:~$ SpiderOak --setup=-
Login: SOExample
Password: 
Logging in...
Getting list of devices...
id  name
1   jupiter
To reinstall a device, enter the id (leave blank to set up a new device): 1
Reinstalling device...
Finalizing device setup...
Password hint (optional): Secret hint.
Generating encryption keys (this could take a while)...
Synchronizing with server (this could take a while)...
batchmode run complete: shutting down

Setup supports using an external json file for automation. The format of the file is as follows:

 
{
    "username": "username",
    "password": "password",
    "reinstall": true | false,
    "device_name": "device name",
    "password_hint": "hint"
}

* username can be either a username or an email address (but the parameter name is always "username".

* reinstall can be omitted, and defaults to false (ie. set up a new device). If reinstall is true, then device_name is the name of an existing device to reinstall, otherwise device_name is the name of the new device to set up.

* password_hint is optional and is only used when setting up the first device.

Note for Windows users: Because of the way Windows programs that have a graphical interface work, we are currently unable to read input at the prompts during setup. We are pursuing a fix for this limitation, but in the meantime, Windows users will have to create the above file by hand to enter the password and hint information.

Couldn't find an answer to your question? Email our support with your question.

Have a Question?