This commit is contained in:
Florian Späth
2025-01-31 01:44:28 +01:00
commit f2f011343f
9 changed files with 105 additions and 0 deletions

9
R710/backup.ps1 Normal file
View File

@@ -0,0 +1,9 @@
$source="E:\Server-Files-1.1.0\world"
$local="G:\ATM8-world-backups"
$NAS="Y:\Gameserver-Sicherung\ATM8-world-backups"
if (Test-Path -Path $source) {
Remove-Item -Recurse -Force $local
Copy-Item -Path "$source*" -Destination $local -PassThru -recurse
Remove-Item -Recurse -Force $NAS
Copy-Item -Path "$source*" -Destination $NAS -PassThru -recurse
}