Details
Description
After a CouchbaseBackup's backupRetention and/or logRetention duration, the backup script fails with the following error...
2020-08-25 15:30:38,605 - root - INFO - raising backup fail event
2020-08-25 15:30:38,638 - root - ERROR - Exiting Script. Failed with output: cbbackupmgr error during backup action: b'Error backing up cluster: Error opening archive at /data/backups due to `Not an archive directory`\n'
The contents of the backup directory are as follows...
/data/backups # ls -alh
{{total 48K }}
drwxrwsr-x 11 1000 root 4.0K Aug 25 15:30 .
drwxrwsr-x 5 root root 4.0K Aug 17 20:50 ..
drwxrws--- 13 1000 root 4.0K Aug 24 21:06 couchbase-2020-08-17T20_50_44
drwxrws--- 26 1000 root 4.0K Aug 19 07:04 couchbase-2020-08-18T08_00_16
drwxrws--- 27 1000 root 4.0K Aug 20 07:03 couchbase-2020-08-19T08_05_00
drwxrws--- 26 1000 root 4.0K Aug 21 07:07 couchbase-2020-08-20T08_07_01
drwxrws--- 26 1000 root 4.0K Aug 22 07:05 couchbase-2020-08-21T08_07_06
drwxrws--- 26 1000 root 4.0K Aug 23 07:08 couchbase-2020-08-22T08_06_57
drwxrws--- 26 1000 root 4.0K Aug 24 07:03 couchbase-2020-08-23T08_05_17
drwxrws--- 16 1000 root 4.0K Aug 24 21:05 couchbase-2020-08-24T08_05_51
rw------ 1 1000 root 3 Aug 25 15:30 lock.lk
drwxrws--- 2 1000 root 4.0K Aug 17 20:50 logs
Currently, the only solution is to delete the backup directory and start from a clean slate.
Attachments
Issue Links
- is triggering
-
K8S-1668 Testing new backup image with 2.0.2
- Closed