PowerShell script

Hat tip to Achim

CLS # nice to have, to clear screen if you use it in the PowerShell ISE

$Body = '{
  "BackupTime": 161...CONTENT_OF_YOUR_BACKUP_FILE...
}'

"Restore Server-Sessions..."

# User and Password only needed, if you use the file "access" in the folder...
# C:\\Program Files (x86)\\Steam\\steamapps\\common\\RaceRoom Dedicated Server
# ...for protecting Dedicated Server Website
$user = 'YOUR_USERNAME_IN_FILE_ACCESS'
$pass = 'YOUR_PASSWORD_IN_FILE_ACCESS'
$pair = "$($user):$($pass)"
$encodedCreds = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes($pair))
$basicAuthValue = "Basic $encodedCreds"

# If you do not use upper Authentication, you can delete Authorisation Part in the header...
$Headers = @{
    Authorization = $basicAuthValue
    'Content-Type' = 'application/json; charset=utf-8'
    }

(Invoke-WebRequest -Method 'POST' -Uri '<http://localhost:8088/dedi>' -Headers $Headers -Body $($Body)).Content

[System.Environment]::NewLine + [System.Environment]::NewLine
#pause # unkomment for controlling