candera / hobocopy

An open source backup tool for Windows
http://candera.github.com/hobocopy/
MIT License
176 stars 52 forks source link

Failure to copy to root parition #4

Closed candera closed 13 years ago

candera commented 13 years ago

Migrated from SourceForge: https://sourceforge.net/tracker/?func=detail&aid=2098885&group_id=117783&atid=679446

C:>hobocopy /full /skipdenied /y /r "c:\Program Files\Transparent" f:\ HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com

Starting a full copy from c:\Program Files\Transparent to f:\ Creation of directory failed with error Access is denied. (Error number 5) on directory \?\f:\

C:>hobocopy /full /skipdenied /y /r "c:\Program Files\Transparent" f: HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com

Starting a full copy from c:\Program Files\Transparent to F:\ Creation of directory failed with error Access is denied. (Error number 5) on directory \?\F:\

C:>hobocopy /full /skipdenied /y /r "c:\Program Files\Transparent" f:\temp2 HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com

Starting a full copy from c:\Program Files\Transparent to f:\temp2

Copied directory Backup successfully completed. Backup started at 2008-09-07 10:52:16, completed at 2008-09-07 10:53:04. 1872 files (70.15 MB, 99 directories) copied, 0 files skipped

keep in mind temp2 doesn't even exist before running the above command it creates it just fine to put the files into on the fly. So there is no real "Access denied error writing to the path"

candera commented 13 years ago

Migrated comment:

I forgot to say this is the 32 bit version for win xp and I downloaded it yesterday. Someone else mentioned the same problem on your web page.

C:>hobocopy /full /skipdenied /y /r "c:\Program Files\Transparent" f:\ /verbosi ty=4 HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com

Calling CoInitialize Starting a full copy from c:\Program Files\Transparent to f:\ Calling CreateVssBackupComponents Calling InitializeForBackup Calling GatherWriterMetadata Waiting for writer metadata Calling QueryStatus for GatherWriterMetadata Calling GetWriterMetadataCount Calling GetWriterMetadata Writer 0 named WMI Writer Writer has 1 components Component 0 is named WMI, has a path of (null), and is not selectable for backup . 1 files, 0 databases, 0 log files. File 0 has path C:\WINDOWS\system32\WBEM\Repository. Component 0 has name WMI, path , is not selectable for backup, and has parent (n o parent) Calling GetWriterMetadata Writer 1 named Microsoft Writer (Service State) Writer has 3 components Component 0 is named Content Indexing Service, has a path of (null), and is not selectable for backup. 0 files, 0 databases, 0 log files. Component 1 is named Config Directory, has a path of (null), and is not selectab le for backup. 1 files, 0 databases, 0 log files. File 0 has path %SystemRoot%\Repair\Backup\ServiceState\ConfigDirectory Component 2 is named Event Logs, has a path of (null), and is not selectable for backup. 1 files, 0 databases, 0 log files. File 0 has path %SystemRoot%\Repair\Backup\ServiceState\EventLogs Component 0 has name Content Indexing Service, path , is not selectable for back up, and has parent (no parent) Component 1 has name Config Directory, path , is not selectable for backup, and has parent (no parent) Component 2 has name Event Logs, path , is not selectable for backup, and has pa rent (no parent) Calling GetWriterMetadata Writer 2 named MSDEWriter Writer has 0 components Calling GetWriterMetadata Writer 3 named Microsoft Writer (Bootable State) Writer has 2 components Component 0 is named COM+ Registration Database, has a path of (null), and is no t selectable for backup. 1 files, 0 databases, 0 log files. File 0 has path %SystemRoot%\Repair\Backup\BootableSystemState\ComRegistrationDa tabase Component 1 is named Registry, has a path of (null), and is not selectable for b ackup. 1 files, 0 databases, 0 log files. File 0 has path %SystemRoot%\Repair\Backup\BootableSystemState\Registry Component 0 has name COM+ Registration Database, path , is not selectable for ba ckup, and has parent (no parent) Component 1 has name Registry, path , is not selectable for backup, and has pare nt (no parent) Calling StartSnapshotSet Calling GetVolumePathName Calling AddToSnapshotSet Adding components to snapshot set for writer WMI Writer Adding component WMI () from writer WMI Writer Adding components to snapshot set for writer Microsoft Writer (Service State) Adding component Content Indexing Service () from writer Microsoft Writer (Servi ce State) Adding component Config Directory () from writer Microsoft Writer (Service State ) Adding component Event Logs () from writer Microsoft Writer (Service State) Adding components to snapshot set for writer MSDEWriter Adding components to snapshot set for writer Microsoft Writer (Bootable State) Adding component COM+ Registration Database () from writer Microsoft Writer (Boo table State) Adding component Registry () from writer Microsoft Writer (Bootable State) Calling SetBackupState Calling PrepareForBackup Calling DoSnapshotSet Calling GetSnapshotProperties Calling CalculateSourcePath Recursively creating destination directory f:. Calling CopyRecursive Creation of directory failed with error Access is denied. (Error number 5) on directory \?\f:\

C:>

candera commented 13 years ago

Consolidated directory creation code. Closed by 319dbd4a6612834fc30a94807b13bff54317a8ef.