Skip to main content

Who is this article for?

Code42 for EnterpriseSee product plans and features
CrashPlan for Small Business 

CrashPlan for Small Business, no.

Code42 for Enterprise, yes.

Link: Product plans and features.

This article applies to Code42 cloud environments.

Code42 Support

Backup occurs over excluded wireless networks connected to VPN

Who is this article for?

Code42 for EnterpriseSee product plans and features
CrashPlan for Small Business 

CrashPlan for Small Business, no.

Code42 for Enterprise, yes.

Link: Product plans and features.

This article applies to Code42 cloud environments.

Overview

If devices in your Code42 environment are not honoring wireless network exclusions while connected to VPN, follow the steps below to stop backup traffic over excluded networks.

Considerations

The recommended solution below requires Code42 app version 8.0 or later.

Recommended solution

Step 1: Find the numeric OrgID

To completely exclude wireless networks, you must first identify the numeric ID of the applicable organization.

  1. Sign in to the Code42 console.
  2. Select Administration > Organizations > Active.
  3. Select an organization:
    • To update your entire Code42 environment, select ​​​​your top-level organization. This organization is at the top of the organizational hierarchy and is the parent for all other organizations.
    • To apply different values to different organizations, select a child organization, then follow the steps below. Repeat these steps with each child organization as necessary.
  4. In the web browser's address bar, note the numeric ID at the end of the URL. In this example, the OrgID is 123456: https://console.us.code42.com/console/#/organization/123456

Step 2: Use the Code42 API to exclude backups

The steps below assume basic familiarity with curl commands. Use the following example as a template to create a command specific to your Code42 environment:

curl -X PUT \
  '<request_url>/api/OrgSettings/<OrgID>' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -u 'username' \
  -d '{ 
    "packets": [
        {
            "key": "device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork",
            "value": "true",
            "locked": true
        }
    ]
}'
  1. Replace <request_url> with the address of your Code42 environment (do not include the brackets in your request).
  2. Replace <OrgID> with the number identified in Step 1 above (do not include the brackets in your request).
  3. Replace username with your Code42 username. When prompted, enter your password.
  4. Set the value parameter to true to block backups. Set the value parameter to false to allow backups.
  5. Execute the curl command in your command-line tool of choice.

Step 3: Confirm the setting

Use the GET method to view the current value of the setting. The OrgSettings resource also contains keys for numerous other Code42 settings. Therefore, to view only your customizations, you must include the device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork key as a query parameter.

The example below assumes basic familiarity with curl commands. Use this as a template to create a command specific to your Code42 environment:

curl -X GET \
  '<request_url>/api/OrgSettings/<OrgID>?keys=device_network_alwaysBlockWhenOnBlacklistedWirelessNetwork' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -u 'username'
  1. Replace <request_url> with the address of your Code42 environment (do not include the brackets in your request).
  2. Replace <OrgID> with the number identified in Step 1 above (do not include the brackets in your request).
  3. Replace username with your Code42 username. When prompted, enter your password.
  4. Execute the curl command in your command-line tool of choice. When prompted, enter your password.
    The Code42 API returns details about the setting and includes either the key pair "value":"true" or "value":"false". If the setting has not been defined yet, the data parameter in the response is empty.
  • Was this article helpful?