pgmoneta-cli(1)

πŸ“¦
version 0.21.0 Β· 2 versions
, in nixos 26.05

πŸ’… 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, --config CONFIG_FILE β€” sets the path to the pgmoneta_cli.conf file πŸ’–
  • -h, --host HOST β€” sets the host name
  • -p, --port PORT β€” sets the port number
  • -U, --user USERNAME β€” sets the user name
  • -P, --password PASSWORD β€” sets the password (shhh πŸ™ˆ)
  • -L, --logfile FILE β€” 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, --format text|json|raw β€” sets the output format. pick your aesthetic ✨
  • -C, --compress none|gz|zstd|lz4|bz2 β€” compresses the wire protocol. she's squished but she still slays
  • -E, --encrypt none|aes|aes256|aes192|aes128 β€” encrypts the wire protocol πŸ”
  • -s, --sort asc|desc β€” sorts the result (for list-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 you
  • archive β€” archives a backup from a server
  • backup β€” backs up a server. the whole point, honestly πŸ‘‘
  • clear [prometheus] β€” clears Prometheus data
  • compress β€” compresses a file using the configured method
  • conf [get|ls|reload|set] β€” manages the configuration
  • decompress β€” decompresses a file using the configured method
  • decrypt β€” decrypts a file using master-key πŸ”‘
  • delete β€” deletes a backup from a server πŸ’€ gone but not forgotten
  • encrypt β€” encrypts a file using master-key πŸ”‘
  • expunge β€” expunges a backup from a server
  • info β€” gives you information about a backup. the gossip πŸ“
  • list-backup β€” lists the backups for a server
  • mode β€” switches the mode for a server
  • ping β€” checks if pgmoneta is alive. hey bestie, u up? πŸ¦‹
  • progress β€” gets progress for a command
  • restore β€” restores a backup from a server 🌈
  • retain β€” retains a backup from a server
  • shutdown β€” shuts down pgmoneta 😭 bye bestie
  • status [details] β€” status of pgmoneta, with optional details
  • verify β€” 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 🫢

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