Skip to content

Delete a backup

This tutorial will show you how to delete a backup from pgmoneta.

Preface

This tutorial assumes that you have an installation of PostgreSQL 13+ and pgmoneta.

See Install pgmoneta for more detail.

Delete the oldest backup

pgmoneta-cli -c pgmoneta.conf delete primary oldest
pgmoneta-cli -c pgmoneta.conf delete primary oldest

will delete the oldest backup on [primary].

(pgmoneta user)