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

Anibal Aguila 8 years ago 0
    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?

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

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