Closed shivansh02 closed 5 days ago
Testing this locally now. In the future, you can also rebase a new PR if there were commits in the meantime.
Works as expected locally and passes the correct args to Borg.
I would still suggest to add some common example files in the dialog, but keep them unselected. Like the ones shown in Borg's docs.
I would still suggest to add some common example files in the dialog, but keep them unselected. Like the ones shown in Borg's docs.
I added two files (.nobackup and .vortaignore). Did these not show up for you? I added the files as default value for exclude_if_present field in models.py and wrote a migration for the same. Did I miss something?
I think we're good now. Let me run it again locally tonight.
Description
Exclude directories where specified files are present.
Related Issue
1863
Motivation and Context
How Has This Been Tested?
Tested manually by running backups. Selected filenames get appended to borg create command as "--exclude-if-present filename". Modified
test_exclusion_preview_populated
to test preview tab.Screenshots (if appropriate):
Types of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.