This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Backup Policies

In this article

    You can get a short representation of a collection of backup policies configured in Veeam Availability Console.

    Request

    To get a representation of all Veeam Availability Console backup policies, send the GET HTTPS request to the URL of the /backupPolicies collection.

    HTTPS Request

    GET https://<Availability-Console>:1281/v2/backupPolicies

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 Success.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message: application/json; charset=utf-8

    Response Body

    In the response body, Veeam Availability Console returns a representation of the /backupPolicies collection.

    Example Get Backup Policies

    The following request returns a short representation of all backup policies configured in Veeam Availability Console.

    Request:

    GET https://localhost:1281/v2/backupPolicies

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "id": 1,

       "name": "Workstation: File level backup. Personal files. Local drive. Daily schedule.",

       "type": "Predefined",

       "tenantsCount": 8,

       "modifiedDate": "2017-10-18T05:47:59Z",

       "description": "This policy processes user profile folder including all user settings and data.",

       "osType": "Workstation",

       "createdBy": "My Company",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/backupPolicies/1"

         }

       }

     },

     {

       "id": 2,

       "name": "Server: Entire computer. Microsoft Exchange Server. Cloud backup. Daily schedule.",

       "type": "Predefined",

       "tenantsCount": 6,

       "modifiedDate": "2017-10-18T05:47:59Z",

       "description": "This policy should be used if you want to create a backup of the entire computer image.  When you restore data from such backup, you will be able to recover the entire computer  image as well as data on specific computer volumes: files, folders, application data and so on.",

       "osType": "Server",

       "createdBy": "My Company",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/backupPolicies/2"

         }

       }

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.