Skip to main content

This article applies to version 6.

Other available versions:

Version 5 | Version 4icon.qnmark.png

Available in:

StandardPremiumEnterprise
Small Business
Code42 Support

Code42 commands

This article applies to version 6.

Other available versions:

Version 5 | Version 4icon.qnmark.png

Available in:

StandardPremiumEnterprise
Small Business

Overview

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.

Considerations

(Code42 app version 6.8.3 and later) An administrator can prevent pausing with the Pausing Controls setting. If pausing is disallowed, the pause and resume options described below can be run but have no effect.

Steps

  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.

      Code42 commands

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.

True
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

connection.info

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.
False
custom

Deletes any existing Code42 app language and skin customizations.

True
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>
True
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
getlogs

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

False
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
java

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.

True
log

Controls logging levels. Available logging levels are:

  • info
  • debug
  • trace
  • default
True

pause.destination <destination GUID>

(Version 6.8.3 and later)

 

pause.target <destination GUID>

(Version 6.8.2 and earlier)

Pauses backup to a specific destination GUID for 1 hour. Add a number of minutes to pause for a different period, up to a maximum of 24 hours (1440 minutes). For example, pause.destination 43 30 pauses backup to the Code42 cloud destination for 30 minutes.

True

pause.plan
<plan UID>

(Version 6.8.3 and later)

Pauses backup for a specific backup set for 1 hour. Add a number of minutes to pause for a different period, up to a maximum of 24 hours (1440 minutes). For example, pause.plan mybackup1 30 pauses the mybackup1 backup set for 30 minutes.

 

Obtain the plan UID for a backup set by searching for PlanUid in the service.log.0 file.  

True

pause.system

Pauses the Code42 service for 1 hour. Add number of minutes to pause for a different period, up to a maximum of 24 hours (1440 minutes). For example, pause.system 30 pauses for 30 minutes. You can abbreviate this command as pause. True
proxy Manages proxy settings and refresh PAC file. Available proxy commands are:
  • enable
  • disable
  • refresh
  • debug
  • test
True
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>
True
restart Exits the Code42 app and restart the Code42 service. True

resume.destination <destination GUID>

(Version 6.8.3 and later)

 

resume.target <destination GUID>

(Version 6.8.2 and earlier)

Resumes backups to a specific destination GUID.  

resume.plan
<plan UID>

(Version 6.8.3 and later)

Resumes backups for a specific backup set. Obtain the plan UID for a backup set by searching for PlanUid in the service.log.0 file.    
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 stopor exit. True
version Lists version date and time string. True