Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
VAB
Enthusiast
Posts: 45
Liked: 5 times
Joined: Jan 09, 2024 10:07 am
Full Name: VAB
Contact:

[SOLARIS] Questions about exclude lists

Post by VAB »

Hello!


We are using Veeam Agent for Oracle Solaris 4.6.1.1789 on a SPARC kernel zone running Solaris 11.4 SRU 71. The documentatiob explicitly states that for file level backups, UNIX wildcards are only allowed in include/exclude lists for files, not in directories. I decided to try directory wildcards anyway. 8)

In an include list, I indeed get an error when I specify a wildcard. However, when I use a wildcard in an exclude list, the wildcard is silently accepted:

Code: Select all

# veeamconfig job info --id d3d00216-2025-4b7f-8066-33647945ffa9
Backup job:
   ID: {d3d00216-2025-4b7f-8066-33647945ffa9}
   Name: test_rpool
   Repository ID: {d08ef0f0-c17a-4c8d-9e70-c5a1ab78116b}
   Repository name: [...] Backup Repository
   Creation time: 2025-04-29 14:47:45
   Options:
      Compression: Zstd9
      Max points: 7
      Block size: 8192 KB
      File system indexing is disabled
   Objects for backup:
      Include Directory: /
      Exclude Directory: /dev
      Exclude Directory: /devices
      Exclude Directory: /home
      Exclude Directory: /net
      Exclude Directory: /nfs4
      Exclude Directory: /proc
      Exclude Directory: /system
      Exclude Directory: /global
      Exclude Directory: /etc/mnttab
      Exclude Directory: /tmp
      Exclude Directory: /etc/dfs/sharetab
      Exclude Directory: /media
      Exclude Directory: /opt/pp*     <--- wildcard
   Implicitly excluded directories:
      //root/var/share/sstore/repo    <--- does not exist
      /dev/fd
      /system/contract
      /system/object
      /system/volatile
      /tmp/veeam
      /var/share/sstore/repo
As expected, the wildcard does not work, and all directories matching the pattern "/opt/pp*" are included in the backup. Wouldn't it be better to refuse job creation altogether, when an "Exclude Directory" contains a wildcard?

Also, I noticed that the "Implicitly excluded directories" list contains two entries for the "sstore" repository. The first one ("//root/var/share/sstore/repo") does not exist. How do I get rid of this spurious entry?


Thanks,
VAB
rovshan.pashayev
Veeam Software
Posts: 570
Liked: 113 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: [SOLARIS] Questions about exclude lists

Post by rovshan.pashayev »

Hello,

Thank you for your feedback!
As expected, the wildcard does not work, and all directories matching the pattern "/opt/pp*" are included in the backup. Wouldn't it be better to refuse job creation altogether when an "Exclude Directory" contains a wildcard?
We appreciate your concern and have noted the requests for support regarding rich wildcards for folder exclusions.
The first one ("//root/var/share/sstore/repo") does not exist. How do I get rid of this spurious entry?
You're right; this entry should not be there. We will look into it.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests