reinit - Re-initialize Device
Re-register your device if removed from portal

Re-register this device with FileFortress using a new registration code. This is useful if you have 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.

The command will re-use your existing device name and type; it does not change your security settings (password or encryption mode).

Parameters

Parameter Description Required Example
--code New registration code obtained from your dashboard. Yes --code XYZ789ABC

Examples

Re-initialize with a new code (automatic encryption):
filefortress reinit --code XYZ789ABC
Re-registers the device when you are using the default, machine-specific encryption.
Re-initialize with a new code (custom password):
filefortress --password mySecretPassword reinit --code XYZ789ABC
Re-registers the device 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
Re-registers the device using a private key file for authentication.

When to Use This Command

Use reinit when:

You've accidentally removed your device from the web portal
Your device registration has become invalid
You want to re-register without losing your local configuration and data
What Gets Preserved

The reinit command preserves your:

  • Device name and type
  • Encryption settings (password or automatic mode)
  • Remote storage connections
  • File index and scan data

Related Commands

init
Initial device registration and setup
device info
View current device information
setup
Complete onboarding for new users