You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stated to use the PS a little bit ago - excellent work!
I was running into an issue with the temp-backup folder already existing error. Seems like the last backup was not correctly deleting the folder. This will exit the startup with error. (error: folder already exist in line 79 of Backup-Server.psm1. Maybe the compressor had a lock on the folder when the remove command was executed?
I fixed the problem by adding another remove folder (new line 79) before creating it again:
This works 100% now.
stated to use the PS a little bit ago - excellent work!
I was running into an issue with the temp-backup folder already existing error. Seems like the last backup was not correctly deleting the folder. This will exit the startup with error. (error: folder already exist in line 79 of Backup-Server.psm1. Maybe the compressor had a lock on the folder when the remove command was executed?
I fixed the problem by adding another remove folder (new line 79) before creating it again:
This works 100% now.
78: # Create a temporary directory$TempDirectory = New-Item -ItemType Directory -Path "$ ($Backups.Path)$Type$((Get-Item $Backups.Saves).Name)"
79: Remove-Item -Path "$($Backups.Path)$Type$((Get-Item $Backups.Saves).Name)" -Force -Recurse
80:
The text was updated successfully, but these errors were encountered: