Description
> cbrestore:
> The examples say just to use "-bucket=x" but it actually requires
> a source and/or destination bucket:
>
> [root@localhost membase-membase-cli-88bfe81]# python26 ./cbrestore
> /tmp/b/bucket-default/node-127.0.0.1%3A8091/ http://localhost:8091
> --bucket=test warning: could not import couchstore module; accessing
> local couchstore files will not work Usage: cbrestore [options]
> backup_dir destination
> Restores a single couchbase bucket.
> Please first create the destination / bucket before restoring.
> Examples:
> cbrestore /backups/backup-42 http://HOST:8091 \
> --bucket=default
> cbrestore /backups/backup-42 couchbase://HOST:8091 \
> --bucket=default
> cbrestore /backups/backup-42 memcached://HOST:11211 \
> --bucket=sessions
>
> cbrestore: error: ambiguous option: -bucket (-bucket-destination, --bucket-source?)
> -Even with --bucket-destination, the above example doesn't work:
> cbrestore /backups/backup-42 http://HOST:8091 \
> --bucket=default
Will fix the examples to be correct.
Also, if the backup had more than one bucket in it, then you'll have
to specify a --bucket-source, too.