Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
I have an image of an old server which contains a company's data. I need to pull that data out. However, users have created folders withing folders and used the 255 character threashold. I therefore cannot pull out all the data with a simple copy and paste.
Does anyone know a Long File lister that will work with Server 2008 or a way of Windows ignoring the fact we have gone over the 255 characters.
|
Brett
Premium Member
Registered: 16th Dec 02
Location: Manchester
User status: Offline
|
Can you not just use something like SyncToy to mirror it accross?
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Can you not rename the files? Could easily put together a batch script to truncate the filenames if they are over the 255 character limit.
|
Sam
Moderator Premium Member
Registered: 24th Dec 99
Location: West Midlands
User status: Offline
|
Dom wouldn't it do that anyway (truncate I mean)? I know in the old days of DOS etc. it would do that if it was longer than 8 characters.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by Sam
Dom wouldn't it do that anyway (truncate I mean)? I know in the old days of DOS etc. it would do that if it was longer than 8 characters.
Don't think so; in command it'll truncate but only for representation (from what i gather). To be hoenst i'm not quite sure about the whole filename length situ - i know it's 255 characters under NTFS, but can't remember if that the whole path (have a feeling the whole path has to <= 32k characters) or just a limit for (sub)directories/filenames.
Either way, if there isn't any issue renaming the files then i would; easiest option and all
[Edited on 15-07-2011 by Dom]
|
Planty02
Member
Registered: 5th Mar 05
Location: Burslem, Stoke-on-Trent
User status: Offline
|
May not suit your situation but in the past i've got round this by mapping a network drive to a folder in the chain, replacing the first 20-30 chars with a single drive letter.
bet of a longer process but has worked for me in the past
otherwise there is bound to be a tool for the job on the hirens boot disc (google it)
|
adiohead
Member
Registered: 28th Sep 01
User status: Offline
|
quote: Originally posted by Planty02
May not suit your situation but in the past i've got round this by mapping a network drive to a folder in the chain, replacing the first 20-30 chars with a single drive letter.
yes! simple but clever.
|
Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
64GB of data and 40,000 folders - i'm fucked here
Only thing i can think blasting the image of the old server drive accross
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
What's wrong with batch filename truncating?
Edit - Get the batch to throw out a log file that way you can always rename stuff back again if the shit hits the fan, so to speak.
[Edited on 15-07-2011 by Dom]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
think if you do it via command prompt its ok
use xcopy
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Why do you need to trunkcate filenames? Robocopy doesn't insist on 255 chars max?
|
John
Member
Registered: 30th Jun 03
User status: Offline
|
I normally just copy to a folder higher up the tree until one let's me do it.
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
Am I being really stupid or have I just never come across this problem before?
|
John
Member
Registered: 30th Jun 03
User status: Offline
|
It's normally clients that put absolutely everything in the folder and filenames. When you try to restore to your desktop for example its too long.
|
Planty02
Member
Registered: 5th Mar 05
Location: Burslem, Stoke-on-Trent
User status: Offline
|
How are you doing on this andrew?
|
Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
quote: Originally posted by pow
Am I being really stupid or have I just never come across this problem before?
No mate, Windows is stupid for allowing users to be so stupid
[Edited on 19-07-2011 by Andrew]
|
Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
quote: Originally posted by Planty02
How are you doing on this andrew?
Took server offline on Saturday and created a new partition from VMware/Windows. I've pulled the data off the old server using snapshot and blasted all the data back on removing all redundant data no longer needed. This has worked ok and the users are happy. I now need to go through the data manually when i get chance renaming the silly file names and removing emtey folders.
|