<?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: Running a WFA backup from the Command Line in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59015#M12281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly you need to define a backup user with the WFA portal;&amp;nbsp; Login to WFA as admin and create a new user (I called mine "backup") and give him a role of backup; Do this via:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools &amp;gt; Users &amp;gt; (right click New) or Actions &amp;gt; New &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14974_newuser.jpg" /&gt;&lt;/P&gt;&lt;P&gt;This user is required to run the backups via the CLI (Note: you will get Unauthorised access if you try and login to the WFA portal using this user ID) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next login into the WFA Server and launch a Command Prompt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14975_CommandPrompt.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and run:&lt;/P&gt;&lt;P&gt;cd "C:\Program File (x86)\NetApp\WFA\bin"&lt;/P&gt;&lt;P&gt;powershell .\Backup.ps1 "backup username" "backup password" "filename for the backup"&lt;/P&gt;&lt;P&gt;(the command/script will return the complete filename for the backup)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In order to run Powershell script on your server you may have to Enable Script Support - this post will show you how:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/" target="_blank"&gt;http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 2: depending on what you tried initially you may find that PowerShell caches your credentials - if after the above your still getting un-authorised access errors;&amp;nbsp; close your command prompt window and retry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to Dekel for helping me sort this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 14:09:31 GMT</pubDate>
    <dc:creator>fenton</dc:creator>
    <dc:date>2012-03-13T14:09:31Z</dc:date>
    <item>
      <title>Running a WFA backup from the Command Line</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59010#M12279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run a backup from the WFA Command Line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{WFA_INSTALL}/bin/Backup.ps1 admin admin c:\TEST\Test.backup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I consistently getting the following failure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Program Files (x86)\NetApp\WFA\bin&amp;gt; ./Backup.ps1&lt;/P&gt;&lt;P&gt;Exception calling "backup" with "1" argument(s): "Caller unauthorized"&lt;/P&gt;&lt;P&gt;At C:\Program Files (x86)\NetApp\WFA\bin\Backup.ps1:16 char:38&lt;/P&gt;&lt;P&gt;+ $returnString = $backupService.backup &amp;lt;&amp;lt;&amp;lt;&amp;lt; ($FileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [], MethodInvocationException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : DotNetMethodException&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearly my user id is valid as I can login via the portal;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:32:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59010#M12279</guid>
      <dc:creator>fenton</dc:creator>
      <dc:date>2025-06-05T06:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running a WFA backup from the Command Line</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59015#M12281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly you need to define a backup user with the WFA portal;&amp;nbsp; Login to WFA as admin and create a new user (I called mine "backup") and give him a role of backup; Do this via:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools &amp;gt; Users &amp;gt; (right click New) or Actions &amp;gt; New &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14974_newuser.jpg" /&gt;&lt;/P&gt;&lt;P&gt;This user is required to run the backups via the CLI (Note: you will get Unauthorised access if you try and login to the WFA portal using this user ID) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next login into the WFA Server and launch a Command Prompt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14975_CommandPrompt.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and run:&lt;/P&gt;&lt;P&gt;cd "C:\Program File (x86)\NetApp\WFA\bin"&lt;/P&gt;&lt;P&gt;powershell .\Backup.ps1 "backup username" "backup password" "filename for the backup"&lt;/P&gt;&lt;P&gt;(the command/script will return the complete filename for the backup)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In order to run Powershell script on your server you may have to Enable Script Support - this post will show you how:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/" target="_blank"&gt;http://www.tech-recipes.com/rx/2513/powershell_enable_script_support/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 2: depending on what you tried initially you may find that PowerShell caches your credentials - if after the above your still getting un-authorised access errors;&amp;nbsp; close your command prompt window and retry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to Dekel for helping me sort this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:09:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59015#M12281</guid>
      <dc:creator>fenton</dc:creator>
      <dc:date>2012-03-13T14:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running a WFA backup from the Command Line</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59023#M12283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a great new feature in WFA, thank you!&lt;/P&gt;&lt;P&gt;One thing I'd like to ask is does anyone know how I could append a date string to this backup file name?&amp;nbsp; This would enable me to run this from a backup program like Netbackup and easily add a new file each day.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 18:25:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59023#M12283</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2012-04-12T18:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running a WFA backup from the Command Line</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59027#M12284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cold wrap the command above into a batch or power shell script and pass a date string to the output file name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll see if I can whip up a script to do this in the next couple of days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 19:05:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Running-a-WFA-backup-from-the-Command-Line/m-p/59027#M12284</guid>
      <dc:creator>fenton</dc:creator>
      <dc:date>2012-04-12T19:05:34Z</dc:date>
    </item>
  </channel>
</rss>

