Closed hadrien-toma closed 4 years ago
Can not reach to do a backup with couchdb-dump.
Steps to reproduce the behavior:
yarn run dbs
http://localhost:5000/_utils
local-hardware-menu
tools/couchdb/backup/index.bash
I would like to have no error when attempting a backup.
> yarn run print-envs node --version v13.14.0 npm --version 6.14.1 yarn --version 1.21.1 yarn run ng --version $ ng --version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 9.0.4 Node: 13.14.0 OS: linux x64 Angular: 9.0.4 ... animations, cli, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Ivy Workspace: Yes Package Version ------------------------------------------------------------ @angular-devkit/architect 0.900.4 @angular-devkit/build-angular 0.900.1 @angular-devkit/build-ng-packagr 0.900.4 @angular-devkit/build-optimizer 0.900.1 @angular-devkit/build-webpack 0.900.1 @angular-devkit/core 9.0.4 @angular-devkit/schematics 9.0.4 @angular-devkit/schematics-cli 0.13.8 @angular/cdk 9.1.0 @angular/material 9.1.0 @ngtools/webpack 9.0.1 @schematics/angular 9.0.4 @schematics/schematics 0.13.8 @schematics/update 0.900.4 ng-packagr 9.0.2 rxjs 6.5.4 typescript 3.7.5 webpack 4.41.2 python --version Python 3.7.3 pip --version pip 19.1.1 from /home/hadrien_toma_1/anaconda3/lib/python3.7/site-packages/pip (python 3.7) Done in 2.52s.
Fixed. Problem came from the last \n in : printf -v currentDate '%(%Y%m%d%H%M%S)T\n' -1 line 5
printf -v currentDate '%(%Y%m%d%H%M%S)T\n' -1
Nice @Arcahub, thank you! No need to submit a pull request, I will change it in my branch directly.
Bug report
Description
Can not reach to do a backup with couchdb-dump.
To Reproduce
Steps to reproduce the behavior:
http://localhost:5000/_utils
in a browser and create a database namedlocal-hardware-menu
. Add some docs in this database for testing.Expected behavior
I would like to have no error when attempting a backup.
Environment