Jump to content

SigmaRaider

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by SigmaRaider

  1. So i created a little batch file that people with windows OS may find useful. It will create a backup and time stamp it, place a back up folder in your DMPSERVER folder. Just make sure your path to the folder looks like this "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER". Place the following text into windows notepad and save as DMPBackup.bat, Then save where ever you like and set as task in taskmanager to run every hour or however long you want the time intervals to run. currently in the process of having it delte old files after a number of days. -------------------------------------------------------------------------------------------------- @echo off for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%" set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%" set "datestamp=%MM%-%DD%-%YYYY%_%HH%-%MIN%%" robocopy "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER\Universe" "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER\backup\backup_%datestamp%" /e /eta exit -------------------------------------------------------------------------------------------------------
  2. So i created a little batch file that people with windows OS may find useful. It will create a backup and time stamp it and place a back up folder in your DMPSERVER folder. Just make sure your path to the folder looks like this "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER". Place the following text into windows notepad and save as DMPBackup.bat, Then save where ever you like and set as task in taskmanager to run every hour. -------------------------------------------------------------------------------------------------- @echo off for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%" set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%" set "datestamp=%MM%-%DD%-%YYYY%_%HH%-%MIN%%" robocopy "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER\Universe" "C:\program files\steam\steamapps\common\kerbal space program\DMPSERVER\backup\backup_%datestamp%" /e /eta exit -------------------------------------------------------------------------------------------------------
×
×
  • Create New...