Categories
Programming Windows

Atlassian Bitbucket Server Backup Client: script for running backup as Windows task – Version 0.10

I have written a script for running Atlassian Bitbucket Server Backup Client as a Windows task on my server. There are two main reasons/features why I created that script and why I want to share it.

  • Because my server is mostly off, I had to write a script that waits for the Bitbucket Server service to start because I want my server to run backup directly after booting.
    But why I need a script here? Because afaik there is no possibility to wait for a service with a Windows task.

  • Furthermore I wanted an E-Mail notification after doing the job. With the script I get an E-Mail when anything goes wrong or the backup fails because of some reasons, so I can manage the problem.

The script is written in PowerShell script language which I never used before. The reason for this is simple: I HATE batch files… ;) You can find all details and the download on the GitHub page

Stash Backup Client Script (7.4 KiB, 239 hits)

I hope it’s all correct and not too bad for my first script with PowerShell. Let me know what you think about it?! Are there any improvements?


Please have a look at the CHANGELOG.md when you want to see fruther changes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.