USB File Transfers from a Backup Drive into Shared Folders

    • OMV 3.x
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • USB File Transfers from a Backup Drive into Shared Folders

      OK. I haven't seen anything on this, so here goes.

      I had a USB backup drive that I used with my now defunct HP Media Server (Windows based). Tens of thousands of files arranged in multiple folders. I have replicated those same folders in Shared Folders as SMB/CIFS. All those folders/directories now show up in my PC under Networks in File Explorer.

      I had transferred the contents of a backup folder into the new Shared Folder of the same name by plugging the backup drive into my PC, bringing up two File Explorer windows, selecting all from the backup folder, and then copying it to the new Shared Folder. All from my PC. But that seemed slow, and definitely clogged up my internet.

      Is there a webGUI that would allow me to plug the backup drive into my OMV box, and perform a similar operation without passing it through my PC? And if that is not available, is there a command sequence from root that would let me do that?

      I'd appreciate any input.
    • Have a look at the openmediavault-usbbackup plugin.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • OMVextras for OMV 3.x are just a bit different than in OMV 2.x, and not everything that was available in 2.x is in 3.x. There are multiple repos, most with a "testing" version. I'll do some hunting around and see if eXtplorer is in one of the repos I haven't loaded yet. Thanks
    • votdev wrote:

      Have a look at the openmediavault-usbbackup plugin.
      Don't know if this will work. I can set my from/to, external storage device, and my shared folder, but don't see how to specify the folder in my external storage device. I want to be able to, as an example, copy files from <external storage device>/documents to <OMV Shared Folder>/documents.

      Any input would be appreciated.
    • curious1 wrote:

      see if eXtplorer is in one of the repos I haven't loaded yet
      It hasn't been ported. You don't have to enable repo to check. Just look on bintray.
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13 plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      It hasn't been ported. You don't have to enable repo to check.
      Thanks. Yeah, I did the checking and also ran across another reply of yours that it hadn't been ported.

      I did successfully use Rsync once to copy the contents of a directory from my backup drive to the Shared Folder. I simply plugged in the USB drive, mounted it, created a Shared Folder and then ran Rsync to copy from one to the other. So, then I created shares for all of the remaining directories on the USB drive, but then when I opened Rsync, I got an exception error:
      "Error #0:
      exception 'OMV\Config\DatabaseException' with message 'Failed to execute XPath query '//system/shares/sharedfolder[uuid='088d3e9f-375c-485f-a280-197418eccac3']'.' in /usr/share/php/openmediavault/config/
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/ OMV\Config\Database->get('conf.system.sha...', '088d3e9f-375c-4...')
      #1 [internal function]: OMVRpcServiceRsync->getList(Array, Array)
      #2 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpc/ OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)
      #4 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Rsync', 'getList', Array, Array, 1)
      #5 {main}"

      Have no idea what I did wrong. What I can do now is just copy files from one share to the other in Windows File Explorer. But what I notice is that copying in File Explorer is a lot slower than using Rsync. I just can't seem to figure out what I did wrong. Any ideas?

      Added to post:
      On the one Rsync that worked, I created a Shared Folder to match the USB drive folder, and successfully copied with the plugin. Then I went back and deleted the Shared Folder. Perhaps I messed up the known shares somehow.

      Should I Uninstall Rsync and then re-install it?

      The post was edited 2 times, last by curious1 ().

    • OK. I see that rsync is essentially built-in to OMV ... not a plugin. So can't uninstall it. I saw on another thread that I should delete everything between <jobs> and </jobs> in the rsync section of /etc/openmediavault/config.xml. Looking for an editor that will allow me to do that without a lot of messing around (oh the joys of being a complete neophyte in the Linux world ;( ).