Including or excluding files for backup

Advanced file selection allows you to quickly select or de-select files for backup and archive operations by specifying file attributes.

With this feature you can do the following:

To include or exclude files for backup

  1. On the navigation bar, click the arrow next to Backup.

  2. Click New Backup Job.

  3. Select the resource that contains the files you want to include or exclude from the backup.

  4. Click Include/Exclude.

  5. Select the appropriate options as follows:

    Resources

    If you want to include or exclude files from a backup of a different drive than the one you selected previously on the Backup Job Properties dialog box, select the new drive that contains the files you want to include or exclude.

    Path

    If you want to include or exclude a specific file, type the name of the folder and/or subfolder on the selected drive that contains the file.

    You can use wildcard characters. Use a question mark (?) to represent any single character. Use two asterisks (**) to represent any number of characters.

    For example, on your C: drive you have a My Documents folder that contains a subfolder called Work Files. There are three Work Files subfolders called 1999, 2000, and 2001. Each one of those subfolders has a subfolder called Personnel.

    If you type the path as \My Documents\**\Personnel, the backup will include or exclude the following:

    • C:\My Documents\Work Files\2001\Personnel

    • C:\My Documents\Work Files\2000\Personnel

    • C:\My Documents\Work Files\1999\Personnel

    In addition, every subfolder below the ** wildcard is included or excluded. However, the only files from the subfolders that are included or excluded are those that match the file name you type in the File field. So in the example above, every subfolder of C:\My Documents is included in or excluded from the backup, and only the files that match the file name you type in the File field are included or excluded.

    After you type the path, type the file name in the File field.

    File

    Type the name of the file you want to include in or exclude from the backup.

    You can use wildcard characters. Use a question mark (?) to represent any single character. Use two asterisks (**) to represent any number of characters.

    For example, to include all files with the .exe extension, type **.exe.

    After you type the file name, indicate whether you want to include or exclude it.

    Include

    (Default) Select this option to include the files in the job.

    Exclude

    Select this option to exclude the files from the job.

    Include subdirectories

    Select this option if you want to select the contents of all the subfolders when a directory is selected.

    Only modified files

    Select this to include or exclude modified files in the path you specify.

    Only read-only files

    Select this to include or exclude files that cannot be modified.

    Files dated

    Select this to include or exclude the files created or modified during a specific time period. Then select the beginning and ending dates.

    Files not accessed in x days

    Select this to include or exclude files that have not been accessed in a specified number of days. This is useful when you need to migrate older files from your system.

    If the data does not match all of the criteria specified in the Advanced Backup File Selection dialog box, Backup Exec does not include or exclude it in the backup.

  6. After completing your selections, click OK.

  7. Submit the operation using the same procedures as required for other backups.

More Information

Creating a backup job by setting job properties