Cannot create snapshot on a Ubuntu Client

Hello,

i become on a Ubuntu Client with btrfs Errors like Cannot create snapshot of file system with type cifs Creating snapshot of "/data/SMB/NAS/Public" failed Creating snapshot of "/snap/firefox/8054/data-dir/themes" failed Creating snapshot of "/snap/thunderbird/1057/data-dir/themes" failed

But i exclude the SMB Path with /data/NFS;/data/SMB;/data/SMB/NAS

Whats must more exclude to prevent this Errors?
But, Firefox, Thunderbird was nice to include/backup.

Many Thanks!

Many Greetings

Revan335

answer from AI:

These errors occur because UrBackup attempts to back up paths where taking a snapshot is technically impossible, such as “snap” (virtual file systems) and “SMB/CIFS” (network shares).

The BTRFS snapshot mechanism works only on local disk partitions; it cannot take a snapshot of a network share or a read-only virtual snap package.

To completely eliminate these errors, you need to add the following paths to the “Excluded files (with wildcards)” section:

1. Exclusion Paths to Add (Exclusion List)

Paste the following into the exclusion list in UrBackup settings:

Plaintext

/snap/*;/data/SMB/*;/data/NFS/*;/run/user/*;/sys/*;/proc/*;/dev/*

2. Specific Causes of Errors and Solutions

Snap Packages (/snap/…): Applications like Firefox and Thunderbird are installed as “Snaps” in Ubuntu. These are actually compressed, read-only file systems that the system “mounts” under /snap. Snapshots cannot be taken of these, and they do not need to be backed up (since the application can be uninstalled and reinstalled).

Solution: Be sure to exclude the /snap/* path.

Network Shares (CIFS/SMB/NFS): The error you encountered at the /data/SMB/NAS/Public path is caused by UrBackup failing to recognize that this directory is a “mount point.” Even if you exclude the root directory, UrBackup may trigger a snapshot while attempting to access subdirectories.

Solution: Use the /* wildcard to completely exclude the entire contents, not just the root directory.

Virtual File Systems: Adding temporary session files like /run/user/* to the list will reduce the number of errors.

3. Important Setting Check

Check the status of the following option in UrBackup Client settings:

“Backup backups across different file systems”: If this is checked, UrBackup will attempt to scan everything from a disk to network shares (SMB).

Recommendation: Leave this unchecked. This way, UrBackup automatically skips mounted remote disks or snap partitions.

4. Why Is It Still Giving Errors? (Wildcard Tip)

You’ve excluded the /data/SMB path, but the error is coming from /data/SMB/NAS/Public. UrBackup sometimes expects an exact path match. Therefore, using this format is more reliable:

*/data/SMB/*

Summary List:

To eliminate errors completely, set the “Excluded files” section to the following:

*/snap/*;*CIFS*;*/data/SMB/*;*/data/NFS/*;*/data/SMB/NAS/*

How can i find this? I don’t see that on the Client or Server Side.

You may not find this in the web interface in the new version. Therefore, please connect to the client via SSH and check the following setting:

File Path: /usr/local/var/urbackup/data/settings.cfg (or /var/urbackup/data/settings.cfg, depending on your installation)

Parameter to Change: backup_across_mountpoints

Edit the file as follows:

sudo nano /etc/default/urbackupclient # This is where it is located in some distributions

# Or check the main configuration file:

sudo grep -r “backup_across_mountpoints” /usr/local/var/urbackup/

Set this value to false or 0 (disabled).

Thats look than this Option was in older Version available? Come this back in the next Version on x Month x?

I’ve never used the previous versions. I’m currently using version 2.5.37. I can’t say whether this feature was available in earlier versions or if it will appear in future versions. I think the developers might be able to answer that question.