Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20057

Enterprise backup command-line is a pain to use

    XMLWordPrintable

Details

    • Untriaged
    • No

    Description

      The enterprise backup command-line is really verbose. It's lots of small things, like no shortcuts '--username vs -u' and no way (or no documented way) to set the archive, repo or credentials from an environment variable (It really shouldn't take more space than a tweet to run a backup).

      The host variable is also annoying in that it forces you to specify at least a port or a protocol (or both if you're unfortunate enough to use http). It would be much nicer if you could just do '--host localhost' and it can just assume you're trying to backup a Couchbase cluster.

      The merge situation is also a massive pain in that you have to fully specify the timestamp of the start and end points. If you specify '2016-04-05' it should just assume the start of that day and look for the earliest backup after that point for the start and earliest backup before that point for the end. There should also be a shortcut (or default) for unbounded in one or both directions (e.g. merge the entire 'repo').

      It would also be nice if it functioned like `cbc` does and remembers the parameters you've used in the past. For instance, if you just config'd the archive '/backups/couchbase' and the repo 'sessions' then it should remember that when you subsequently use backup or merge. Or if you run a backup with '--threads 8' it should remember that for next time.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            will.gardner Will Gardner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty