<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copy configurations to another CDOT cluster in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122239#M8492</link>
    <description>&lt;P&gt;Exports/shares exist at the SVM level with clustered Data ONTAP, not the cluster level. &amp;nbsp;If you have more than one SVM, then you'll want to loop over them with some sort of map of old-&amp;gt;new SVM names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$source_cluster = 1.1.1.1
$source_username = "admin"
$source_password = "password"

$destination_cluster = 2.2.2.2
$destination_username = "admin"
$destination_password = "password"

# create a key value map of the SVMs
$svm_map = @{
    'old_svm_1' = 'new_svm_1';
    'old_svm_2' = 'new_svm_2';
}

# backup from source, restore to destination
$svm_map.GetEnumerator() | %{
    # backup source
    Write-Host "Outputing SVM $($_.Key) shares to XML"
    .\backupSharesAcls.ps1 `
        -server $source_cluster `
        -user $source_username `
        -password $source_password `
        -vserver $_.Key `
        -share * `
        -shareFile ".\$($_.Key)_shares.xml" `
        -aclFile ".\$($_.Key)_acls.xml" `
        -spit more

    # restore to destination
    Write-Host "Restoring SVM $($_.Key) shares to SVM $($_.Value)"
    .\restoreSharesAcls.ps1 `
        -server $destination_cluster `
        -user $destination_username `
        -password $destination_password `
        -vserver $_.Value `
        -shareFile ".\$($_.Key)_shares.xml" `
        -aclFile ".\$($_.Key)_acls.xml" `
        -spit more
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 19:02:53 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2016-08-11T19:02:53Z</dc:date>
    <item>
      <title>Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122228#M8489</link>
      <description>&lt;P&gt;Is there any way to copy all the share information (cifs shares and export policies) to another cdot cluster?&lt;/P&gt;&lt;P&gt;Like&amp;nbsp;we can copy the&amp;nbsp;cifsconfig_share.cfg/exports files to another 7-mode filer. Same way i want to do it on CMODE. Please let me know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:34:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122228#M8489</guid>
      <dc:creator>Rpstorage</dc:creator>
      <dc:date>2025-06-04T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122230#M8490</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/42500"&gt;@Rpstorage﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some PowerShell scripts for doing backup/restore of ONTAP shares and exports &lt;A href="https://github.com/DatacenterDudes/cDOT-CIFS-share-backup-restore" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:28:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122230#M8490</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-11T15:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122238#M8491</link>
      <description>&lt;P&gt;looks these scripts are working in within cluster vsms. I need to sollution for cluster to cluster.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:48:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122238#M8491</guid>
      <dc:creator>Rpstorage</dc:creator>
      <dc:date>2016-08-11T18:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122239#M8492</link>
      <description>&lt;P&gt;Exports/shares exist at the SVM level with clustered Data ONTAP, not the cluster level. &amp;nbsp;If you have more than one SVM, then you'll want to loop over them with some sort of map of old-&amp;gt;new SVM names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$source_cluster = 1.1.1.1
$source_username = "admin"
$source_password = "password"

$destination_cluster = 2.2.2.2
$destination_username = "admin"
$destination_password = "password"

# create a key value map of the SVMs
$svm_map = @{
    'old_svm_1' = 'new_svm_1';
    'old_svm_2' = 'new_svm_2';
}

# backup from source, restore to destination
$svm_map.GetEnumerator() | %{
    # backup source
    Write-Host "Outputing SVM $($_.Key) shares to XML"
    .\backupSharesAcls.ps1 `
        -server $source_cluster `
        -user $source_username `
        -password $source_password `
        -vserver $_.Key `
        -share * `
        -shareFile ".\$($_.Key)_shares.xml" `
        -aclFile ".\$($_.Key)_acls.xml" `
        -spit more

    # restore to destination
    Write-Host "Restoring SVM $($_.Key) shares to SVM $($_.Value)"
    .\restoreSharesAcls.ps1 `
        -server $destination_cluster `
        -user $destination_username `
        -password $destination_password `
        -vserver $_.Value `
        -shareFile ".\$($_.Key)_shares.xml" `
        -aclFile ".\$($_.Key)_acls.xml" `
        -spit more
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:02:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122239#M8492</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-11T19:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122240#M8493</link>
      <description>&lt;P&gt;We are&amp;nbsp;replicating all prod volumes to DR vsm. DR VSM is in different cluster. Now I am trying to create cifs shares/export rules on DR volume same as production.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:15:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122240#M8493</guid>
      <dc:creator>Rpstorage</dc:creator>
      <dc:date>2016-08-11T19:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Copy configurations to another CDOT cluster</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122242#M8494</link>
      <description>&lt;P&gt;The above script should work. &amp;nbsp;Alternatively, use &lt;A href="https://library.netapp.com/ecmdocs/ECMP12454817/html/GUID-62D54AB4-BAE3-49A9-8F43-98DC03BC4602.html" target="_self"&gt;SVM DR&lt;/A&gt;, which will handle all this for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:42:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Copy-configurations-to-another-CDOT-cluster/m-p/122242#M8494</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-11T19:42:37Z</dc:date>
    </item>
  </channel>
</rss>

