NAS / OpenMediaVault
#46
Thanks pfeerick for your advice.

1. rclone sync GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
Using Dolphin, I could see the .pdf file from "GDrive:/Testing" copied (or synced) to my OMV "iz" folder.
According to rclone sync command (typing "rclone sync -h"), sync command does what copy command does, by copying everything from source to destination without creating the source folder in the process.

And I created a sub-folder under GDrive:/Testing and did the same command (this time I include a new flag '-P') and noted the sub-folder was created accordingly. The rclone sync command copies everything including the sub-folder.
Awesome!

The only challenge is I have to reset my PBP and order to use Dolphin to see the sync's work done. I couldn't see the result of the rclone sync immediately through Dolphin. I need to reset PBP. Strange.

2. ls /dev-disk-by-label-DATA/iz
But when I tried to do the above in the terminal, i got the following error message. I don't understand why it doesn't allow me to see the folder.
pi@...:/srv $ ls /dev-disk-by-label-DATA/iz
ls: cannot access '/dev-disk-by-label-DATA/iz': No such file or directory

And I used rclone ls command, I got the same error message.
pi@...:~ $ rclone ls /dev-disk-by-label-DATA/iz
2020/07/31 16:19:55 ERROR : : error listing: directory not found

But I know the sub-folder has been created and all the contents were synced accordingly.

Do enlighten me if you all have further insights.

3. pi@...:~ $ rclone check GDrive:/Testing /srv/dev-disk-by-label-DATA/iz
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 0 differences found
2020/07/31 16:38:41 NOTICE: Local file system at /srv/dev-disk-by-label-DATA/iz: 2 matching files

This is a great command to check both source and destination has zero difference and 100% matching. Awesome and simple Linux command.


Messages In This Thread
NAS / OpenMediaVault - by pfeerick - 07-14-2017, 03:08 AM
RE: NAS / OpenMediaVault - by KryPtAlIvIaN - 07-14-2017, 08:30 AM
RE: NAS / OpenMediaVault - by Luke - 07-14-2017, 09:16 AM
RE: NAS / OpenMediaVault - by ayufan - 07-20-2017, 03:07 AM
RE: NAS / OpenMediaVault - by tllim - 07-20-2017, 09:52 AM
RE: NAS / OpenMediaVault - by Brainy142 - 07-28-2017, 10:55 PM
RE: NAS / OpenMediaVault - by stuartiannaylor - 08-07-2017, 10:26 AM
RE: NAS / OpenMediaVault - by xalius - 08-08-2017, 03:35 AM
RE: NAS / OpenMediaVault - by Metalazzo - 08-14-2017, 02:48 PM
RE: NAS / OpenMediaVault - by ayufan - 08-15-2017, 02:30 AM
RE: NAS / OpenMediaVault - by Metalazzo - 08-15-2017, 06:28 AM
RE: NAS / OpenMediaVault - by stuartiannaylor - 08-15-2017, 09:15 AM
RE: NAS / OpenMediaVault - by fire219 - 08-15-2017, 11:40 AM
RE: NAS / OpenMediaVault - by stuartiannaylor - 08-15-2017, 12:13 PM
RE: NAS / OpenMediaVault - by fire219 - 08-15-2017, 12:28 PM
RE: NAS / OpenMediaVault - by stuartiannaylor - 08-15-2017, 01:27 PM
RE: NAS / OpenMediaVault - by Metalazzo - 08-17-2017, 07:35 PM
RE: NAS / OpenMediaVault - by fire219 - 08-17-2017, 08:57 PM
RE: NAS / OpenMediaVault - by Metalazzo - 08-18-2017, 05:14 AM
RE: NAS / OpenMediaVault - by Metalazzo - 08-18-2017, 08:07 AM
RE: NAS / OpenMediaVault - by fire219 - 08-18-2017, 08:28 AM
RE: NAS / OpenMediaVault - by Metalazzo - 08-18-2017, 10:02 AM
RE: NAS / OpenMediaVault - by fire219 - 08-18-2017, 11:39 AM
RE: NAS / OpenMediaVault - by Metalazzo - 08-18-2017, 02:05 PM
RE: NAS / OpenMediaVault - by stuartiannaylor - 08-18-2017, 02:27 PM
RE: NAS / OpenMediaVault - by Metalazzo - 08-18-2017, 03:16 PM
RE: NAS / OpenMediaVault - by Metalazzo - 08-25-2017, 08:25 AM
RE: NAS / OpenMediaVault - by ayufan - 08-29-2017, 08:33 AM
mac and ip address problems - by alexcismaru86 - 09-06-2017, 01:02 PM
RE: NAS / OpenMediaVault - by i69fstop - 10-17-2017, 01:21 PM
RE: NAS / OpenMediaVault - by stuartiannaylor - 10-18-2017, 03:24 AM
RE: NAS / OpenMediaVault - by RickHunter - 12-25-2017, 12:19 AM
RE: NAS / OpenMediaVault - by dkryder - 12-25-2017, 03:03 AM
RE: NAS / OpenMediaVault - by shiningc - 08-27-2018, 11:53 PM
RE: NAS / OpenMediaVault - by shiningc - 08-28-2018, 07:31 PM
RE: NAS / OpenMediaVault - by Trash_Can_Man - 08-29-2018, 12:48 PM
RE: NAS / OpenMediaVault - by mandreozzi - 09-30-2018, 05:05 PM
RE: NAS / OpenMediaVault - by Trash_Can_Man - 09-30-2018, 05:19 PM
RE: NAS / OpenMediaVault - by mandreozzi - 10-01-2018, 06:30 AM
RE: NAS / OpenMediaVault - by mandreozzi - 04-21-2019, 04:09 PM
RE: NAS / OpenMediaVault - by mruano - 04-10-2019, 05:25 PM
RE: NAS / OpenMediaVault - by iscmob - 07-29-2020, 10:11 PM
RE: NAS / OpenMediaVault - by pfeerick - 07-30-2020, 05:24 PM
RE: NAS / OpenMediaVault - by iscmob - 07-31-2020, 02:33 AM
RE: NAS / OpenMediaVault - by iscmob - 08-01-2020, 11:30 PM
RE: NAS / OpenMediaVault - by pfeerick - 08-02-2020, 05:18 AM
RE: NAS / OpenMediaVault - by iscmob - 08-06-2020, 10:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 v2 as Openmediavault server - buffers / shutdown problems helpmerock 2 4,472 12-29-2020, 09:46 AM
Last Post: helpmerock
  Performance and stability issues Openmediavault jgpacc 10 15,079 11-02-2018, 01:46 PM
Last Post: jgpacc

Forum Jump:


Users browsing this thread: 9 Guest(s)