Hello Folks I've made a PowerShell script to backup all Zidoo content, fully automated. It will cover it's local storage and also connected SSD's. You can exclude folders if you like. First it will check if the Zidoo is running or not, if its not running it will remotely start it using a magic packet. After one minute it will start to copy all the content to a target path of your choice. It will create a sub-folder with the current day's date and then copy all folders, subfolders and all files. It will create a log of all copied folders/files and save it in todays backup folder. Once everything is done and the Zidoo was initially not running, it will shut it down using a web call. If it was running already when the script started no shutdown will happen. You need to adjust: - IP of your Zidoo Box (replace 192.168.0.1 with your Zidoo's IP) - MAC adress of your Zidoo Box (replace 00:00:00:00:00:00) - Exclusions (current version excludes the folder "TEST") - Source directory (\\192.168.0.1\Share) - Target directory (\\QNAP\Zidoo\Backup) ...here is the Script, plan it as scheduled task or use on demand. You may use, adjust or extend to your needs Code: # Version: 1.00 # Date: 2025-05-17 # Last Update: 2025-05-17 # Created by: Houbi # # Powershell script to backup Zidoo content fully automated. # - Magic Packet to wake up Zidoo if offline # - Shutdown Zidoo after Backup only when initially offline # - Creates a new folder with todays date on each run # - Creates log file of backed up folders/files in daily backup folder # # Replace IP 192.168.0.1 with IP if your Zidoo Box # Replace source and target shares as needed function Test-ZidooOnline { param ( [string]$IP = "192.168.0.1", [int]$Timeout = 2000 ) try { $ping = Test-Connection -ComputerName $IP -Count 1 -Quiet -TimeoutSeconds ($Timeout / 1000) return $ping } catch { return $false } } function Send-WOL { param ( [Parameter(Mandatory = $true)] [string]$MacAddress, [int]$Port = 9, [string]$Broadcast = "255.255.255.255" ) $mac = $MacAddress -replace '[:-]', '' if ($mac.Length -ne 12) { throw "Invalid MAC-Adress: $MacAddress" } $macBytes = for ($i = 0; $i -lt 12; $i += 2) { [Convert]::ToByte($mac.Substring($i, 2), 16) } $packet = @([Byte]0xFF) * 6 + ($macBytes * 16) $udpClient = New-Object System.Net.Sockets.UdpClient $udpClient.EnableBroadcast = $true $udpClient.Connect($Broadcast, $Port) [void]$udpClient.Send($packet, $packet.Length) $udpClient.Close() Write-Output "Magic Packet sent to $MacAddress (Broadcast $Broadcast, Port $Port)." } # --- Zidoo Online-Check --- $zidooIP = "192.168.0.1" $zidooWasInitiallyOffline = -not (Test-ZidooOnline -IP $zidooIP) # Nur wenn Zidoo offline ist, WOL senden if ($zidooWasInitiallyOffline) { Send-WOL -MacAddress "00:00:00:00:00:00" Start-Sleep -Seconds 60 } # --- Backup-Process --- $sourcePath = "\\192.168.0.1\Share" # Zidoo-Samba-Share $targetRoot = "\\QNAP\Zidoo\Backup" # Target directory $dateString = Get-Date -Format "yyyy-MM-dd" $targetPath = Join-Path -Path $targetRoot -ChildPath $dateString $logFile = Join-Path -Path $targetPath -ChildPath "CopyLog_$dateString.txt" if (-not (Test-Path $targetPath)) { New-Item -Path $targetPath -ItemType Directory | Out-Null } $itemsToCopy = Get-ChildItem -Path $sourcePath -Recurse -Force | Where-Object { -not ($_.PSIsContainer -and $_.Name -eq "TEST") -and $_.FullName -notmatch "\\TEST($|\\)" } foreach ($item in $itemsToCopy) { $relativePath = $item.FullName.Substring($sourcePath.Length).TrimStart("\") $destination = Join-Path -Path $targetPath -ChildPath $relativePath if ($item.PSIsContainer) { if (-not (Test-Path $destination)) { New-Item -Path $destination -ItemType Directory | Out-Null } Add-Content -Path $logFile -Value "Folder created: $relativePath" } else { $destDir = Split-Path -Path $destination if (-not (Test-Path $destDir)) { New-Item -Path $destDir -ItemType Directory | Out-Null } Copy-Item -Path $item.FullName -Destination $destination -Force Add-Content -Path $logFile -Value "File copied: $relativePath" } } if ($zidooWasInitiallyOffline) { Invoke-WebRequest -Uri "http://192.168.0.1:9529/ZidooControlCenter/RemoteControl/sendkey?key=Key.PowerOn.Poweroff" } Enjoy it, Houbi