-
Notifications
You must be signed in to change notification settings - Fork 45
retain kopia-assist when not on incrementals #1941
Conversation
@@ -80,6 +81,7 @@ func (ss *streamStore) WriteBackupDetails( | |||
ss.service, | |||
nil, | |||
nil, | |||
isIncremental, |
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.
this depends on how much of the underlying incremental behavior we want to expose to higher layer. For now since we're already passing nil
for the set of bases I think it's fine to just hardcode it to false
and not even expose it as another parameter
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.
ah, I was looking at the wrong param. You're right, no point in the flag if the input is nil.
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.
912a4d4
to
6973b61
Compare
Aviator status
This PR was merged using Aviator. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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?
Type of change
Issue(s)
Test Plan