Skip to content

Instantly share code, notes, and snippets.

@jozko
Last active March 30, 2021 08:11
Show Gist options
  • Save jozko/d0ea0d115bb45eb18a9a72639323e9b7 to your computer and use it in GitHub Desktop.
Save jozko/d0ea0d115bb45eb18a9a72639323e9b7 to your computer and use it in GitHub Desktop.
PBM install TLDR for simple MongoDB replicaset
:~# pbm status

Cluster:
========
rs0:
 - rs0/192.168.33.30:27017: pbm-agent v1.4.1 OK
 - rs0/192.168.33.31:27017: pbm-agent v1.4.1 OK
 - rs0/192.168.33.32:27017: pbm-agent v1.4.1 OK

PITR incremental backup:
========================
Status [OFF]

Currently running:
==================
(none)

Backups:
========
FS  /srv/pbm
 Snapshots:
  • Try creating a backup using pbm backup from any host in replicaset
  • TODO - create a simple Ansible role to do all of the above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment