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

backup/restore - backup into timestamped directory

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.0.0
    • None
    • tools
    • Security Level: Public
    • None

    Description

      From Perry...

      > Can we put a timestamp on the data directory? I get an error when
      running the backup to the same directory twice (because it isn't
      empty) but it would be nice if the user could just have a script that
      put it into the same directory each time and we managed the
      timestamps. I would recommend the timestamp at a "high level"
      directory to avoid any confusion.
      i.e. /backup_directory/timestamp/bucket_name/node_name instead of
      /backup_directory/bucket_name/node_name/timestamp

      So, running "cbbackup http//X:8091 /backups" twice in a row would
      something like...

      /backups/20120723-091423/...

      /backups/20120723-091501/...

      And, the "..." is whatever cbbackup used to create, like...

      /backups/20120723-091501/bucket-default/
      /backups/20120723-091501/bucket-default/node-10.4.2.6%3A8091/
      /backups/20120723-091501/bucket-default/node-10.4.2.6%3A8091/data-0000.cbb

      But, when folks run cbrestore, they should specify the timestamped
      directory, like...

      cbrestore /backups/20120723-091423 http://Y:8091

      I'll update the func spec and go the quick rounds of review with that.

      Attachments

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

        Activity

          People

            dipti Dipti Borkar (Inactive)
            steve Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty