Views:

Summary

File exclusion rules are not relative. They match the whole path. You can use *.txt to match all text files within all folders or with an absolute path to match expected data.

 

Resolution

For example: the backup data is a folder /Opt/Data, containing three files: dos.txt, a.jpg, and bex.doc.

 

  1. Back up with disk level (by selecting /opt as the source) with excluding pattern /*/*.txt and /*/*.bat, DPX successfully backs up and restores the Data folder without dos.txt.


     
  2. Back up with file level (by selecting bex.doc, button.jpg, and dos.txt as the source) with excluding pattern *.txt, DPX successfully backs up and restores the selected files without dos.txt.


     
  3. Back up with folder level (by selecting folder Data under /opt as source) with excluding pattern /*.txt, the DPX backup job does not exclude the dos.txt file because the excluding path is not relative.


     
  4. Back up with folder level (by selecting Data under /opt as source) with excluding pattern /*/*.txt, the DPX backup excludes dos.txt as expected.