Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
Temporary Folder APIs
Published Nov 18, 2022

Temporary Folder APIs

Nov 18, 2022
Subscribe

This setting allows users to set the temporary folder path. The request is wrapped inside a "tempFolder" block.

This section provides the following topics:

  • Input Parameters

  • Output Parameters

  • Returned Status Codes

  • Error codes

Input Parameters

The following table provides the input parameters and descriptions.

Input Parameter

Description

path

Sets the temporary folder path. This path can be either a local path or a network path.

credentials

Describes the required data to log in to a secured network path, if necessary and it has the following children:

  • "username" : the username.

  • "password" : the password.

Note: The credentials are only used by the network path and thus should not be sent along a local path. Even if the path is set to a network path, the credentials can be omitted (the network does not require authentication) or can be set to empty strings as follows in usages.

Output Parameters

The output is the "actionId" of the operation, which can be used to track completion status via the Action Status command:

GET {siteUrl}/v2/accounts/{accountUserName}/computers/{subaccountId}/action/{actionId}/status

Request example

{

    "tempFolder": {

        "path": string

        "credentials": {

            "username": string (can be empty),

            "password": string (can be empty)

        }

    }

}

 

Online operation:

Response status: 200 OK

Offline operation:

The output is an id of the operation, which can be used to track completion status via the command below.

Response status: 202 Accepted

Response example

{

  "data": {

    "id": "1"

  }

}

Returned Status Codes

The following table provides the returned status codes.

Returned Status Codes

Description

200

The request was successful.

202

The request was accepted and is processed when the agent is online. The returned id can be used to check the status of the operation.

400

Validation errors.

401

Authentication errors.

Usage Examples

There are multiple combinations of the parameters above, resulting in different outcomes:

Set the temp folder path to a local path:

 

{

  "tempFolder": {

    "path": "C:\\Users"

  }

}

 

Set the temp folder path to a network path using the IP address, without authentication:

{

    "tempFolder": {

        "path": "\\\\1.2.3.4\\share"

    }

}

 

Set the temp folder path to a network path using the domain-name, without authentication:

{

    "tempFolder": {

        "path": "\\\\my-domain.com\\share"

    }

}

 

Set the temp folder path to a network path using the IP address, with authentication:

{

    "tempFolder": {

        "path": "\\\\1.2.3.4\\share",

        "credentials": {

            "username": "some_username",

            "password": "some_password"

        }

    }

}

 

Set the temp folder path to a network path using the domain-name, with authentication:

{

    "tempFolder": {

        "path": "\\\\my-domain.com\\share",

        "credentials": {

            "username": "some_username",

            "password": "some_password"

        }

    }

}

 

Note: The username and password fields can be sent as empty strings individually.

Error Codes

  • Running_Actions_PreventPreferencesUpdate - cannot update preferences while Backups, Restores or Deletes are running

  • Running_Actions_FailedToAcquireLock - critical error, failed to acquire lock for the operation (this never happens)

Network shares only:

  • BackupSetActions_NetworkShareInaccessible - network share address could not be reached

  • BackupSetActions_NetworkPathNotFound - the network path could not be found

  • BackupSetActions_NetworkShareInvalidAuth - username + password combination failed authentication

  • BackupSetActions_NetworkShareNoWritePermissions - username and password ok, but no write permissions for the provided username on that share.

  • CreateFolderFailed: general error, failed to create the folder on the file system . Most likely a volume is read only or cannot be written to due to missing permissions on the file system. More details may be available in the agent log.

 

 


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Intronis Backup
Results will update as you type.
  • Intronis Backup Release Notes
  • Initial Seed/Restore Drive for IBU
  • Getting Started with Intronis Backup (ECHOplatform)
  • Managing Intronis Backup (IBU)
    • Intronis Backup Agent
    • Managing IBU Branding
    • Using the Home Dashboard
    • Managing Multi-Factor Authentication
    • Managing Accounts
    • Manage Accounts/Packages
    • Managing Account Billing
    • Managing Partner Pricing
    • Viewing Reports and Logs
    • Managing Alert, Notification and Preference Templates
    • Software User Interface
    • Managing Backups and Restores
    • Intronis Backup Reference Articles
    • Managing Legacy IBU Integrations
    • Barracuda REST APIs for the Echoplatform Portal
    • Barracuda REST APIs for IBU
      • Authentication and Installation
      • Backup Set Operations APIs
      • Computer Settings APIs
      • Computer Software APIs
        • Bandwidth Throttling APIs
        • Local Vault APIs
        • Temporary Folder APIs
      • Operations And Backup Set Subaccount Creation APIs
      • Files and Folders Backup Set Creation APIs
      • Disk Image Standard Backup Set Creation APIs
      • Partner API Calls
      • Restore Files and Folders APIs
      • Restore Images APIs
    • IBU Best Practices
  • Contacting Partner Support
  • Troubleshooting Volume Shadow Copy Problems
  • Allocating Shadow Copy Storage Space
  • VSS Error Message: Snapshots were found, but they were outside of your allowed context
  • The VSS Writer Is in a Bad State
  • Fixing Problems with Volume Shadow Copy
  • Creating a VSS Shadow Copy Independently

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 9, "requestCorrelationId": "0bb2dc8f41ba4f3ea6ca01781b4d3c8c"}