ersiko / rundeck-backup Goto Github PK
View Code? Open in Web Editor NEWTool to backup/restore a rundeck instance
Home Page: http://www.tomas.cat/blog/project-rundeck-backup
Tool to backup/restore a rundeck instance
Home Page: http://www.tomas.cat/blog/project-rundeck-backup
Cumulative Bug-Pack :D
After a server backup, while restoring on a new fresh installed server I´ve found these errors:
I noticed that after a few years without updating, this script is a bit out of step with Rundeck's new commands.
For example, the "rd-jobs" command has been replaced by "rd jobs".
Just by making this change in the script, it was already possible to use the backup function, but in the restore function it is requesting that the project be informed through a "-p" or "--project"
if you have rundeck 2.6.7 and a backup made with the script extract them inside a folder, go to that folder and use this poor code lines after first restore attempt:
for PRO in projects/* ; do
echo "PROJECT: $PRO"
PFILE=basename ${PRO}
echo "PFILE: $PFILE"
echo "JOB FILE: jobs/$PFILE.xml"
echo
echo "restoring....."
echo
rd-jobs load -f jobs/$PFILE.xml -p $PFILE
done
Remember to backup plugins and scripts if you use them on your jobs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.