Topic
  • 4 replies
  • Latest Post - ‏2013-01-24T05:18:23Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic Backup of raid disk volume on datapower

‏2013-01-22T09:21:49Z |
Hello,

Is there a way to take a backup of the entire raid disk volume on datapower? This option is needed to skip the raid disk backup from the secure backup option on datapower. If there is any alternate way to backup the raid volumes then raid backup option can be excluded as part of the secure backup of datapower.

Thanks!
Updated on 2013-01-24T05:18:23Z at 2013-01-24T05:18:23Z by SystemAdmin
  • John.S.Graham
    John.S.Graham
    4 Posts

    Re: Backup of raid disk volume on datapower

    ‏2013-01-22T15:28:24Z  
    No, secure-backup always backs up the appliance's configuration and RAID and/or iSCSI can optionally be included in the secure-backup.

    You only option to do what you are trying to do is to export all local files, which would give you the files on the raid. You could then exclude the raid from the secure-backup, since you would have the files in the export.
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: Backup of raid disk volume on datapower

    ‏2013-01-23T07:01:21Z  
    No, secure-backup always backs up the appliance's configuration and RAID and/or iSCSI can optionally be included in the secure-backup.

    You only option to do what you are trying to do is to export all local files, which would give you the files on the raid. You could then exclude the raid from the secure-backup, since you would have the files in the export.
    Thanks John,

    Is there an option to take a backup of all the local files on all the domains in a single operation on datapower. it would be helpful if there is an option to take such a backup from cli or soma.
  • HermannSW
    HermannSW
    5828 Posts

    Re: Backup of raid disk volume on datapower

    ‏2013-01-23T12:29:49Z  
    Thanks John,

    Is there an option to take a backup of all the local files on all the domains in a single operation on datapower. it would be helpful if there is an option to take such a backup from cli or soma.
    There is no "voodo" doing processing for all domains.
    And you will have to do "export", not "backup", because backup takes everything(*) from a domain (config+files).
    (*) Of course certs are never part of backups or exports.

    I just did an export of default domain without configuration and "Include all local files" option selected.
    Opening the export.xml in the .zip file returned shows an empty <configuration name="default"/> section and local files included
    (those on raid in "local/harddisk" or whatever your mountpoint is named).

    This SOMA command will give you default domain's "config:" folder:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Body>
        <dp:request domain="default" 
          xmlns:dp="http://www.datapower.com/schemas/management">
          <dp:get-filestore location="config:"/>
        </dp:request>
      </env:Body>
    </env:Envelope>
    


    Filtering by XPath expression "/*/*/*/*/*/directory/@name" will give you the application domain names.

    Then you can do the exports of what you want by <dp:do-export> in SOMA commands for each domain.

     
    Hermann <myXsltBlog/> <myXsltTweets/>
    Updated on 2014-03-25T02:41:36Z at 2014-03-25T02:41:36Z by iron-man
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: Backup of raid disk volume on datapower

    ‏2013-01-24T05:18:23Z  
    • HermannSW
    • ‏2013-01-23T12:29:49Z
    There is no "voodo" doing processing for all domains.
    And you will have to do "export", not "backup", because backup takes everything(*) from a domain (config+files).
    (*) Of course certs are never part of backups or exports.

    I just did an export of default domain without configuration and "Include all local files" option selected.
    Opening the export.xml in the .zip file returned shows an empty <configuration name="default"/> section and local files included
    (those on raid in "local/harddisk" or whatever your mountpoint is named).

    This SOMA command will give you default domain's "config:" folder:
    <pre class="java dw" data-editor-lang="java" data-pbcklang="java" dir="ltr"><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Body> <dp:request domain="default" xmlns:dp="http://www.datapower.com/schemas/management"> <dp:get-filestore location="config:"/> </dp:request> </env:Body> </env:Envelope> </pre>

    Filtering by XPath expression "/*/*/*/*/*/directory/@name" will give you the application domain names.

    Then you can do the exports of what you want by <dp:do-export> in SOMA commands for each domain.

     
    Hermann <myXsltBlog/> <myXsltTweets/>
    Thanks Hermann,

    Will try the approach suggested by you.