-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup service supports conditional filtering of key data #264
Comments
The current uni backup mechanism uses a built-in dir and file list in the process of backing up key data, the filter needs to be expanded on this list, and for directories, each internal subdirectory and file in the backup, the filter also needs to be applied to ensure that the granularity of the file can be processed correctly In terms of usage, consider adding a key data filter list to backup params, which specifies the directories and files to be filtered. In order to provide broader support, consider supporting the |
…pports-conditional-filtering-of-key-data' into main
The following improvements and support have been added
CYFS/src/component/cyfs-backup-lib/src/backup/uni_backup_task.rs Lines 31 to 41 in 89110cc
The above backup command filters the configuration directories of ood-daemon and gateway under /cyfs/etc. The configuration and directories of other services are not affected |
Discussed in #263
Originally posted by wugren May 12, 2023
Sometimes, some configuration directories do not need to be backed up, and it is hoped that they can be excluded through parameters.
The text was updated successfully, but these errors were encountered: