Skip to content

A Percona Backup for MongoDB client wrapper in typescript including backup retension helpers (to prune old backups)

Notifications You must be signed in to change notification settings

gradecam/pbm-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percona Backup for MongoDB wrapper

This tool is intended to provide a library to wrap the pbm binary for Percona Backup for MongoDB to assist with managing backups, specifically to make it easier to prune old backups while keeping a reasonable retension policy.

Debugging instructions:

To run the jest unit tests with a vscode debugger so you can examine what it is doing:

node ./node_modules/.bin/jest --runInBand

If PITR is enabled then you can't delete a snapshot while a PITR backup exists which depends on it. Before deleting a backup snapshot first use deletePitr with older-than the date of the first backup that you are keeping after the one you want to delete. That means that you can only use PITR in ranges that you are keeping all backups for, unfortunately.

About

A Percona Backup for MongoDB client wrapper in typescript including backup retension helpers (to prune old backups)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published