Skip to content

feat: Copy Backup Support #1778

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

Merged
merged 21 commits into from
Mar 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: copy backup - cleaning up samples
  • Loading branch information
ansh0l authored and asthamohta committed Mar 24, 2022
commit dc27ff70935d680d5689439785b31a523a2ecece
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,6 @@ static void updateBackup(DatabaseAdminClient dbAdminClient, BackupId backupId) {
+ TimeUnit.NANOSECONDS.toMicros(backup.getExpireTime().getNanos())
+ TimeUnit.DAYS.toMicros(30L));
Timestamp newExpireTime = Math.min(expireTime, backup.getExpireTime());
new_expire_time = min(backup.maxExpireTime, old_expire_time)

System.out.println(String.format(
"Updating expire time of backup [%s] to %s...",
Expand Down