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 CloudBerry Lab Forum!
MS SQL Server
CloudBerry Managed Backup
CloudBerry Remote Assistant
Backup for Linux fails to backup files with diacritics in file names (Spanish, French, German etc.)
Trying use Cloudberry Backup for Linux to move file to Oracle Cloud
Cloudberry Linux / Backblaze B2 - file count issue
Installing CloudBerry Linux CLI locally without root access?
Terms of Service
Useful Hints and Tips
Created with PlushForums
© 2019 CloudBerry Lab Forum