Share via

Backup batch file

Anonymous
2018-05-09T05:29:27+00:00

Dear team,

I make one batch file for differential backup. it's working ok.

but I get 1 issue.

  1. when I delete some folder from my source folder after run batch file it's also delete from my destination folder.

can you provide which command I use for differential backup.

find my script as per below:

set starttime= %date% %time%

ROBOCOPY "C:\Apoorva" "C:\Apoorva1" /TEE /S /E /DCOPY:DA /COPY:DAT /PURGE /MIR /Z /NP /XO /MT:4 /R:10 /W:10  >C:\Apoorva1\Backuplog.log

Echo the backup started time : %starttime%  >>C:\Apoorva1\Backuplog.log

Echo the backup ended time   : %date% %time%  >>C:\Apoorva1\Backuplog.log

pause

Note:

Apoorva is name of "Source Folder" and Apoorva1 is name of "destination Folder"

Microsoft 365 and Office | Microsoft Forms | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-05-09T11:47:45+00:00

Hi Apoorva J. Patel,

As this forum category here is focus on Office 365 Education product related problems, for your situation, we kindly suggest you post a new thread in our MSDN forum to get dedicated support. It is a specific channel handles related question.

Appreciate your understanding.

Regards,

Zixuan

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful