Easy backup with XCOPY and Robocopy (Windows)
-
- KVRian
- 623 posts since 28 Jan, 2005 from hollywood
i love all the aforementioned utils -- but xxcopy (two X's) is wonderful -- BUT why bother? SyncToy is much simpler -- especially when one is trying to help a friend or client.
http://www.xxcopy.com/
http://www.microsoft.com/windowsxp/usin ... nctoy.mspx
http://www.xxcopy.com/
http://www.microsoft.com/windowsxp/usin ... nctoy.mspx
-
- KVRist
- 303 posts since 23 Jun, 2004 from UK
i get round this by using a dual boot system (well actually i got 6 OSes in one particular machine but lets not get into all thataMUSEd wrote:Do these utilities overcome the significant problems with Windows way of copying files and folders. many times when I have copied a large folder Windows has suddenly decided part of the way in that one file (out of maybe thousands) it doesn't want to copy - either it's locked (why that should affect a copy, not move or cut, operation feck knows!) or the filename isn't right or something stupid - and so it stops the whole process leaving you not knowing which files are still to copy and what is not and unable to skip and resume even. Stupid MS!
... no time for unnecessary politeness nor a debate ...
... you might not care but some members are actually human with feelings and stuff you know ???
... you might not care but some members are actually human with feelings and stuff you know ???
-
- KVRian
- Topic Starter
- 880 posts since 22 Jan, 2005
System requirements: Microsoft .NET Framework v2.0Nonplus wrote:BUT why bother? SyncToy is much simpler --
Other than that I don't know anything about it, tho. It may be a nice app.
But robocopy (or xcopy...) does the job fine, for what I need it. I put a shortcut in Quick launch and backuping a folder has never been so fast.
Rather simple as well, tho for an average user a GUI will probably be nicer. (BTW you can get a GUI for robocopy, like this one.)
-
- KVRian
- 597 posts since 29 Nov, 2005
If you're not just trolling then this has got to be the most irrelevant post ever. Just to be totally clear about this; Installing and learning a Wintel UNIX emu like CYGWIN to back up files in a Windows DAW environment is so totally not the way to go. I take off my hat to the OP of this thread for trying to get musos replicating their files to avoid losing creative data in the event of a disk failure. So the best possible outcome is that people take notice and get a working replication process in place ASAP. The best advice in this case is "Keep It Simple Stupid".james0tucson wrote:Such things work until they let you down.
I would recommend installing cygwin and learning (really learning, taking some time to get a solid understanding of) the find, tar, and dd commands.
-
- KVRAF
- 7886 posts since 24 Feb, 2003 from Earth, USA
This is your idea of a backup solution? If anything, Robocopy has let me down the least out of any backup or file transfer utility that cost significantly more.james0tucson wrote:Such things work until they let you down.
I would recommend installing cygwin and learning (really learning, taking some time to get a solid understanding of) the find, tar, and dd commands.
So James, how many Windows boxes have you migrated with Robocopy? Let me guess? None?
Devon
Simple music philosophy - Those who can, make music. Those who can't, make excuses.
Read my VST reviews at Traxmusic!
Read my VST reviews at Traxmusic!
-
- KVRAF
- 7886 posts since 24 Feb, 2003 from Earth, USA
Yes, include /zb. I use that with the /copyall switch, so all attributes and permissions go with it. More applicable in a enterprise domain environment, so not all that necessary for you.ermi wrote:Please correct me if I'm wrong and/or suggest me some other switch that would be useful.
Should I include /zb as well?
BTW, I couldn't find a MS page with the list of switches... the only one with many of them was this one and a .doc that came in the .zip file.
The page you found is really enough. If you don't understand a particular switch, just ask.
One thing I do do is I turn on logging so I can see if anything didn't copy just in case. For example, getting Outlook .pst files while people have them open can be a big pain. I've had to use other (expensive) utilities to get locked files to copy over perfectly, regardless if the file is open (like replicating SQL databases, for example.)
Devon
Simple music philosophy - Those who can, make music. Those who can't, make excuses.
Read my VST reviews at Traxmusic!
Read my VST reviews at Traxmusic!
-
- KVRian
- Topic Starter
- 880 posts since 22 Jan, 2005
I'll update the first post and add some simple info on how to use robocopy, since it's my favorite now. I cleaned up some old archives with the /mir function really fast. 
But I'll ask one more thing that I'm sure can be useful: How to make a batch file/shortcut to copy from/to many different locations? I simply want to use robocopy with /e /zb, nothing fancy. Also (if this is not the default procedure) I'd prefer if the copying processes started one after another, not all of them at the same time.
But I'll ask one more thing that I'm sure can be useful: How to make a batch file/shortcut to copy from/to many different locations? I simply want to use robocopy with /e /zb, nothing fancy. Also (if this is not the default procedure) I'd prefer if the copying processes started one after another, not all of them at the same time.
-
- KVRAF
- 7886 posts since 24 Feb, 2003 from Earth, USA
Robocopy is seqeuntial, so I'm not sure what you're asking? You can stack multiple commands in a .bat / .cmd file and the next one will start after the first one finishes.ermi wrote: But I'll ask one more thing that I'm sure can be useful: How to make a batch file/shortcut to copy from/to many different locations? I simply want to use robocopy with /e /zb, nothing fancy. Also (if this is not the default procedure) I'd prefer if the copying processes started one after another, not all of them at the same time.
Code: Select all
robocopy c:\music\*.* d:\music\*.*
robocopy c:\programs\*.* d:\programs\*.*Devon
Simple music philosophy - Those who can, make music. Those who can't, make excuses.
Read my VST reviews at Traxmusic!
Read my VST reviews at Traxmusic!
-
- KVRian
- Topic Starter
- 880 posts since 22 Jan, 2005
Thanks, that's exactly what I was looking for. Copying sequentially. It's really that simple then!DevonB wrote:Robocopy is seqeuntial, so I'm not sure what you're asking? You can stack multiple commands in a .bat / .cmd file and the next one will start after the first one finishes.
Code: Select all
robocopy c:\music\*.* d:\music\*.* robocopy c:\programs\*.* d:\programs\*.*
I saw some echo commands and whatnot when googling, but I obviously don't need that.
I'll add this to the first post as well.
-
- KVRer
- 21 posts since 29 Oct, 2006
Yeah, so if you're looking to have a little shortcut for doing robocopy with the options you always use, you could do that pretty easily with a one-line batch file. For example, you could create a file called copyit.cmd that looks something like:
robocopy /e /zb %1 %2
And then later, if you did
copyit c:\music d:\music
it would execute
robocopy /e /zb c:\music d:\music
This one isn't even that much of a shortcut, but you get the idea. There is quite a bit you can do along these lines. For example, type in "for /?" and look at the FOR command - it's insanely powerful, if a little bit cryptic at first.
- Chris
robocopy /e /zb %1 %2
And then later, if you did
copyit c:\music d:\music
it would execute
robocopy /e /zb c:\music d:\music
This one isn't even that much of a shortcut, but you get the idea. There is quite a bit you can do along these lines. For example, type in "for /?" and look at the FOR command - it's insanely powerful, if a little bit cryptic at first.
- Chris
-
- KVRian
- 597 posts since 29 Nov, 2005
The best possible outcome of this thread is that everyone that reads it puts in place a simple copy process. The basic syntax is now there so please do it for your own peace of mind. I can't say any more other than don't allow any geeks to unnecessary complicate things at this stage.
-
- KVRer
- 21 posts since 29 Oct, 2006
Agreed, the last thing we want is for someone to possibly learn something and/or tailor their processes to best suit their situation.cleverr1 wrote:I can't say any more other than don't allow any geeks to unnecessary complicate things at this stage.
-
- KVRAF
- 10815 posts since 26 Nov, 2004 from UK
so is this the best way for me to backup my "Tunes" folder to my external drive in Win7?
robocopy D:\Tunes H:\Win7_DAW_Stuff\Tunes /e
i want it to copy all files folders & sub files & folders only adding new files & replacing newer files
Subz
robocopy D:\Tunes H:\Win7_DAW_Stuff\Tunes /e
i want it to copy all files folders & sub files & folders only adding new files & replacing newer files
Subz
