Skip to main content
Code42 Support

Code42 commands

Available in:

Small Business
Applies to:


Code42 Commands allow you to manually enter commands that can be used to generate log files, start and stop the Code42 service, assign a new GUID, and more.


  1. Open the Code42 app.
  2. If necessary, sign in.
    See the table below for commands that require authentication.
  3. Open Code42 Commands by entering the keyboard shortcut for your operating system:
    • Windows: Ctrl+Shift+C
    • Mac: Option+Command+C
    • Linux: Ctrl+Shift+C
  4. Enter commands in the text area.
    • Enter commands without quotes.
    • The commands are case-sensitive, so be sure to enter commands exactly as shown.
    • Use commas to separate multiple commands on the same line.


Available commands

You must be signed in to the Code42 app to use commands that require authentication.

Command Description Requires Authentication?
backup.replace <destination GUID>

Recreates the client-side cache with data from the destination.

backup.scan Performs a file verification scan or checks your file selection for deleted files. You can abbreviate this command as scan. True
backup.set Creates or deletes backup sets. You can abbreviate this command as set. True
backup.validate Validates the client cache for all or a given destination. True

Returns the local IP address and ports used by the Code42 app.

The ports displayed are used for the following:

  • Port: Listens for computer-to-computer connections when a device is configured to accept inbound backups.
    Inbound backup is unsupported in version 5.x and later of the Code42 app.
  • UI Port: Deprecated in versions 5.x and later. In versions 4.x and earlier, binds to localhost for communication between Code42 service and Code42 app.
  • HTTP Port: Binds to localhost for communication between Code42 service and Code42 app.

Deletes any existing Code42 app language and skin customizations.

deauthorize Signs out the current user, disables the Code42 service and requires you to sign in to resume. True
disconnect Disconnects the device or another device on the account using the Globally Unique ID.
For example: disconnect <GUID>
dump Prints the client's state and configuration to the logs for easy reading. If possible, always issue this command before sending the logs to support. False
exit Exits the Code42 app and turns off the background Code42 service. True

Compiles the client logs into a compressed archive and displays the archives path.
For example: /Library/Logs/CrashPlan/cl_<GUID><hostname><date/timestamp>.zip

guid Displays device's current identity (Globally Unique ID). True
guid new Assigns a new, randomly generated device identity. True
guid <guid number> Reassigns the provided GUID from another device in your account to this device. True
help Lists available commands. False

Displays or sets the Java JVM maximum heap size. You can use this command to increase the amount of memory allocated to the Code42 service.


Controls logging levels. Available logging levels are:

  • info
  • debug
  • trace
  • default
pause.system Pauses the Code42 service for 24 hours. Add number of minutes to pause for a different period. For example, pause.system 30 pauses for 30 minutes. You can abbreviate this command as pause. True
<destination GUID>
<time in minutes>
Pauses backup to a specific destination GUID for a specific number of minutes. For example, 43 30 pauses backup to the Code42 public cloud destination for 30 minutes. True
proxy Manages proxy settings and refresh PAC file. Available proxy commands are:
  • enable
  • disable
  • refresh
  • debug
  • test
reauthorize Reauthorizes with the server. You can abbreviate this command as rz. True
reconnect Reconnects the device or another device on the account using the Globally Unique ID.
For example: reconnect <GUID>
restart Exits the Code42 app and restart the Code42 service. True
resume.system Resumes the Code42 service. You can abbreviate this command as resume. True
send.log Sends logs to the server. False
shutdown Stops the Code42 service. You can abbreviate this command as stop or exit. True
version Lists version date and time string. True