+2

dropbox google-drive owncloud. Sync: mysql databases and server with cloud services...

Anibal Aguila 10 years ago 0
Hi,
    I am using Ajenti for local development purposes (ubuntu 12.04). I need sync '/srv' and '/var/lib/mysql' into my cloud service, ej: '~/Dropbox/www/' I tried with this script but have a 403 Forbidden nginx, permissions issue?

target
(move srv)
(create Symbolic link for srv)
(move mysql)
(create Symbolic link for mysql)

terminal
cd /
sudo mv /srv ~/Dropbox/www/
sudo ln -sf ~/Dropbox/www/srv /
sudo mv /var/lib/mysql ~/Dropbox/www/
sudo ln -sf ~/Dropbox/www/mysql /var/lib

Thanks in advance,
Anibal Aguila