Print the point in time being used (#4032)

When looking for recently deleted backups, print the point in time that kopia will be opened at so that if we need to manually debug something the value is right there.

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [x] 💻 CI/Deployment
- [x] 🧹 Tech Debt/Cleanup

#### Issue(s)

* #4031

#### Test Plan

- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
ashmrtn 2023-08-15 08:27:34 -07:00 committed by GitHub
parent 132ef2e010
commit e02f4a9d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,12 @@ func pitrListBackups(
pitr time.Time,
backupIDs []string,
) error {
logAndPrint(
ctx,
"looking for %d backup(s) using timestamp %v\n",
len(backupIDs),
pitr)
if len(backupIDs) == 0 {
return nil
}