Annotate a backup with comments
This tutorial is about adding commnents to a backup.
Preface
This tutorial assumes that you have an installation of PostgreSQL 13+, OpenSSL and pgmoneta.
See Install pgmoneta for more detail.
Add a comment
You can add a comment by
pgmoneta-cli -c pgmoneta.conf annotate primary newest add mykey mycommentpgmoneta-cli -c pgmoneta.conf annotate primary newest add mykey mycommentUpdate a comment
You can update a comment by
pgmoneta-cli -c pgmoneta.conf annotate primary newest update mykey mynewcommentpgmoneta-cli -c pgmoneta.conf annotate primary newest update mykey mynewcommentRemove a comment
You can remove a comment by
pgmoneta-cli -c pgmoneta.conf annotate primary newest remove mykeypgmoneta-cli -c pgmoneta.conf annotate primary newest remove mykeyView comments
You can view the comments by
pgmoneta-cli -c pgmoneta.conf info primary newestpgmoneta-cli -c pgmoneta.conf info primary newest