BACKUP FROM SERVER docker exec -it couchbase_couchbase_ bin bash cbbac

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
BACKUP FROM SERVER:
docker exec -it couchbase_couchbase_1 /bin/bash
cbbackup http://127.0.0.1:8091 /default-backup-20181204 -u Administrator -p KadaL12345 --single-node -b default
tar -zcvf backup.tar.gz backups/
exit
docker cp couchbase_couchbase_1:/backup.tar.gz .
cp /root/backup.tar.gz /home/nextflow-dev/backup.tar.gz
scp enginedev:/home/nextflow-dev/backup.tar.gz .you need to go to couchbase shell using dockercreate backup inside the containerexitget backup using docker spthen get backup to your local using scp