July 10, 2015 at 6:27 am
Perry Whittle (7/10/2015)
patrickmcginnis59 10839 (7/9/2015)
Perry Whittle (7/9/2015)
plamannkathy (7/9/2015)
$SourceLocation = "e:\backup\xxx`$xxx\master\Full"$DestinationLocation = "\\sharebackup\xxx`$xxx\master\Full"
Thanks 500!!
This worked. This problem now solved.
Thanks everyone
did you even bother to read my last post
I think you had the right solution, if that helps any. I know I was wrong with my first guess.
At the same time, your explanation and exposition caused me to discard your solution despite you actually posting the right thing, and I'm happy to take the blame for misinterpreting and subsequently disregarding your post, but disregard it I did!
Mate are you for real, try reading the etiquette yourself.
Oh thats fine, I knew that no matter how gently I put this including the willingness to take all the blame my post would still invite your indignation! Heck I'll take the blame for that also, and will greatly consider your sensitivity and feelings in any future post!
Your response of "try quotes" when you don't actually know the difference between single and double quotes in PoSh is quite frankly ridiculous.
You are spot on with my PoSh ineptitude, I'll not deny that! I clearly need to work on my PoSh skills!
My post was clear and concise and gave an explanation of the difference backed by examples and it was directed for the benefit of the OP.
I hope the OP thanks you at some point!
editted: I need to work on my tone as mentioned by the OP!
July 10, 2015 at 7:55 am
Hi Perry
Your response was very clear and concise. I greatly appreciate your input. I'm so sorry that I did not respond correctly.
While I am learning, I make mistakes and I am sorry.
Thank you
Kathy
July 10, 2015 at 8:20 am
kathy.plamann (7/10/2015)
Hi PerryYour response was very clear and concise. I greatly appreciate your input. I'm so sorry that I did not respond correctly.
While I am learning, I make mistakes and I am sorry.
Thank you
Kathy
you're welcome Kathy, the point to emphasise is the difference between single quotes and double quotes in PoSh, they are very different.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
July 21, 2015 at 9:09 am
I also use Robocopy but for different reasons.
For a server migration where we have UNC shares setup for app files/logs/SSIS packages etc... I use Robocopy to sync the folders on source/target servers. I use double quotes for paths with spaces in the names just like the examples above - also don't specify a trailing slash on the path name just like the examples provided.
I can keep the folders in sync and perform a final server migration knowing that the folders are good to go without backup/restore from tape.
My normal Robocopy usage is like this:
1. Open an Admin Command Prompt on the target server
2. Robocopy.exe "\\SourceServerNameHere\f$\SSIS Packages" "f:\SSIS Packages" /COPYALL /E /Purge
Viewing 4 posts - 31 through 33 (of 33 total)
You must be logged in to reply to this topic. Login to reply