Resolved: Wrong path cbbackup accu/diff

Viewed 30

I make my backup with the following command line in Jenkins. In my Jenkins I can choose several bucket at the same times. When I start my job with many bucket, he starts them one by one.

/opt/couchbase/bin/cbbackup {{ ip }} {{ couchbase_backup_dir }} --username={{ couchbase_admin }} --password={{ couchbase_password }} --mode={{ couchbase_backup_mode }} --verbose

When I set {{ couchbase_backup_mode }} to "full" there is no problem.

./{{ couchbase_backup_dir }}/1st_backup/1st_backup-full/bucket_full and ./{{ couchbase_backup_dir }}/2nd_backup/2nd_backup-full/bucket_full

After that I want accu backups so I start the same processus but I set {{ couchbase_backup_mode }} to "accu"

The first bucket backup "accu" is in ./{{ couchbase_backup_dir }}/2nd_backup/2nd_backup-full/bucket_accu when he should be in ./{{ couchbase_backup_dir }}/1st_backup/1st_backup-accu/bucket_accu

The second bucket backup is in ./{{ couchbase_backup_dir }}/2nd_backup/2nd_backup-accu/bucket_accu

So why my first accu backup are in the wrong directory. thanks

0 Answers
Related