Robocopy has erroneously moved important files; but why?
A few days ago I've used robocopy to copy all contents of an old hard-disk to a network volume, but today discovered robocopy had decided to also move all of my files in C:Users
, while my listed source was G:/
. Hoping to prevent an annoying and confusing issue to crop up again (couldn't sign in to any local account) I'm turning to you in hopes it could've been something stupid from my end rather then a bug/flaw.
I'd used the following exact syntax:
robocopy G:/ "\annihlogyannihlationbackups2012 era 2TB" *.* /TBD /TEE /S /E /DCOPY:DA /COPY:DAT /MOVE /ZB /XX /MT:8 /R:10 /W:30
windows robocopy
add a comment |
A few days ago I've used robocopy to copy all contents of an old hard-disk to a network volume, but today discovered robocopy had decided to also move all of my files in C:Users
, while my listed source was G:/
. Hoping to prevent an annoying and confusing issue to crop up again (couldn't sign in to any local account) I'm turning to you in hopes it could've been something stupid from my end rather then a bug/flaw.
I'd used the following exact syntax:
robocopy G:/ "\annihlogyannihlationbackups2012 era 2TB" *.* /TBD /TEE /S /E /DCOPY:DA /COPY:DAT /MOVE /ZB /XX /MT:8 /R:10 /W:30
windows robocopy
add a comment |
A few days ago I've used robocopy to copy all contents of an old hard-disk to a network volume, but today discovered robocopy had decided to also move all of my files in C:Users
, while my listed source was G:/
. Hoping to prevent an annoying and confusing issue to crop up again (couldn't sign in to any local account) I'm turning to you in hopes it could've been something stupid from my end rather then a bug/flaw.
I'd used the following exact syntax:
robocopy G:/ "\annihlogyannihlationbackups2012 era 2TB" *.* /TBD /TEE /S /E /DCOPY:DA /COPY:DAT /MOVE /ZB /XX /MT:8 /R:10 /W:30
windows robocopy
A few days ago I've used robocopy to copy all contents of an old hard-disk to a network volume, but today discovered robocopy had decided to also move all of my files in C:Users
, while my listed source was G:/
. Hoping to prevent an annoying and confusing issue to crop up again (couldn't sign in to any local account) I'm turning to you in hopes it could've been something stupid from my end rather then a bug/flaw.
I'd used the following exact syntax:
robocopy G:/ "\annihlogyannihlationbackups2012 era 2TB" *.* /TBD /TEE /S /E /DCOPY:DA /COPY:DAT /MOVE /ZB /XX /MT:8 /R:10 /W:30
windows robocopy
windows robocopy
edited Dec 8 at 16:03
asked Dec 8 at 15:24
Annihlator
12
12
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Robocopy
has 3 parameters Robocopy source destination file
You are using COPY
optional parameter which is in
this case pointless. COPY
specifies if you want copy
DAT, ATTRIB or TIMESTAMPS
which you are configuring with /DCOPY
Everything seems fine, check if you don't have some simlinks on G:
path which can include C:Users data.
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381903%2frobocopy-has-erroneously-moved-important-files-but-why%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Robocopy
has 3 parameters Robocopy source destination file
You are using COPY
optional parameter which is in
this case pointless. COPY
specifies if you want copy
DAT, ATTRIB or TIMESTAMPS
which you are configuring with /DCOPY
Everything seems fine, check if you don't have some simlinks on G:
path which can include C:Users data.
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
add a comment |
Robocopy
has 3 parameters Robocopy source destination file
You are using COPY
optional parameter which is in
this case pointless. COPY
specifies if you want copy
DAT, ATTRIB or TIMESTAMPS
which you are configuring with /DCOPY
Everything seems fine, check if you don't have some simlinks on G:
path which can include C:Users data.
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
add a comment |
Robocopy
has 3 parameters Robocopy source destination file
You are using COPY
optional parameter which is in
this case pointless. COPY
specifies if you want copy
DAT, ATTRIB or TIMESTAMPS
which you are configuring with /DCOPY
Everything seems fine, check if you don't have some simlinks on G:
path which can include C:Users data.
Robocopy
has 3 parameters Robocopy source destination file
You are using COPY
optional parameter which is in
this case pointless. COPY
specifies if you want copy
DAT, ATTRIB or TIMESTAMPS
which you are configuring with /DCOPY
Everything seems fine, check if you don't have some simlinks on G:
path which can include C:Users data.
answered Dec 8 at 15:47
Laci R
11
11
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
add a comment |
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
COPY is used for defining what to copy on file-level and DCOPY on directory level. /COPY:DAT is the default setting and got included thanks to the logfile including defaults but is not the cause of the error. Ill take a look if theres any such symlinks tho thanks for the tip!
– Annihlator
Dec 8 at 16:01
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
checking how the recursion now exists in some folders and using an undamaged system for reference points out robocopy managed to find a synlink for whichever reason pointing to just C:/Users and from there went on and dtarted moving files off the C-drive. Im now busy trying to manually restore the missing files and symlinks but thus far that seems to break even more stuff. Most annoying is that I apparently cant create another user to have a clean profile to start with... all dialogs just do nothing when clicking on the final "next"... i honestly dont get why robocopy doesnt "get" junctions...
– Annihlator
Dec 8 at 18:02
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381903%2frobocopy-has-erroneously-moved-important-files-but-why%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown