Question

The backup of PostgreSQL is return error with actionset.


Userlevel 1

Hi,
Not sure whether, I can post the issue with Kanister here.

When I try to trigger backup with postgresql blueprint with kanister, I am getting below error:

```
  Error:
    Message:  Failed to render template: "kopiaOutput" not found
  Progress:
    Last Transition Time:  2023-07-03T06:44:55Z
    Percent Completed:     10.00
  State:                   failed
Events:                    <none>
[root@ip-10-13-193-215 ~]#
```
The command used to create blueprint and actionset is as follow:
 

[root@ip-10-13-193-215 ~]# kubectl create -f https://raw.githubusercontent.com/kanisterio/kanister/master/examples/postgresql/blueprint-v2/postgres-blueprint.yaml -n kanister

blueprint.cr.kanister.io/postgres-bp created

[root@ip-10-13-193-215 ~]#

 

[root@ip-10-13-193-215 ~]# kanctl create actionset --action backup --namespace kanister --blueprint postgres-bp --statefulset postgres-test/my-release-postgresql --profile postgres-test/s3-profile-bz2tf

actionset backup-xr4gw created

[root@ip-10-13-193-215 ~]#

Any idea why I am getting above error?
Thanks,
 


2 comments

Userlevel 7
Badge +7

@jaiganeshjk 

Userlevel 4
Badge +2

Hello @siva,

Thank you for using our K10 community!

Please since you are looking for help using Kanister as an open-source project outside of K10, join the Kanister slack instance (https://kanisterio.slack.com/) and provide the details of your issues there, this way you can have help from other contributors.

What I can help is to provide our documentation regarding using blueprints for PostgreSQL backup with K10:

https://docs.kasten.io/latest/kanister/postgresql/install_logical.html

If you would like to try K10 data protection, there you can follow the instructions and let us know if you have any issues.

Hope it helps.

FRubens

Comment