Already a NinjaOne customer? Log in to view more guides and the latest updates.

File and Folder Exclusions in Image Backup

Topic

This article discusses excluding files and folders in Image backup plans using VSS exclusions.

Environment

  • NinjaOne Image Backup
  • Microsoft Windows

Description

Image file and folder exclusions in NinjaOne Device Backup permit users to exclude files and folders from Image backups. To exclude specific files and folders from your image backups, follow these steps:

  1. In NinjaOne, navigate to AdministrationPolicies, and select the policy you wish to adjust.
  2. Navigate to Backup Image to access the Image backup plan settings.
  3. In the Exclusion section, select Exclude specific files and folders from this plan.
image file folder.png
Figure 1: Exclude specific files and folders (click to enlarge)
  1. Enter the path for each file or folder you wish to exclude from the image backup. Specify the files by fully qualified path. You can also use wildcards, as in this example:
C:UsersUsernameDocumentsfile.txt
CUsersUsernameDocuments*.txt

If you can't specify a fully qualified path, you can imply the path by using the $UserProfile$ or $AllVolumesS variables, as in this example:

$UserProfile$DirectorySubdirectoryFileName.*
$AllVolumes#TemporaryFiles*.*

To make the path recursive, append /s to the end, as in this example:

$UserProfile$DirectorySubdirectoryFileName. * /s
$AllVolumes#TemporaryFiles*.* /s
  1. When you have entered all your selections, click Save.

NinjaOne will add the files you specify to the appropriate Microsoft Windows registry key value. This feature uses the native VSS exclusion capabilities built into Windows. The Windows shadow copy optimization process removes the value from the shadow copy on a best-effort basis. Microsoft does not guarantee this process will always succeed, but our exclusive Ninja writer may make the results more reliable.

This feature is currently supported at the best-effort level and is not guaranteed to work.

FAQ

Next Steps