Skip to main content

Backup settings

KTH uses Code42 to back up the computers in the client platform.
These are the default settings for Code42.

Default settings

The default backup settings are that the entire disk is backuped with few exceptions, and with little possibility for the user to exclude files / directories.

Data in a directory that has a name that contains _NoBackup (eg, PersonalFiles_NoBackup) will always be excluded from backup. You can create this folder anywhere on your computer, Code42 will always exclude the content.

Certain file types are always excluded from KTH's Code42 backup, such as cache files, files from your KTH AFS directory, and various other system data. You can add to the list of file names or types of files to be excluded. This possibilitiy, however, needs to be activated via KTH IT support.

Files and directories marked to be excluded from backup by the IT support staff can not be included by end users.

Always perform a test of getting back files to evaluate if your backup settings protect your data.

Special settings

Linux (standalone)

In the client platform KTH Ubuntu this is already done, but those using Code42 on self-administrated Linux may need to change watch limit, fs.inotify.max_user_watches in sysctl.conf.

Without this change, you may not be able to unlock the screenlock in your desktop session. See Code42's information (external link) .


Due to Apple's new privacy restrictions in macOS Mojave 10.14 for files and folders containing personal data, Code42 cannot back up some files from apps like Contacts, Photos, and Mail until you grant access to the Code42 app.

Step 1: Grant full disk access to the Code42 app

  1. Open Apple System Preferences.
  2. Open Security & Privacy.
  3. Select the Privacy tab.
  4. If privacy settings are locked:
    1. Click the lock icon in the lower-left corner.
    2. Enter your device password.
  5. In the left pane, select Full Disk Access
  6. In the right pane, click the + icon.
  7. Navigate to Applications and then CrashPlan.
  8. Click Open.
    The following message appears: "CrashPlan" will not have full disk access until it is quit.
  9. Click Quit Now.
  10. (Optional) Click the lock in the lower-left corner to re-lock privacy settings.
  11. (Required) Follow the steps in the next section to restart the Code42 service. The Code42 app will not have full disk access until the Code42 service restarts.

Step 2: Restart the Code42 service

There are two ways to restart the Code42 service: restart your device, or enter a command in the Code42 app command prompt. Choose whichever option is easiest for you.

Option 1

Restart your Mac.

Option 2

  1. Open the Code42 app.
  2. If necessary, sign in to your account.
  3. Press Option+Command+C to open the Code42 commands prompt.
  4. Enter this command:
  5. Press Enter.
    This closes the Code42 app, reauthenticates the Code42 app with the Code42 server, and then restarts the Code42 service. It will take a minute.
Did you find this page useful?
Thank you for helping us!
Belongs to: KTH Intranet
Last changed: Nov 25, 2020