- edited description
Out of Memory Exception when attempting to include attachments in Backup Zip via PowerShell
Issue #13
resolved
When this line is true in the PS script:
$attachments = $true
then we get this error:
Downloading: jira_export_20170529_050059.zip to JIRA-backup.zip
Invoke-WebRequest : Exception of type 'System.OutOfMemoryException' was thrown.
backupjira.ps1:50 char:5
+ Invoke-WebRequest -Method Get -Headers @{"Accept"="*/*"} -WebSession $sessio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], OutOfMemoryException
+ FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Has anyone else run into this? Has anyone else had any success including attachments in their JIRA Cloud backup automation?
Comments (2)
-
reporter -
- changed status to resolved
Obsolete: PS script in repo is newer than this issue.
- Log in to comment