Closed metanodotto closed 2 months ago
I'm not able to set user and password for my NAS.
I'm using the ps1 script with these settings: -BackupTo \mynasip\backup-server2024\hyperv -Keep 3 -L \ mynasip\backup-server2024\hyperv\log
obviously I get this error :
`Add-Content : Username or password wrong. In C:\bcks\Hyper-V-Backup.ps1:234 car:17 Add-Content -Path $Log -Encoding ASCII -Value "$Evt"
I read about smtp username and password but nothing about credentials to network shared folder.
Can someone help me?
Thanks!!
Hi, you can use New-PSDrive to mount a shared network directory. I think the better option is to use iSCSI if the NAS allows it.
Update 24.08.29 has support for SMB authentication.
I'm not able to set user and password for my NAS.
I'm using the ps1 script with these settings: -BackupTo \mynasip\backup-server2024\hyperv -Keep 3 -L \ mynasip\backup-server2024\hyperv\log
obviously I get this error :
`Add-Content : Username or password wrong. In C:\bcks\Hyper-V-Backup.ps1:234 car:17 Add-Content -Path $Log -Encoding ASCII -Value "$Evt"
I read about smtp username and password but nothing about credentials to network shared folder.
Can someone help me?
Thanks!!