-
Notifications
You must be signed in to change notification settings - Fork 103
Add support for incremental backups #1928
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ def create( | |
| backend: BackupStorage, | ||
| include_collections: Union[List[str], str, None] = None, | ||
| exclude_collections: Union[List[str], str, None] = None, | ||
| base_backup_id: Optional[str] = None, | ||
|
||
| wait_for_completion: bool = False, | ||
| config: Optional[BackupConfigCreate] = None, | ||
| backup_location: Optional[BackupLocationType] = None, | ||
|
|
@@ -89,6 +90,7 @@ def create( | |
| "id": backup_id, | ||
| "include": include_collections, | ||
| "exclude": exclude_collections, | ||
| "incremental_backup_base_id": base_backup_id, | ||
| } | ||
|
|
||
| if config is not None: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docstring for the
createmethod is missing documentation for the newbase_backup_idparameter. The docstring should include a description of this parameter in the Args section to explain its purpose for incremental backups.