I’m using cbtransfer to backup data from a bucket to a CSV file. The problem is that when I try to restore data, the document appears with metadata inside it.
In the original bucket the document has the key:
And the value:
When I backup it to a CSV file and restore in another bucket appears the following value:
This issue has been reported by a few people, I shall take a look tomorrow but I suspect that there may be a way to avoid adding this metadata by using the extra argument try_xwm=0 (I will have to test the exact behaviour though).
That said, I am not sure that cbtransfer was designed to perform a backup to csv files and then to restore from these same csv files. As the documentation states cbtransfer is designed to be a ‘lightweight extract-transform-load (ETL) tool that transfers data between clusters and to and from files’.
My question to you would be, if you intend to use this as a backup which you wish to later restore, why not instead use the tool cbbackup which has been specifically designed for this task, is there a reason that you want your backup format to be in the form of .csv files?
Same here … I am facing same problem , why this hasnt been resolved yet. Moreover , I had to resort to cbtransfer because cbrestore does not import all the documents as exported using cbbackup … that is another issue…