Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.9.3
    • Component/s: cerberus, chunter, sniffle
    • Labels:
      None
    • Environment:

      Description

      Hi, we are currently adding a feature of auto_backup into fifo, almost done:

      1. build it into fifo, including cerberus (add metadata management), sniffle (when updating metadata, notify the hypervisor), libchunter (add set_metadata message), chunter (all the heavy-lifting)
      2. don't want to change data storage, so we use metadata of VM, which is against your design of Metadata (by default, fifo ignores the metadata)
      3. currently metadata nesting is somehow buggy, so we only use metadata root key
      4. add a dep into chunter: erlcron, responsible for cron-like job management
      5. using simple text base rule for auto_bakcup, including auto_backup_snapshot, auto_backup_inc, auto_backup_full
      6. for auto_backup_snapshot & auto_backup_full, a max retaining-number rule is supported

      Rule spec:
      auto_backup_max_snap:how many snapshots are retained for a rule at most,default to 3
      auto_backup_max_full:similar to above
      auto_backup_snap_<name>:a rule for snapshot, user give it a name
      auto_backup_full_<name>:similar to above
      auto_backup_inc_<name>:similar to above

      Schedule spec: (following the spec used by erlcron)
      daily:

      {daily, <time>}

      weekly:

      {weekly, <week>, <time>}

      monthly:

      {monthly, <day>, <time>}

      ...

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              liuzhen 刘振
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: