You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
We are trying to accomplish the following:
Scenario -
Automate the creation and removal of the backup file from the Atlassian cloud sites (JSW/Confluence) for rollback purposes, etc.
Issue -
Scenario I
Initiating the backup-jira-api-token.psi script from https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/. Each time we run this script with Windows task scheduler the script will execute and download the backup. However, the file is approximately half the size of a manually downloaded file and is corrupted.
Scenario II
If we run the powershell script manually, the file downloads and is the expected size and is not corrupted.
Root cause -
Unknown.
Could this be related to the scheduled task timing out?
Thank you in advance for any recommendations or thoughts you have with this issue.
Thanks,
Aaron
I am working with Aaron on this wanted to add what we see in the script running with task scheduler
PS>TerminatingError(Invoke-WebRequest): "Received an unexpected EOF or 0 bytes from the transport stream."
Invoke-WebRequest : Received an unexpected EOF or 0 bytes from the transport stream.
At C:\scripts\Atlassian_Cloud_Backup\jiracloudbkup.ps1:96 char:1
+ Invoke-WebRequest -Method Get -Headers $header -WebSession $session - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], IOException
+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Invoke-WebRequest : Received an unexpected EOF or 0 bytes from the transport stream.
At C:\scripts\Atlassian_Cloud_Backup\jiracloudbkup.ps1:96 char:1
+ Invoke-WebRequest -Method Get -Headers $header -WebSession $session - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], IOException
+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.InvokeWebRequest
Command
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.