none
Directory path of VSS Snapshot RRS feed

  • Question

  • Hello,

     

    When I run the dpmbackup.exe to create a VSS snapshot and mountpoint for replica volume.

     

    The directory structure contains guids and other technical details.

     

    image

     

    Is there anyway to create a simpler directory structure? So that all the MDF and LDF files are available in just 1 folder?

    Thursday, October 28, 2010 7:14 AM

Answers

  • The -targetLocation parameter is applicable only with "DpmBackup -db" command, where DpmDB is backed up.

    For -replicas, The destination path cannot be changed for the reason specified above (The snapshot contains same path as originating replica volume).

     

    • Marked as answer by MSDN Student Thursday, October 28, 2010 11:01 AM
    Thursday, October 28, 2010 9:47 AM

All replies

  • When you snapshot, the directory structure on snapshot will be same as that of replica volume.

    As this structure is needed in replica for dpm to work properly, you cannot change the path in shadow copy where these are located.

     

    However things for help (that you might be already knowing):

    1. To shorten the common path for the files you can use subst command.

    2. -targetLocation parameter to specify output path for DPMDB files.

    3. You can use "for" command to list out or copy to single folder like:
         for /r ShadowPath %i in (*) do copy "%i" AllFilesFolder

    Thursday, October 28, 2010 7:57 AM
  • C:\>dpmbackup -targetLocation c:\mydir1 -replicas
    DpmBackup 1.0 - Data Protection Manager backup command-line tool
    Copyright (c) 2010 Microsoft Corporation. All rights reserved.

    Error: Invalid command -targetlocation.

    Thursday, October 28, 2010 9:03 AM
  • The -targetLocation parameter is applicable only with "DpmBackup -db" command, where DpmDB is backed up.

    For -replicas, The destination path cannot be changed for the reason specified above (The snapshot contains same path as originating replica volume).

     

    • Marked as answer by MSDN Student Thursday, October 28, 2010 11:01 AM
    Thursday, October 28, 2010 9:47 AM