Search in blog

Backup.bat

@echo off

:: Set your External drive path here
set externaldrive=F:\

:: Set your Cloud drive path here
set clouddrive=C:\Users\Andreas\Google Drive

:: Clone commands
set backupcmd=xcopy /s /c /d /e /h /i /r /y
set backupcmd2=xxcopy /CLONE /YY
    echo ### Backing up External drive to the Cloud...
    %backupcmd% "%externaldrive%" "%clouddrive%\External Drive"
      echo Backup Complete!
      @pause

      No comments:

      Post a Comment