Description
The documentation suggest that we can create a clone from a S3 bucket but in does not state explicitly in what format should be backup be there:
https://postgres-operator.readthedocs.io/en/latest/user/#how-to-clone-an-existing-postgresql-cluster
one could assume that this is the format used by logical backups and as their documentations states pg_dumpall
:
https://postgres-operator.readthedocs.io/en/latest/administrator/#logical-backups
but I think that is not the case as in the further documentation I can see that this is a basebackup which would suggest the usage of pg_basebackup
:
the two facts above would suggest that there logical backups feature is incompatible with the clone feature and I have to exec in to the cluster and do a pg_basebackup
to S3 my self by hand.
But if that is the case then I don't understand this part of the documentation:
The uid field is also mandatory. The operator will use it to find a correct key inside an S3 bucket
this would suggest that there is some mechanism or convention is which the S3 bucket should be created but I cannot find any documentation for this.
I would be grateful if someone would explain to me how this cloning functionality should work in detail and help to improve the documentation.