Synchronising folders to remote Cloud storage

Procédure

Installing the DavFS package

First of all, you need to install the DavFS package

So, for example, on Ubuntu, Debian, Mind, davfs2 can be installed as follows:

sudo apt-get install davfs2


On Fedora, CentOS, OpenSuse, etc, davfs2 can be installed with the following command:

yum install davfs2

A remote storage folder can be mounted using NextCloud even if it is not natively supported by the system. This is a feature of the NextCloud protocol gateway.


To mount remote storage in a local folder:

mount -t davfs https://webdav.cloudlws.com ~/Yourfolder https://webdav.cloudlws.com ~/Yourfolder


If you want to synchronise files from your NextCloud account to a local folder, you can run the command:

rsync -rutv ~/CloudDAV/ /local/directory/


If you want to synchronise files from your local folder to the remote storage space, run the following command:

rsync -rutv --inplace /local/directory/ ~/NextCloud/


Once the configuration has been made, you can add it to a script and check that it is working using a cron job.
If you don't yet have an online storage package or would like to upgrade to a cloud storage package with advanced features, please consult this documentation to place your order, and find information about the Nextcloud and Nextcloud Pro packages here.

Rate this article :

5/5 | 2 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

11mn reading

Synchronise NextCloud with my computer

9mn reading

Sharing my data with NextCloud

2mn reading

How do I use NextCloud in WebDav mode on Cyberduck?

0mn reading

How do I back up my Qnap NAS on the LWS Cloud with WebDav?


Ask the LWS team and its community a question