if you remove the /NP then you can see the percentage, but it takes up space in the log file.
Main Topics
Browse All TopicsHi
Current setup is NAS Box onsite (N4100Pro) and we use 2x1TB NAS Lacie boxes to backup our main unit and take offsite and rotate weekly.
We are using Shadowcraft Storageprotect to image 4-5 PCs on the network & run daily incrementals. I would image that the total amount of data that would be created would be around 300GB.
I want to setup a robocopy script to do the follow:
Copy from N4100 to Lacie. There are 3 folders that are used on the N4100 and most scripts seem to have to target 1 Unit then copy that. I am not sure if you can copy 3 at once, or have to have 3 seperate scripts.
Need it to just copy the files.
Need to have a log file of what files have been copied and backed up. There is probably only 30-40 files so this wont be too large.
What I am wondering is if I can setup the backup so this can be run from any machine? IE Save the robocopy.exe to the NAS and also setup the backup script so it can be run from any computer. If this isnt possible then that is okay as well - mainly just after this as there is about 10 computers but basically no full time staff with most people working 2-3 days per week. (And would need the log file to be save to main NAS box as well).
I have attached something that I have been using, but this has been pinched and mixed up the best I can.
One of the things that you can not see from this script while it is running is what files are getting backed up and how far thru. Not sure if this is possible or not - just with some files that are 100GB+ often not sure if they have stalled or not in the backup
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks that is great. Couple quick questions:
Is there anyway I can setup this script to run on the Main NAS box and please can just navigate to the folder and run it? I am not sure if this will work just as it is or needs additional configuration (or if it is going to be possible).
Also how much of an overhead does it causing writing the log files? It just seems to significantly affect performance (just in test environment).
I see what you mean about the percentage taking up space!
Lastly if I wanted to backup E:\Cars & E:\Boats (but not E:\trailers) would I just put this as an additional line or how would I do this? or would another script be the way to go for this?
Business Accounts
Answer for Membership
by: SysExpertPosted on 2009-06-23 at 10:05:29ID: 24693765
I use
%-%dd%-%yy %.txt
@echo off
for /f "tokens=2-4 delims=.:/-, " %%u in ('date /t') do (
for /f "skip=1 tokens=2-4 delims=/-,()." %%x in ('echo.^|date') do (
set %%x=%%u
set %%y=%%v
set %%z=%%w))
rem set
rem echo "test date" > c:\bin\%dd%-%mm%-%yy%.txt
robocopy e:\ j:\back /S /TS /FP /NP /TEE /XJ /R:1 /W:2 /LOG:e:\data\rcopy-E-J-%mm
this shows the DOS windows and has a log with date
Just change the source and target drives/ shares to use yours and test
I hope this helps !