pgmoneta-cli(1)
π pgmoneta-cli β the group chat for your backups
okay so bestie, welcome to pgmoneta-cli(1), straight out of the General Commands Manual π this is the little command line bestie that talks to pgmoneta for you, and honestly? she's iconic.
β¨ NAME β¨
pgmoneta-cli β the command line utility for pgmoneta π
πΈ SYNOPSIS πΈ
pgmoneta-cli [ -c CONFIG_FILE ] [ COMMAND ]
π¦ DESCRIPTION π¦
So like, pgmoneta-cli is a command line utility for pgmoneta. that's the whole vibe. she's here, she's queued up in your terminal, and she's ready to do backup things with you π«Ά
π OPTIONS π
these are all the flags, and no cap, you're gonna want to know them:
-c,--configCONFIG_FILE β sets the path to thepgmoneta_cli.conffile π-h,--hostHOST β sets the host name-p,--portPORT β sets the port number-U,--userUSERNAME β sets the user name-P,--passwordPASSWORD β sets the password (shhh π)-L,--logfileFILE β sets the logfile-v,--verboseβ outputs a text string of the result, for when you need all the tea-V,--versionβ displays version information-F,--formattext|json|rawβ sets the output format. pick your aesthetic β¨-C,--compressnone|gz|zstd|lz4|bz2β compresses the wire protocol. she's squished but she still slays-E,--encryptnone|aes|aes256|aes192|aes128β encrypts the wire protocol π-s,--sortasc|descβ sorts the result (forlist-backup)--cascadeβ cascades a retain/expunge backup. ripple effect energy π-?,--helpβ displays help, aka the emotional support flag
π COMMANDS π
these are the main characters. each one takes the stage:
annotateβ annotates a backup with comments π¬ like leaving a little sticky note for future youarchiveβ archives a backup from a serverbackupβ backs up a server. the whole point, honestly πclear [prometheus]β clears Prometheus datacompressβ compresses a file using the configured methodconf [get|ls|reload|set]β manages the configurationdecompressβ decompresses a file using the configured methoddecryptβ decrypts a file using master-key πdeleteβ deletes a backup from a server π gone but not forgottenencryptβ encrypts a file using master-key πexpungeβ expunges a backup from a serverinfoβ gives you information about a backup. the gossip πlist-backupβ lists the backups for a servermodeβ switches the mode for a serverpingβ checks if pgmoneta is alive. hey bestie, u up? π¦progressβ gets progress for a commandrestoreβ restores a backup from a server πretainβ retains a backup from a servershutdownβ shuts down pgmoneta π bye bestiestatus [details]β status of pgmoneta, with optional detailsverifyβ verifies a backup from a server β
π REPORTING BUGS π
pgmoneta is maintained on GitHub at <https://github.com/pgmoneta/pgmoneta>
found a bug? don't suffer in silence, bestie β go tell GitHub about it π«Ά
β COPYRIGHT β
pgmoneta is licensed under the 3-clause BSD License.
π§ SEE ALSO π§
pgmoneta-cli.conf(5), pgmoneta.conf(5), pgmoneta(1), pgmoneta-admin(1)
iykyk π
and that's the whole page, bestie π this was pgmoneta-cli(1) from the General Commands Manual β go forth, back things up, slay. periodt β¨π
π¦ where this page comes from
- nixos 26.05: pgmoneta 0.21.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms