Skip to main content

RunDeck Backups

Adapted from here: https://docs.rundeck.com/docs/administration/maintenance/backup.html

We will use the rd tool to access the RunDeck API and export the project job list.

1. Execute this, to export the project and job list:

rd jobs list -f /projects/rundeck_backups/jobs.xml -p ansible-test

If the above command returns this error, you need to set the environment variable:

image.png

If so, set this variable:

export RD_URL=http://192.168.1.200:4440

2. Stop the server:

rundeckd stop