Policy rules for files and folders
When you select files or folders to back up, you can use the following policy rules, according to the operating system of the protected workload.
Windows
- Full path to a file or folder. For example, D:\Work\Text.doc or C:\Windows.
- Predefined rules:
[All Files]
selects all files on all volumes of the machine.[All Profiles Folder]
selects the folder in which all user profiles are located. For example, C:\Users or C:\Documents and Settings.
-
Environment variables:
-
%ALLUSERSPROFILE%
selects the folder in which the common data of all user profiles is located. For example, C:\ProgramData or C:\Documents and Settings\All Users. -
%PROGRAMFILES%
selects the Program Files folder. For example, C:\Program Files. -
%WINDIR%
selects the Windows folder. For example, C:\Windows.
You can use other environment variables or a combination of environment variables and text. For example, to select the Java folder in the Program Files folder, specify: %PROGRAMFILES%\Java.
-
Linux
-
Full path to a file or directory.
For example, to back up the file.txt file on volume /dev/hda3 that is mounted on /home/usr/docs, specify /dev/hda3/file.txt or /home/usr/docs/file.txt.
-
Predefined rules:
[All Profiles Folder]
selects /home. By default, all user profiles are stored in this folder./home
selects the home directory of the common users./root
selects the root user's home directory./usr
selects the directory for all user-related programs./etc
selects the directory for system configuration files.
macOS
-
Full path to a file or directory.
For example:
- To back up file.txt on a user's desktop, specify /Users/<user name>/Desktop/file.txt.
- To back up the Desktop, the Documents, and the Downloads folders of a user, specify /Users/<user name>/Desktop, /Users/<user name>/Documents, and /Users/<user name>/Downloads.
- To back up the home folders of all users who have an account on this machine, specify /Users.
- To back up the folder in which the applications are installed, specify /Applications.
-
Predefined rules
[All Profiles Folder]
selects /Users. By default, all user profiles are stored in this folder.