long file name problem

69 views
Skip to first unread message

Rod Alvarado

unread,
Mar 8, 2016, 3:11:54 PM3/8/16
to hobo...@googlegroups.com

Hi,

 

I’m having problems finding the answer to my question at https://groups.google.com/forum/#!forum/hobocopy or in google searches.  Please help. 

 

I’m having problem copying a file from a directory with a long file name, such as C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER2012\MSSQL\DATA .  I’ve tried to put the path in quotes as well as using 8.3 format, such as c:\PROGRA~1\ MSSQL1~2.MSS MSSQL11.MSSQLSERVER2012\MSSQL\DATA. 

 

I’ve tried many variations of quotes, no quotes but no luck.  What am I doing wrong?

 

I’m am not having problems copying files that don’t have a space in directory name.

 

Rod Alvarado, MCSE

213-324-6689

rodalva...@yahoo.com

 

Craig Andera

unread,
Mar 8, 2016, 3:14:22 PM3/8/16
to hobo...@googlegroups.com, rodalva...@yahoo.com
Are you seeing an error, or is it completing without copying the file?
Note that the Volume Shadow Service, which hobocopy uses, will refuse
to shadow certain file extensions. There's a registry key that
controls which ones somewhere. Not sure that's your problem, but it's
something to check. I'd also run with /verbosity 4 and see if anything
in the debug spew sheds any light.
> --
> You received this message because you are subscribed to the Google Groups
> "hobocopy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hobocopy+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Rod Alvarado

unread,
Mar 8, 2016, 5:00:13 PM3/8/16
to Craig Andera, hobo...@googlegroups.com
No errors but no file copied either. Instead, directory C:\tools\test.mdf\ created from command below.

C:\tools>hobocopy.exe "C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER
2012\MSSQL\DATA\" "c:\data\" test.mdf
HoboCopy (c) 2006 Wangdera Corporation. hobo...@wangdera.com

Starting a full copy from C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSER
VER2012\MSSQL\DATA" c:\data" to C:\tools\test.mdf
Copied directory
Backup successfully completed.
Backup started at 2016-03-08 13:54:55, completed at 2016-03-08 13:56:01.
0 files (0.00 bytes, 1 directories) copied, 0 files skipped

Craig Andera

unread,
Mar 8, 2016, 5:17:53 PM3/8/16
to hobo...@googlegroups.com, rodalva...@yahoo.com
Unfortunately, I don't use Windows any more, so it's sort of hard to
help out with this one. The information in
https://msdn.microsoft.com/en-us/library/windows/desktop/aa819132(v=vs.85).aspx
might provide some assistance - not all files are shadowed by VSS.

It would be interesting to try that without the trailing slash on
"C:\data\" as well.

Finally, I'll point out that hobocopy is technically deprecated in
favor of ShadowSpawn (https://github.com/candera/ShadowSpawn),
although really I'm no longer developing either of them. Still, you
might have better luck, since ShadowSpawn doesn't try to be a copy
tool and leaves that to something more capable like robocopy.

On Tue, Mar 8, 2016 at 5:00 PM, 'Rod Alvarado' via hobocopy
Reply all
Reply to author
Forward
0 new messages