It’s very easy!

First you need to install Python as admin in your Windows System. Go to the website, select Download for Windows.

Once installed, you must set the Python executables on the Windows System PATH environment variable. In “Control Panel “-> “System and Security” -> “System” click on “Advanced System Settings”

Captura de pantalla 2019-09-22 a las 21.00.52

Now click in “Environment Variables” button

Captura de pantalla 2019-09-22 a las 21.02.13

Now click in the variable “PATH” (of the System variables part). Click on Edit, and add two new params.

Captura de pantalla 2019-09-22 a las 21.04.13

You must add two params like this, but replacing my username (raulpelaez) by yours.



Now we are ready to install “PIP“, its easy, just download this file named (Right click save link as file)

Go to your “Documents” folder and move the file inside.

Captura de pantalla 2019-09-22 a las 21.10.33

Now download the jira-backup-py scripts from Github (click here) and decompress the file (you will see the jira-backup-py folder). The scripts are from this repo.

Open the “CMD” (Command Prompt) and go to your “Documents” folder. (cd Documents)

Now execute this sentence to install “PIP


Once installed you can go to the “jira-backups-py” folder and execute this:

pip install -r requirements.txt

(Optional) Now you can install a Virtual Environment (here more instructions)

 pip install virtualenv 

(Mandatory) Now generate the API token of the user (in this Atlassian website):


Edit with notepad the file config.json and fill the few variables, it’s very easy!

Captura de pantalla 2019-09-22 a las 21.19.21

Now you are ready to run the script!


Next step is configure the scheduler of Windows to execute the backup each 4 days at 10:00 (this is an example), remember to change the path to the .BAT file to your path

schtasks /create /tn "jira-backup" /sc DAILY /mo 4 /tr "C:\jira-backup-py\win_task_wrapper.bat" /st 10:00

You will see something like this:

Captura de pantalla 2019-09-22 a las 21.26.47

That’s all!

By MrAddon


Posted by:.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s