-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
as I wrote here:
superfly/flyctl#4194
fly pg backup list
and fly pg backup restore
failed sometimes, possibly because of the timeout value that is defined at here is too tight:
postgres-flex/cmd/flexctl/backups.go
Line 150 in bb46120
ctx, cancel := context.WithTimeout(cmd.Context(), 10*time.Second) |
when I exec barman-cloud-backup-list it took 144sec, it'd be nice if we could increase / speicfy timeout value from CLI
root@2871961a5dd468:/# start_time=$(date +%s)
root@2871961a5dd468:/# barman-cloud-backup-list --cloud-provider aws-s3 --endpoint-url https://fly.storage.tigris.dev --profile barman s3://*** *** > /dev/null
root@2871961a5dd468:/# end_time=$(date +%s)
root@2871961a5dd468:/# echo "Time taken: $((end_time - start_time)) seconds"
Time taken: 144 seconds
davissp14
Metadata
Metadata
Assignees
Labels
No labels