reinit
Re-initialize Device
Re-register this device with FileFortress using a new registration code. Useful if you accidentally removed the device from the web portal.
Syntax
filefortress reinit --code <new_registration_code>
Important Note
This command requires access to your existing local configuration. If you have a custom password set, you must provide it using the global --password or --key-file option.
Parameters
| Parameter | Description | Required |
|---|---|---|
--code, -c |
New registration code from your dashboard | Required |
Examples
Re-initialize with automatic encryption:
filefortress reinit --code XYZ789ABC
For devices using default machine-specific encryption.
Re-initialize with custom password:
filefortress --password mySecretPassword reinit --code XYZ789ABC
When you have a custom password set for your local database.
Re-initialize using a key file:
filefortress --key-file ~/filefortress.key reinit --code XYZ789ABC
Using a private key file for authentication.
When to Use This Command
Accidental Removal
Removed device from web portal by mistake
Invalid Registration
Device registration became invalid
Preserve Data
Re-register without losing local config
What Gets Preserved
Device name and type
Encryption settings
Remote storage connections
File index and scan data