ZFS

Create a periodic ZFS snapshot job

Changed on

Create a periodic ZFS snapshot job

post/zfs/datasets/snapshot/periodic

Request

  • Base URL
    https://sylve.lan:8181/api
  • URL
    https://sylve.lan:8181/api/zfs/datasets/snapshot/periodic
  • Auth
    API key in header Authorization

Request body

cronExprstring
guidstring required
intervalinteger
keepDailyinteger
keepHourlyinteger
keepLastinteger
keepMonthlyinteger
keepWeeklyinteger
keepYearlyinteger
maxAgeDaysinteger
prefixstring required
recursiveboolean
retentionTypestring

Response

Created

dataunknown
errorstring
messagestring
statusstring

Changes

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • info

      endpoint added