feat: concorde backup script

This commit is contained in:
DBras 2024-05-27 14:41:07 +02:00
parent 4cd8623115
commit 9c0b05fde0
1 changed files with 15 additions and 0 deletions

15
scripts/Start Backup.bat Executable file
View File

@ -0,0 +1,15 @@
@ECHO off
TITLE Concorde Backup
FOR /f "delims=" %%a IN ('date /t') DO @SET currentDate=%%a
ECHO Dato: %currentDate%
SET src=E:\Concorde\concorde
SET dest=G:\Backups\%currentDate%
ECHO Starter backup, vent venligst...
MKDIR %dest%
XCOPY /Q /E /V %src% %dest%
ECHO Backup oprettet og kan ses her:
ECHO %dest%
PAUSE