neon Posted September 3, 2010 Posted September 3, 2010 Welcome back guys, Just wondering if someone can help me out, I am currently using a xcopy script as a way to back up teachers laptops, this works well however there is one problem, when a teacher deletes a file the file stays in the back up folder? Is there any way of cloning a folder exactly as it appears at c:/documents and settings\user\desktop? Thanks for any help, hope everyone is ok and glad to back
sted Posted September 3, 2010 Posted September 3, 2010 robocopy d:\users "\\nas01\backup\Curric\Data\Users\mon" /copyall /mir /r:2 /w:5 should do the trick
OutToLunch Posted September 3, 2010 Posted September 3, 2010 Might be a silly observation, but isn't it better it stays there unless you're doing multiple copies by week etc - otherwise when they come and say "I deleted X from my laptop last week, can you get it back?" it will have been nuked by the mirroring process...
kili Posted September 3, 2010 Posted September 3, 2010 (edited) Synchtoy from Microsoft. Use it to schedule backups or run manually it has sync functions I use it for my home backup. One of the options allows for folders or files deleted on the source folder to be auto deleted on the destination ( backup) when synchtoy is run. check it out here Edited September 3, 2010 by kili
neon Posted September 8, 2010 Author Posted September 8, 2010 hey guys, cheers for the comments, I like the look of robocopy have installed it and written the .bat file however it will not run because it doesnt like c:\documents and settings in the path? is there any way round this? thanks again
sister_annex Posted September 8, 2010 Posted September 8, 2010 try putting quotes around the file path, spaces can cause an issue HTH
Otaruihc Posted September 24, 2010 Posted September 24, 2010 Anyone have the script that copies folders and fles that retain the original file creation date across drives? The folders keep copying with the current date and I want to retain the original file creation date.
SYNACK Posted September 24, 2010 Posted September 24, 2010 you could use robocopy with the /e switch Robocopy - Wikipedia, the free encyclopedia
chrbb Posted September 24, 2010 Posted September 24, 2010 My backup script copies everything across to the server, but I've left mine not to delete anything. The working documents are on the staff laptop with copies on the server, I then leave it up to the teacher to decide if they want to delete folders on the server, there's always a chance when they move yeargroups to teach back in the year they were in 2 years ago they want their old stuff back!
Otaruihc Posted September 24, 2010 Posted September 24, 2010 The e switch doesn't work either. I forgot to mention I am using the older version (not XP026 as I am still running XP). From all I read the earlier version of RoboCopy will not keep filestamps when going across drives. My wife has a Windows 7 laptop with the latest version of RoboCopy so I guess I'll have to hook up my drives via a USB and copy them that way.
sted Posted September 24, 2010 Posted September 24, 2010 would copying rococopy from a win7 pc to a winxp work?
Arthur Posted September 24, 2010 Posted September 24, 2010 would copying robocopy from a win7 pc to a winxp work? No. It doesn't work on XP.
Otaruihc Posted September 25, 2010 Posted September 25, 2010 If the above question was meant for me I think you misunderstood. What I meant is hook up the two drives (the drive with the data and the primary boot disk) both as slaves to the Windows 7 laptop and use RoboCopy off the Win 7 platform. To copy the data to the primary hard drive (loaded with the Win XP platform) and then reinstall that drive in the machine. That should work wouldn’t it?
Arthur Posted September 25, 2010 Posted September 25, 2010 If the above question was meant for me I think you misunderstood. It wasn't, which is why I quoted Sted. That should work wouldn't it? This will work perfectly fine. It just depends on Neon having access to computer running Windows 7 or 2008 R2. Another alternative would be to copy the data over the network. This can be done locally or remotely using PSExec. e.g. psexec -u username -p password -c -f robocopy.exe \\Source\Users$ \\Destination\Backup$\Users /COPYALL /MIR /R:1 /W:3 /NP
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now