Filtering Includes and Excludes On Linux By Pattern
I am trying out the Linux version using the CLI (and GUI to some extent) and so far everything seems decent, except for filtering.
I see in the how-to guide for Linux it mentions using -f and -ef to include files/folders or exclude files/folders. However, none of the examples use any sort of pattern matching. Is it possible at all or is this not a feature of Linux backup? Can I only supply a full folder path to include or a full file path/folder to exclude?
I'm looking for things like
standard posix wildcard matching against files/folders, or regex matching, anything really.
, please check out my screenshots below, the wildcard seems to work perfectly for files - folder exclusions by filters will be supported in future.
Setting up a backup filter in GUI - back up anything that contains [trans] as a part of file name.
Same screenshot from the WebUI.
The folder selected for backup contains 2 files that match the filter.
Backup storage after the plan ran successfully.
It also works in CLI for addBackupPlan (editBackupPlan should allow it too, but apparently there's a bug).
Related CLI guide
Thanksm. The CLI guide on cloudberry website I was using didn't list the file type parameters in docs, but the guide you provided is better and has them.
Sign in or register to add a comment.
Add a Comment
Welcome to MSP360 Forum!
MSP360 Managed Products
Managed Backup - General
Managed Backup Windows
Managed Backup Mac
Managed Backup Linux
Managed Backup SQL Server
Managed Backup Exchange
Managed Backup Microsoft 365
Managed Backup G Workspace
Connect (Remote Desktop)
Backup for Linux
Backup SQL Server
Connect Free/Pro (Remote Desktop)
Backup for Linux fails to backup files with diacritics in file names (Spanish, French, German etc.)
Installing CloudBerry Linux CLI locally without root access?
Mount Points and Cloudberry Backup Linux 126.96.36.199
Backup for Linux v188.8.131.52 Release Notes
Terms of Service
Useful Hints and Tips
Created with PlushForums
© 2022 MSP360 Forum