{"id":759,"date":"2021-01-18T14:56:04","date_gmt":"2021-01-18T14:56:04","guid":{"rendered":"https:\/\/server-help.org\/?p=759"},"modified":"2021-01-18T14:56:04","modified_gmt":"2021-01-18T14:56:04","slug":"mount-hidrive-using-webdav-protocol","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2021\/01\/18\/mount-hidrive-using-webdav-protocol\/","title":{"rendered":"Mount HiDrive using WebDav Protocol"},"content":{"rendered":"\n<p>HiDrive secures your data in the cloud so you can easily access it from any device. <a href=\"https:\/\/www.ionos.com\/office-solutions\/hidrive-cloud-storage\">Check HiDrive<\/a>. In this Article we will work with HiDrive with WebDav Access, and how to Mount HiDrive under Linux Servers.<\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Install required software<\/strong><\/p>\n\n\n\n<ol><li>Install davfs2 package to mount WebDav:<\/li><\/ol>\n\n\n\n<p>For CentOS \/ RHEL 7, 8:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y davfs2<\/code><\/pre>\n\n\n\n<p>For Debain, Ubuntu<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install -y davfs2<\/code><\/pre>\n\n\n\n<p>2. Mount WebDav using Command Line Interface<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir \/mnt\/HiDrive<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -t davfs -o noexec https:\/\/webdav.hidrive.ionos.com\/ \/mnt\/HiDrive\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Please enter the username to authenticate with server\nhttps:\/\/webdav.hidrive.ionos.com\/ or hit enter for none.\n  Username: test\nPlease enter the password to authenticate user valhein with server\nhttps:\/\/webdav.hidrive.ionos.com\/ or hit enter for none.\n  Password: \n<\/code><\/pre>\n\n\n\n<p>Now our HiDrive has been Successfully mounted under \/mnt\/HiDrive Directory<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost ~]# df -h \/mnt\/HiDrive\nFilesystem                         Size  Used Avail Use% Mounted on\nhttps:\/\/webdav.hidrive.ionos.com\/  1.3T  763G  509G  61% \/mnt\/HiDrive<\/code><\/pre>\n\n\n\n<p class=\"has-large-font-size\"><strong>Mount HiDrive using fstab file<\/strong><\/p>\n\n\n\n<p>Edit your \/etc\/fstab file with any text editor vi, vim, nano, and create an entry to mount the file system:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:\/\/webdav.hidrive.ionos.com\/ \/mnt\/HiDrive davfs _netdev,auto 0 0<\/code><\/pre>\n\n\n\n<p>Instead of providing Username and Password every time, we will save username and password in \/etc\/davfs2\/secrets file, at the end of the file, add the following line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/mnt\/HiDrive &lt;Username> &lt;Password><\/code><\/pre>\n\n\n\n<p> Replace &lt;Username> with your Username, and &lt;Password> with your Password, without &lt;> brackets. Finally your WebDav share has been mounted.<\/p>\n\n\n\n<p>For Backing up your Server using HiDrive (FTP Protocol) please check <a href=\"https:\/\/server-help.org\/index.php\/2019\/01\/14\/linux-server-backups-using-hidrive-pro\/\">Linux <\/a>&amp; <a href=\"https:\/\/server-help.org\/index.php\/2019\/01\/15\/windows-server-backups-using-hidrive-pro\/\">Windows <\/a>Articles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HiDrive secures your data in the cloud so you can easily access it from any device. Check HiDrive. In this Article we will work with HiDrive with WebDav Access, and how to Mount HiDrive under Linux Servers. Install required software Install davfs2 package to mount WebDav: For CentOS \/ RHEL 7, 8: For Debain, Ubuntu&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,1],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/759"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=759"}],"version-history":[{"count":1,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/759\/revisions"}],"predecessor-version":[{"id":760,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/759\/revisions\/760"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}