This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Commit f984b26
authored
samples: PITR samples backup fix (#247)
* samples: creates a backup using the current time
Instead of using the earliest version time of the database, uses the
current time (from spanner). If we used the earliest version time of the
database instead we would be creating an empty backup, since the
database we are backing up is not 1 hour old (default version retention
period).
* samples: addresses pr comments
Refactors create backup sample1 parent 1c2a64f commit f984b26
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
0 commit comments