Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
remote_mount_plugin_for_omv5 [2021/02/12 22:28] – crashtest | remote_mount_plugin_for_omv5 [2021/07/07 00:22] – [Setting up an Rsycn Job] crashtest |
---|
\\ | \\ |
\\ | \\ |
If preferred, this document is available in PDF form at this location → [[https://github.com/OpenMediaVault-Plugin-Developers/docs/blob/master/Adden-D-Remote_Mount_Plugin.pdf|Adden-D Remote Mount Plugin]] | This document can be converted to a PDF file, in the user's language of choice (see the following), on Windows, Mac's and popular Linux desktop platforms. Simply select the printer icon on the upper right corner of this web page. When prompted at the client, select “print to PDF”, name and save the file. |
\\ | \\ |
{{ :underconstruction.jpg?400 |}} | \\ |
| [[https://translate.google.com/|Google Translate]] kann Wiki-Dokumente in Ihre Sprache übersetzen. Fügen Sie die Wiki-URL in das linke Fenster ein und öffnen Sie den übersetzten Link rechts.\\ |
| [[https://translate.google.com/|Google Translate]] puede traducir documentos wiki a su idioma. Pegue la URL de la wiki en la ventana izquierda y abra el enlace traducido a la derecha.\\ |
| [[https://translate.google.com/|Google Translate]] peut traduire des documents wiki dans votre langue. Collez l'url du wiki dans la fenêtre de gauche et ouvrez le lien traduit sur la droite.\\ |
| [[https://translate.google.com/|Google]]翻訳はwikiドキュメントをあなたの言語に翻訳することができます。 左側のウィンドウにwikiのURLを貼り付け、右側の翻訳されたリンクを開きます。\\ |
\\ | \\ |
===== The Remote Mount Plugin ===== | ===== The Remote Mount Plugin ===== |
===== Uses for Remote Mount ===== | ===== Uses for Remote Mount ===== |
| |
Remote Mount is useful for mounting, accessing and replicating network shares, located on another LAN server or a LAN client. This capability works very well with Rsync, for backing up network shares over a LAN connection. | * Remote Mount is useful for mounting, accessing and replicating network shares, located on another LAN server or a LAN client. This capability works very well with Rsync, for backing up network shares over a LAN connection. |
\\ | * Along with setting up Remote Mount, this document will provide a practical example where Remote Mount and Rsync are used for replicating a network share. |
\\ | * **Remote Mount makes the creation of a full Backup Server relatively easy**, with no command line operations required. Guidance for creating a full Backup Server is provided in this document. |
Along with setting up Remote Mount, this document will provide a practical example where Remote Mount and Rsync are used for replicating a network share. | |
\\ | |
\\ | |
===== Install the Remote Mount Plugin ===== | ===== Install the Remote Mount Plugin ===== |
| |
---- | ---- |
| |
On the Primary server; under **Access Rights Management**, **Shared Folders**; click on the **Music** shared folder and the **ACL** button. | **On the Primary server**:\\ |
| \\ |
| Under **Access Rights Management**, **Shared Folders**; click on the **Music** shared folder and the **ACL** button. |
\\ | \\ |
\\ | \\ |
\\ | \\ |
\\ | \\ |
For users who are interested only in mounting a remote share, this concludes the installation, configuration, of the Remote Mount plugin. | For users who are interested only in mounting a remote share, this concludes the installation and configuration of the Remote Mount plugin. |
\\ | \\ |
{{ :divider2.png?800 |}} | {{ :divider2.png?800 |}} |
\\ | \\ |
\\ | \\ |
It's necessary to change ownership (**chown**) to the local root account and the local users group, and to modify access permissions (**chmod**). In this case **--chmod=0775** and **--chown=root:users** was used. This is the equivalent of: | It's necessary to change ownership (**chown**) to the local root account and the local users group, and to modify access permissions (**chmod**). In this case ''−−chmod=0775'' and ''−−chown=root:users'' was used. This is the equivalent of: |
\\ | \\ |
\\ | \\ |
| |
==== Use Cases ==== | ==== Use Cases ==== |
\\ | |
\\ | |
=== Home Users: === | === Home Users: === |
\\ | |
| |
For home use, where files are largely static, home admin's should consider a replication interval of once a week or every two weeks. The reasoning is, a reasonable time interval is needed to discover a data disaster on the Primary server and turn off share replication, before the problem is replicated to the Backup Server. | For home use, where files are largely static, home admin's should consider a replication interval of once a week or every two weeks. The reasoning is, a reasonable time interval is needed to discover a data disaster on the Primary server and turn off share replication, before the problem is replicated to the Backup Server. |
\\ | \\ |
\\ | \\ |
While not for beginners, setting up automated and self purging snapshots is within the capability of a Computer or Linux enthusiast. This document [[https://github.com/OpenMediaVault-Plugin-Developers/docs/blob/master/HOWTO-Automated%20ZFS%20snapshots.pdf|HOW-TO: Setup automated, Self Rotating and Purging ZFS snapshots]] details the processes for setting up automated snapshots using zfs-auto-snapshot . | While not for beginners, setting up automated and self purging snapshots is within the capability of a Computer or Linux enthusiast. [[https://github.com/OpenMediaVault-Plugin-Developers/docs/blob/master/HOWTO-Automated%20ZFS%20snapshots.pdf|HOW-TO: Setup automated, Self Rotating and Purging ZFS snapshots]] details the processes for setting up automated snapshots using zfs-auto-snapshot . |
| |
---- | ---- |
* Under **Services**, **SMB/CIF**, in the **Settings** Tab under **General Settings**, set **Enable** to **ON** (green). | * Under **Services**, **SMB/CIF**, in the **Settings** Tab under **General Settings**, set **Enable** to **ON** (green). |
* Notify users to use the Backup Server until further notice. | * Notify users to use the Backup Server until further notice. |
| * On the **Primary Server**, under **Services**, **SMB/CIF**, **Settings** Tab, **General Settings**, **disable SMB** (off - gray) to avoid user confusion. |
| |
\\ | \\ |
===== The Bottom Line ===== | ===== The Bottom Line ===== |
\\ | \\ |
The Remote Mount Plugin and Openmediavault's standard features make it relatively easy and inexpensive to setup 100% backup of a Primary Server's entire data store, with a second hard drive of adequate size. The platform could be a low cost SBC, an I386 or an amd64 PC. | The Remote Mount Plugin and Openmediavault's standard features make it relatively easy and inexpensive to setup 100% backup of a Primary Server's entire data store, with a second hard drive or an array of adequate size. The platform could be a low cost SBC, an I386 or an amd64 PC. |
{{ :divider2.png?800 |}} | {{ :divider2.png?800 |}} |
| |
| |
(OMV's standard Linux permissions)\\ | (OMV's standard Linux permissions)\\ |
**Owner: root - Read/Write/Execute**\\ | **Owner: root - Read/Write/eXecute**\\ |
**Group: users - Read/Write/Execute**\\ | **Group: users - Read/Write/eXecute**\\ |
**Others: Read/Execute**\\ | **Others: Read/eXecute**\\ |
\\ | \\ |
{{ ::remotemount17.jpg?600 |}} | {{ ::remotemount17.jpg?600 |}} |