Jump to content

cycllical copy workaround


nullspace

Recommended Posts

I am writing some script for a migration backup for about 250 machines. The employees are alla little dumb and save .doc .pdf .... files in all sorts of weird places they shouldn't be so I am searching for and copying them all in c: and want to save them in My documents then copy My documents to the NAS. This is all good except it produces a cyclical copy error, as in it is copying from and pasting to the same place in it's mind.

I have tried an exceptions file with %homepath% but that doesn't work.

Any workarounds. I have already written the script to copy to the NAS instead of the drive itself but I would really like to copy everything to My Documents first.

Thanks

Link to comment
Share on other sites

cyclical copy error

Does it say cyclical copy error or cyclic redundancy error?

Not sure if it will help, but maybe it is a disk read/write error your copying from/to or one of the files is bad.

http://ask-leo.com/how_do_i_fix_a_cyclic_r...opy_a_file.html

Link to comment
Share on other sites

cyclical copy error

Does it say cyclical copy error or cyclic redundancy error?

Not sure if it will help, but maybe it is a disk read/write error your copying from/to or one of the files is bad.

http://ask-leo.com/how_do_i_fix_a_cyclic_r...opy_a_file.html

Nah, he means the copy operation would just loop itself... it copies files of [file type] in C: and all subdirectories back to My Documents... which is in C:... so it copies the files that are there back to themselves until the script is stopped.

Link to comment
Share on other sites

Just mount a network share as drive Z and back everything up to z:/user_name/My Documents?

I know that. I actually have it backing up to the NAS but wanted to see if there was a workaround. I have tried if conditions and it doesn't help. I think its a no go. Well that data backup works anyway.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...