Skip to content

Commit

Permalink
pgBackRest backup action (#76)
Browse files Browse the repository at this point in the history
* Upgrade to jammy

* Add initial backup code (copied and adapted from k8s charm)

* Disable db-admin relation integration test

* Fix dependency issue

* Improve pip packages installation

* Backup adjustments

* Fix actions descriptions

* Remove commented code
  • Loading branch information
marceloneppel authored Mar 3, 2023
1 parent e427c2f commit 17e902c
Show file tree
Hide file tree
Showing 13 changed files with 1,222 additions and 46 deletions.
4 changes: 4 additions & 0 deletions actions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.

create-backup:
description: Creates a backup to s3 storage.
get-primary:
description: Get the unit which is the primary/leader in the replication.
get-password:
Expand All @@ -11,6 +13,8 @@ get-password:
type: string
description: The username, the default value 'operator'.
Possible values - operator, replication, rewind.
list-backups:
description: Lists backups in s3 storage.
set-password:
description: Change the system user's password, which is used by charm.
It is for internal charm users and SHOULD NOT be used by applications.
Expand Down
Loading

0 comments on commit 17e902c

Please sign in to comment.