This Bat file will copy data from one Nas Hard Disk to another.
Edit this line with your path where your data will go
set drive=\\Naslite-2\disk-2\BACKUP
then alter these lines of the location of folders to be backed up
%backupcmd% "\\Naslite-2\disk-3\BACKUP" "%drive%\BACKUP"
%backupcmd% "\\Naslite-2\disk-3\IMPORTANT DATA" "%drive%\IMPORTANT DATA"
as you can see backup and important data will be copied to disk-2 in to the folder backup
to add more folders to back up copy and paste one section and add and edit.
%backupcmd% "\\Naslite-2\disk-3\another folder" "%drive%\another folder"
Code:
@echo off
:: variables
set drive=\\Naslite-2\disk-2\BACKUP
set backupcmd=xcopy /s /c /d /e /h /i /r /k /y
%backupcmd% "\\Naslite-2\disk-3\BACKUP" "%drive%\BACKUP"
%backupcmd% "\\Naslite-2\disk-3\IMPORTANT DATA" "%drive%\IMPORTANT DATA"
echo Backup Complete!
@pause
I use this bat file with the one i posted above so as i got a copy on two nas drives, I only use this for small files, like emails etc you could schedule them and have then ran at login or a certain time.
Note it only copies data that has changed so is quick when done a second time.