ONTAP Rest API Discussions

Backup schedule using POST with https

ConnorH
157 Views

I am trying to resolve the ActiveIQ Suggestion “The node is not configured to save configuration backups to a remote location.” We don’t really understand why POST is the defaulted method for HTTPS and how we cannot change it to PUT as is explained by the KB article the ActiveIQ Suggestion links us to:

The web server to which you are uploading the configuration backup file must have PUT operations enabled for HTTP and POST operations enabled for HTTPS. For more information, see your web server's documentation.

The problem we are facing is that Artifactory does not support POST for HTTPS and this is where we are attempting to have our backups land. Artifactory returns a 405 when we attempt to use POST. 

::*> system configuration backup upload -node storage-cold-01 -backup storage-cold.8hour.2025-03-20.02_15_00.7z -destination <artifactory link> -rest-method POST

Enter the username: <username>
Enter the password:

Uploading the configuration backup file.

Error: command failed: Upload operation of configuration backup file exited with error: Failed to upload configuration backup file "/mroot/etc/backups/config/storage-cold.8hour.2025-03-20.02_15_00.7z" to

<artifactory link>. Error: HTTP response code said error : The requested URL returned error: 405.

::*>

We are able to use ‘system configuration backup upload’ with ‘-rest-method PUT’. We notice there is no way to adjust the REST method that the scheduled backup uses though. 

ConnorH_1-1742926212889.png

 

I opened a technical support case regarding this and have been told that I must ask about this in here. 

 

0 REPLIES 0
Public