Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-102157

Warn that manual replication will do nothing

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 11.3-BETA1
    • Component/s: WebUI
    • Labels:
      None

      Description

      When creating non-local PUSH replication task that has also_include_naming_schema, we need to call

      {
          "id": "6841f242-840a-11e6-a437-00e04d680384",
          "msg": "method",
          "method": "replication.count_eligible_manual_snapshots",
          "params": [
              // dataset
              "repl/work",
              // all naming schemas
              ["auto-%Y-%m-%d_%H-%M"],
              // transport
              "SSH",
              // ssh connection ID
              4
          ]
      }
      

      And either show "green" note like "200 of 300 existing snapshots of dataset tank/data would be replicated with this task" near the "Save" button.

      Or show "red" note "None of 300 existing snapshots of dataset tank/data would be replicated with this task" near the "Save" button.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  lola Lola Yang (Inactive)
                  Reporter:
                  vladimirv Vladimir Vinogradenko
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: