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.