For JSON:
header('Content-Type: application/javascript');
header('Content-Type: application/javascript');
sudo wget -O /etc/apt/sources.list.d/couchbase.list packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list
wget -O- packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install libcouchbase2 libcouchbase-dev
sudo apt-get install php-pear
sudo pecl install couchbase
sudo apt-get install build-essentialUpdate php.ini with extension=couchbase.so and restart apache.
sh cbrestore /home/user/Descargas/backup2014-02-10 http://Administrator:password@localhost:8091 --bucket-source=demo --bucket-destination=demo