How to change default location for storing Rundeck Projects

330 Views Asked by At

I am using Rundeck Docker Container. It was running well for 2 months and suddenly it crashed. I lost all the data wrt a project that I had created using CLI. Is there a way to change the default path to store all project related data including job definitions, resources etc?

1

There are 1 best solutions below

0
On

Out of the box, Rundeck stores the project/jobs data on their internal H2 database, this database is only for testing purposes and probably will crash with a lot of data (storing projects at filesystem is deprecated right now), the best approach is to use a "real" database like MySQL, PostgreSQL, or Oracle, in that way Rundeck stores all project/jobs data on a robust backend.

Check this MySQL, PostgreSQL and Oracle Docker environment examples.

Of course, having a backup policy for your instance would be ideal to keep safe all your instance data.