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 versions 6 and 7.

Other available versions:

CloudLink: What version am I on?

Code42 Support

Exclude files from backup

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 versions 6 and 7.

Other available versions:

CloudLink: What version am I on?

Overview

This article provides a high-level overview of the many ways end users and administrators can exclude files from backups. You may want to exclude files from backups for many reasons, such as to ensure you back up only high-value files, to reduce network traffic, and to keep archive size manageable.

Considerations

Exclude files using the Code42 app

Users of the Code42 app can exclude files from backups with the following methods.

Type of exclusion Description
Manage files Excludes all files that are not selected for backup.
File exclusions Excludes file types from backup such as mp3 and wmv.

Manage files

Users of the Code42 app use the Manage Files view to select files for backup. Any files not selected are excluded from backup. For more information, see Change the file selection.

To prevent users from changing file selections in the Code42 app, you can use the lock option while setting file selection exclusions in the administration console.

  1. In the Code42 app, click Manage Files. 
    • Code42 app version 6.8.3 and later: Click Manage Files.
    • Code42 app version 6.8.2 and earlier: Click Details > Manage Files.
  2. Select only those files you want to back up. Any files you do not select are excluded from backup.
  3. To remove previously-selected files from backup:
    1. Navigate to the drive, folder, or files that you want to remove, then deselect the check box next to any item you want to delete from your backup.
    2. Click Save.
      If you deselected any files or folders, the Delete Files from Backup warning displays.
    3. If applicable, select I understand to confirm you want to delete deselected files from your backup.
    4. If applicable, select Delete.

File exclusions

Users of the Code42 app use the File Exclusions setting to specify file types to exclude from backup, for example, mp3, wmv, etc. For more information, see Exclude or filter files using file type and regular expressions (regex).

To prevent users from changing file exclusions in the Code42 app, you can use the lock option while setting filename exclusions in the administration console

  1. In the Code42 app, navigate to Backup Set Settings:
    • Code42 app version 6.8.3 and later:
      1. Select Settings gear icon.
      2. Select Backup Sets.
    • Code42 app version 6.8.2 and earlier:
      1. Select Details.
      2. Select the action menu.
  2. To the right of File Exclusions, click Change.
    The File Exclusions dialog appears.
    File exclusions in the Code42 app
  3. To exclude file types, type the file extensions in the provided field and click Add.
    Select Use regular expression to exclude files using regular expressions.
  4. Click Save.

Exclude files using the administration console

You can exclude files from backups using the following methods.

Type of exclusion Description
File selection Excludes files and directories from backup.
Filename exclusions Excludes file types from backup, for example, mp3, wmv, and so on.
Hidden filenames Hides files and folders from appearing in file selections in the Code42 app so users cannot select them for backup or restore.
Global exclusions Excludes files from backup no matter where the files are being backed up, whether to local storage (for example, an external drive), on-premises storage servers, or to Code42 cloud storage. Files selected with this setting are also removed from all archives. 
Cloud exclusions Excludes files from backup to on-premises storage servers or Code42 cloud storage, but not from local storage (for example, external drives). Files selected with this setting are also removed from Code42 cloud archives. 

File selection

Use the File selection pane to specify files and directories to exclude from backup.  

  1. Choose Organizations > Active.
  2. Select an organization.
  3. From the action menu in the upper-right, choose Device Backup Defaults.
  4. Choose the Backup tab.
  5. Navigate to File selection.
    File selection
  6. In the Excluded files field, add file names and directories that should be excluded from backups.
    In addition to adding file names and directories, you can also use substitution variables.
  7. To apply the settings, push them to devices Push button , or lock them Lock button to prevent users from changing file selections in the Code42 app.

Filename exclusions

Use the Filename exclusions pane to specify file types to exclude from backup, for example, mp3, wmv, etc. 

  1. Choose Organizations > Active.
  2. Select an organization.
  3. From the action menu in the upper-right, choose Device Backup Defaults.
  4. Choose the Backup tab.
  5. Navigate to Filename exclusions.
    Filename exclusions
  6. Choose the platform for which you want to set the exclusion.
  7. Choose Regular Expression if you want to add exclusions using regular expressions.
  8. In the field provided, enter the file types to exclude, for example, mp3, avi, etc., or enter regular expressions for file types.
    You can also use choose Import to import a text file to add to the list of exclusions, or choose Export to export the existing list of exclusions so you can edit it and then import it.
  9. To apply the settings, push them to devices Push button , or lock them Lock button to prevent users from changing file exclusions in the Code42 app.

Hidden filenames

Use the Hidden filenames pane to hide files and folders from appearing in file selections in the Code42 app. Because these files and folders are hidden, users cannot select them for backup or restore. 

  1. Choose Organizations > Active.
  2. Select an organization.
  3. From the action menu in the upper-right, choose Device Backup Defaults.
  4. Choose the General tab.
  5. Navigate to Hidden filenames.
    Hidden filenames
  6. Choose the platform for which you want to set the exclusion.
  7. Choose Regular Expression if you want to add exclusions using regular expressions.
  8. In the field provided, add filenames and path names of directories that should be hidden from selection for backup or restore.
    You can also choose Import to import a text file to add to the list of exclusions, or choose Export to export the existing list of exclusions so you can edit it and then import it.
  9. To apply the settings, push them Push button to devices, or lock them Lock button to prevent the settings from being changed.

Global exclusions

Use the Global exclusions pane to exclude files from backup no matter where the files are being backed up, whether to local storage (for example, an external drive), on-premises storage servers, or to Code42 cloud storage. Files selected with this setting are also removed from all archives. Global Exclusions also apply to all preservation policies

  1. Choose Organizations > Active.
  2. Select an organization.
  3. From the action menu in the upper-right, choose Device Backup Defaults.
  4. Choose the General tab.
  5. Navigate to Global exclusions.
    Global exclusions
  6. Choose the platform for which you want to set the exclusion.
  7. Choose Regular Expression if you want to add exclusions using regular expressions.
  8. In the field provided, add filenames and path names of directories that should be excluded from existing archives and future backups.
    You can also choose Import to import a text file to add to the list of exclusions, or choose Export to export the existing list of exclusions so you can edit it and then import it.
  9. To apply the settings, push them Push button to devices, or lock them Lock button to prevent the settings from being changed.

Cloud exclusions

Use the Cloud exclusions pane to exclude files from backup to on-premises storage servers or Code42 cloud storage, but not from local storage (for example, external drives). Files selected with this setting are also removed from Code42 cloud archives. 

  1. Choose Organizations > Active.
  2. Select an organization.
  3. From the action menu in the upper-right, choose Device Backup Defaults.
  4. Choose the General tab.
  5. Navigate to Cloud exclusions.
    Cloud exclusions
  6. Choose the platform for which you want to set the exclusion.
  7. Choose Regular Expression if you want to add exclusions using regular expressions.
  8. In the field provided, add filenames and path names of directories that should be excluded from existing Code42 cloud archives and future backups to the Code42 cloud.
    You can also choose Import to import a text file to add to the list of exclusions, or choose Export to export the existing list of exclusions so you can edit it and import it.
  9. To apply the settings, push them to devicesPush button , or lock them Lock button to prevent the settings from being changed.