-
Notifications
You must be signed in to change notification settings - Fork 45
add flag to force full backup #1901
Comments
## Description Allows the usage of incrementals via feature- flag controls. Feature flags can be enabled on a per-flag basis in either the cli (the flag is hidden from users, normally) or through the sdk by directly toggling the flag property in the control.Options. ## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change - [x] 🌻 Feature ## Issue(s) * #1901 ## Test Plan - [x] 💪 Manual
Started with the inverse: a flag to enable incremental backups for exchange. When we release that behavior and standardize incrementals for exchange, we can use this ticket to remove that feature flag and replace it with a forced full-backup operation. |
Having a flag to disable a full backup may also require a minor change in how kopia.Wrapper works. Currently To disable delta token incrementals, we should skip handing the bases to the function that builds the in-memory hierarchy. However we should still take advantage of kopia-assisted incrementals |
## Description Adds a flag to the BackupCollections interface that identifies whether the caller is running an incremental backup or not. If they are, kopia will utilize the previous base snapshots when building the directory tree. ## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change - [x] 🌻 Feature ## Issue(s) * #1901 ## Test Plan - [x] 💚 E2E
## Description Sets the default run behavior for exchange to use incremental backups. The cli feature flag for enabling exchange incrementals has been swapped for a toggle that disables incrementals, forcing a full backup ## Does this PR need a docs update or release note? - [x] ✅ Yes, it's included ## Type of change - [x] 🌻 Feature ## Issue(s) * #1901 ## Test Plan - [x] ⚡ Unit test - [x] 💚 E2E
## Description Sets the default run behavior for exchange to use incremental backups. The cli feature flag for enabling exchange incrementals has been swapped for a toggle that disables incrementals, forcing a full backup ## Does this PR need a docs update or release note? - [x] ✅ Yes, it's included ## Type of change - [x] 🌻 Feature ## Issue(s) * #1901 ## Test Plan - [x] ⚡ Unit test - [x] 💚 E2E
Incremental backups increase the chance that Corso gets into a state where it can't complete a successful backup because new backups depend on the success and correctness of backups before them. Furthermore, the fact that Corso is going to default to trying to make an incremental backup makes it such that the user must delete older backups if they want to force a full backup for any reason.
We should provide a smoother and less destructive experience for making a full backup even when the incrementals code is enabled by providing a (possibly hidden) CLI flag that forces a full backup
The text was updated successfully, but these errors were encountered: