Procédure
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.
Ask the LWS team and the community. Answers are published after moderation.