Hi
I'm very new to OMV but it looks very nice and I think I can use it alot.
I have install it on a orange pi and connect a USB harddrive so I can backup from a windows share folder to USB disk with help from OMV.
Right now I run a backup/sync software from the windows that have the share folder and have connect that to a shared folder that I have create inside OMV.
But I'm curious if i can use OMV to use some kind of backup/sync itself.
I have see it have Rsync and also borgbackup but not sure what to use.
I did install "Remote Mount" but I get a error when I trying to mount to my windows share folder
Code
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': orangepir1plus-lts:
---------- ID: create_filesystem_mountpoint_45eafbe0-91a2-435b-8f4f-80127c7d26e7 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_45eafbe0-91a2-435b-8f4f-80127c7d26e7 for file /etc/fstab was charged by text Started: 19:39:30.855642 Duration: 18.396 ms Changes:
---------- ID: mount_filesystem_mountpoint_45eafbe0-91a2-435b-8f4f-80127c7d26e7 Function: mount.mounted Name: /srv/dev-disk-by-uuid-b025842d-0517-4387-a440-e559fc94262c Result: True Comment: Started: 19:39:30.893874 Duration: 1446.332 ms Changes:
---------- ID: create_filesystem_mountpoint_4119bb3f-01bc-4d60-bf08-d9ebb68fd994 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_4119bb3f-01bc-4d60-bf08-d9ebb68fd994 for file /etc/fstab was charged by text Started: 19:39:32.343330 Duration: 11.286 ms Changes:
---------- ID: mount_filesystem_mountpoint_4119bb3f-01bc-4d60-bf08-d9ebb68fd994 Function: mount.mounted Name: /srv/dev-disk-by-uuid-95e24f65-210e-449d-8445-81824d355702 Result: True Comment: Target was already mounted Started: 19:39:32.356344 Duration: 941.256 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed
---------- ID: create_remotemount_mountpoint_c2558210-1182-46d8-a026-84348eff6372 Function: file.accumulated Result: True Comment: Accumulator create_remotemount_mountpoint_c2558210-1182-46d8-a026-84348eff6372 for file /etc/fstab was charged by text Started: 19:39:33.301160 Duration: 18.214 ms Changes:
---------- ID: mount_filesystem_mountpoint_c2558210-1182-46d8-a026-84348eff6372 Function: mount.mounted Name: /srv/c2558210-1182-46d8-a026-84348eff6372 Result: False Comment: mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Started: 19:39:33.322533 Duration: 597.434 ms Changes:
---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 19:39:33.936667 Duration: 83.275 ms Changes: ---------- diff: --- +++ @@ -3,4 +3,5 @@ # >>> [openmediavault] /dev/disk/by-uuid/b025842d-0517-4387-a440-e559fc94262c /srv/dev-disk-by-uuid-b025842d-0517-4387-a440-e559fc94262c ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 /dev/disk/by-uuid/95e24f65-210e-449d-8445-81824d355702 /srv/dev-disk-by-uuid-95e24f65-210e-449d-8445-81824d355702 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 +//192.168.1.22//backup /srv/c2558210-1182-46d8-a026-84348eff6372 cifs _netdev,iocharset=utf8,vers=3.0,nofail,credentials=/root/.cifscredentials-07dacdb7-b23c-45c0-a484-b63aa9c5c433 0 0 # <<< [openmediavault]
Summary for orangepir1plus-lts
------------
Succeeded: 6 (changed=2)
Failed: 1
------------
Total states run: 7
Total run time: 3.116 s in /usr/share/php/openmediavault/system/process.inc:196
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus55...', '/tmp/bgoutputiq...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
Just hope to find a easy backup/sync that run ever weekend and copy from my windows share folder to my USB harddrive and send a e-mail with a log.