Hey!
Repo: https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/
There is an official repo for automating backups towards the backup API using either Python or PowerShell.
I'd like to contribute some fixes and such to the repo but it seems that forking is disabled and I cannot spawn a pull request.
Is there any public channel where I can reach the developers and share the code?
Or perhaps get access by the devs to fork their repository?
Hello @Dario B ,
I just wrote a CLI tool based on Node.js to manage Atlassian cloud backups. Maybe you want to have a look at it and maybe link to it as an alternative: https://bitbucket.org/addcraftio/atlascloud-backup
Hi @Steffen Müller ,
Thanks a lot for your contribution.
I have linked your solution and the one from @Sebastian Claesson as alternative solutions to the project:
Alternative Solutions
In case the scripts in here don't fit your need, there are a number of alternative solution you can explore:
- PowerShell scripts by Sebastian Claesson
- CLI tool to manage backups for Atlassian Cloud sites by Steffen Müller (based on Node.js, features OpsGenie integration and backup rotation)
Another option is to use Automation for Jira, as explained in the Atlassian Community Article: Automate online site-backups for Jira and Confluence without programming
Please notice none of above solutions is officially supported.
Let me know if there is anything else I can do.
Have a nice weekend.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sebastian Claesson ,
Welcome to the Atlassian Community!
The repository is indeed restricted, but usually customers can interact with us (me and my other colleagues maintaining the scripts) by creating an issue in the project:
Once this has been said, can you kindly let us know what you would like to fix so that maybe we can help you out or do it for you?
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dario B
That works too, but it would be easier if I was able to do a pull request and mark code with comments.
I did a rewrite of the script and conslidated the option to backup confluence and jira in the same powershell script.
I did two concepts..
1) Contains the PowerShell script for the configuration and that dot sources the function
2) Contains the configuration and the function in the same PowerShell script.
I'll post it in my own public repo.
repo: https://bitbucket.org/sebastiancla/atlassian-cloud-backup/src/master/
Would love your feedback on it - And if you need an incentive I can absolutely post issues and with a reference to this repo and lines with the fixes! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Sebastian Claesson !
My colleague @Stephen Sifers is the one that wrote the powershell scripts. I will ask him to review and, in case, incorporate your script.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the attention @Dario B !
@Stephen Sifers , If you have any questions just let me know!
Thanks,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dario B
First off thanks heaps providing the PS - i have tried a previous script for Confluence cloud and it ends into a endless loop.
The script you have provided i can't seem to get it to work. The following error occurs:
Exception calling "Add" with "2" argument(s): "The 'Content-Type' header must be modified using the appropriate property or method.
Parameter name: name"
At C:\Installs\Atlassian\Jira Cloud Backup\scripts\backup-atlassian-cloud-with-function.ps1:92 char:9
+ $Request.Headers.Add($_, $Headers[$_])
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentException
XSRF check failed
At C:\Installs\Atlassian\Jira Cloud Backup\scripts\backup-atlassian-cloud-with-function.ps1:109 char:9
+ Throw $ErrorStream
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (XSRF check failed:String) [], RuntimeException
+ FullyQualifiedErrorId : XSRF check failed
Thanks
Joe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I got a notification by E-mail about having a reply, however I cannot see it here :)
Seems I lost access to my old repository created for this issue, new code is available at:
https://bitbucket.org/sebastianclaesson/atlassian-cloud-backup/src/master/
Please note that these are just snippets out of my full solution but hopefully it should be enough to work :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks heaps for replying. We currently don't have any integration with Azure would it be possible to get a PS script that has the destination of backup to be stored locally on the server?
Thanks
Joe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
EDIT: moved my reply to a separate answer :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.