I have a Jenkins installation in Docker and I need to create backups and restore them when I need. I tried some plugins but because I'm using docker they don't work. Besides that, I need to backup everything including historic.
I stumbled on this page: https://medium.com/pacroy/how-to-backup-and-restore-your-jenkins-data-volume-in-docker-2ac66d99315a
but the instructions are for windows and I can't adapt that to my linux environment.
My question is: how can I create full backups of my jenkins instance in docker in a way that I can restore it or even create a copy in another machine.
Thanks.