sshfs stephane@paprika.c2n.u-psud.fr:/clearcloud /paprika/
cd paprika/
sudo -u www-data rsync -av /data/ /paprika/data/
sudo joe /usr/bin/synchro_with_paprika
synchro_with_paprika
Following script should be used to avoid mistakes. You must run it as root (sudo …
) from the terminal even in remote mode.
sshfs stephane@paprika.c2n.u-psud.fr:/clearcloud /paprika/
rsync -av /data/ /paprika/data/
rsync -av /var/www/ /paprika/backup/
rsync -av /etc/ /paprika/etc/
write hereafter the bugs and limitations.