Closed ecomstation closed 1 month ago
I can't replicate this issue. The script itself doesn't do any checking for disk space as that's handled by the Operating System. I need more information about your specific configuration to get to the bottom of this issue.
closing issue as stale
Hi all,
on a storage that has about 955 GB the script has difficulties to delete the previous day bkup and this happens:
26/02/2023 20:00
Of course "server2" dir is empty.
if i manually delete the previous day bkup, the bkup start to work again just for one day after i get the same issue
host storage space details: 1.022.353.207.296 total bytes on drive C: 989.163.151.360 bytes free on drive C:
thanks
massimo
this is the log:
2023-02-26 20:00:04 [INFO] Process started 2023-02-26 20:00:04 [INFO] (VM:server2) Attempting to export VM 2023-02-26 20:00:16 [ERROR] (VM:server2) Impossibile copiare file durante l'esportazione.
Spazio su disco insufficiente per eseguire la copia in 'c:\bkup\server2\server2'.
Impossibile copiare i file: Spazio su disco insufficiente. (0x80070070).
Spazio su disco insufficiente per eseguire la copia in 'c:\bkup\server2\server2'. Spazio necessario: 681706.09 MB, spazio disponibile: 264043.38 MB. 2023-02-26 20:00:16 [ERROR] (VM:server2) Export failed, VM skipped 2023-02-26 20:00:16 [INFO] Process finished. 2023-02-26 20:00:16 [INFO] Number of VMs to Backup:1 2023-02-26 20:00:16 [INFO] Backups Successful:0 2023-02-26 20:00:16 [INFO] Backups Failed:1
and this is the command:
PowerShell.exe .\Hyper-V-Backup-sa.ps1 -BackupTo c:\bkup\server2 -L C:\logs -SendTo.........