Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 44

Thread: Using Wine for NAS synchronisation

  1. #11

    Default Re: Using Wine for NAS synchronisation

    Quote Originally Posted by deano_ferrari View Post
    You should not need to rely on the desktop client software. It should be possible to 'automate' backups from the NAS itself. This article may be of value to you...

    https://www.techhive.com/article/316...-software.html
    Yes, you are right. I already backup my (NAS) files automatically from the NAS itself. But that is NOT my problem. The function I am talking about is the automatic synchronisation of my client (desktop, laptop, cell phone) files with the NAS. This feature gives me access to all files I choose to synchronise practically instantaneously from any of my client. In other words, it is a local cloud, that requires an app on each client and the NAS,

    (Those synchronised files are automatically backed up to a USB volume on the NAS at regular intervals.)

    However, on looking at the article (many thanks for the tip!), I am wondering if the configuration reported there will give me a similar solution.

  2. #12
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,270

    Default Re: Using Wine for NAS synchronisation

    Lots of backup options over the network.Can use any supported network protocol ie SMB or NFS. SMB and NFS are network protocols and have nothing to do with backups persay.

    Backups can be scheduled in many ways such as backintime or other backup programs there are a bunch or even scripts set to run under some conditions or times.

  3. #13
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,503
    Blog Entries
    1

    Default Re: Using Wine for NAS synchronisation

    Quote Originally Posted by hnimmo View Post
    Yes, you are right. I already backup my (NAS) files automatically from the NAS itself. But that is NOT my problem. The function I am talking about is the automatic synchronisation of my client (desktop, laptop, cell phone) files with the NAS. This feature gives me access to all files I choose to synchronise practically instantaneously from any of my client. In other words, it is a local cloud, that requires an app on each client and the NAS,

    (Those synchronised files are automatically backed up to a USB volume on the NAS at regular intervals.)

    However, on looking at the article (many thanks for the tip!), I am wondering if the configuration reported there will give me a similar solution.
    If you want a GUI tool for synchronizing files, consider Grsync
    https://www.unixmen.com/grsync-gadmi...ns-rsync-tool/

    For the NAS, make sure that SSH is enabled...
    https://linuxhint.com/use-rsync-synology-nas/

    It describes what needs to be done on the Synolgoy device, as well a using rsync on Linux hosts, but if you prefer a GUI then Grsync is your friend.
    openSUSE Leap 15.3; KDE Plasma 5

  4. #14

    Default Re: Using Wine for NAS synchronisation

    Quote Originally Posted by deano_ferrari View Post
    If you want a GUI tool for synchronizing files, consider Grsync
    https://www.unixmen.com/grsync-gadmi...ns-rsync-tool/

    For the NAS, make sure that SSH is enabled...
    https://linuxhint.com/use-rsync-synology-nas/

    It describes what needs to be done on the Synolgoy device, as well a using rsync on Linux hosts, but if you prefer a GUI then Grsync is your friend.
    Great! This sounds like the solution I'm looking for. What would I have to do to ensure that the synchronisation is started automatically at (client) boot?

  5. #15
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,503
    Blog Entries
    1

    Default Re: Using Wine for NAS synchronisation

    Quote Originally Posted by hnimmo View Post
    Great! This sounds like the solution I'm looking for. What would I have to do to ensure that the synchronisation is started automatically at (client) boot?
    I assume that you're just backing up a user's files? In that case perhaps you could have it autostart upon login to the desktop environment and synchronize. Let's see what others suggest here.

    BTW, here's a Unixmen guide where they show how to automate synchronization by creating a session for it and then implementing with a cron job....
    https://www.unixmen.com/grsync-gadmi...ns-rsync-tool/
    openSUSE Leap 15.3; KDE Plasma 5

  6. #16
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,503
    Blog Entries
    1

    Default Re: Using Wine for NAS synchronisation

    Another guide that may be of interest...
    https://ostechnix.com/grsync-a-simpl...end-for-rsync/
    openSUSE Leap 15.3; KDE Plasma 5

  7. #17

    Default Re: Using Wine for NAS synchronisation

    I started testing with a one-shot file sync. It worked well. Unfortunately, there were about fifty files and/or folders that were not transferred. I confirmed that many (if not all) were rejected because their names contained special characters such as ":" or "?". (The Synology sync had handled these well. Such file names had obviously not been rejected originally by my client file system . For example, an email reply 'mbox' file name (from Evolution) includes "Re:" or the email name subject may include a "?").

    Is there any way to configure 'rsync' to accept such file names?

  8. #18
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,433

    Default Re: Using Wine for NAS synchronisation

    Are you sure it is rsync that rejects those file names? Isn't it the accepeting file system that can not cope with them? You did not mention what file system type is on the NAS, but I get the strong idea that the whole NAS is MS based.
    Henk van Velden

  9. #19

    Default Re: Using Wine for NAS synchronisation

    Quote Originally Posted by hcvv View Post
    Are you sure it is rsync that rejects those file names? Isn't it the accepeting file system that can not cope with them? You did not mention what file system type is on the NAS, but I get the strong idea that the whole NAS is MS based.
    It's a Linux based system. But I'm not sure how to find out the file system

  10. #20
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,433

    Default Re: Using Wine for NAS synchronisation

    In fact w e have only your saying "Unfortunately, there were about fifty files and/or folders that were not transferred. I confirmed that many (if not all) were rejected because their names contained special characters such as ":" or "?". But you posted nothing of those "rejected" messages or whatever told you that some files were not copied. So I guess not many people here can try to analyse what happened.

    I seem to have no problems with files with names having Unicode characters outside the ASCII range. This is from my backup system, where all files have been created using rsync from my working system:
    Code:
    backup:/backups/backup.0/boven.henm.xs4all.nl/home/henk/test/unicode # l
    total 12
    drwxr-xr-x  3 1000 1000 4096 May 24 12:35 ./
    drwxr-xr-x  4 1000 1000 4096 May 24 14:16 ../
    -rw-r--r-- 10 1000 1000    0 May  5  2020 alles goed?
    -rw-r--r-- 10 1000 1000    0 Jan 11  2016 hello
    drwxr-xr-x  2 1000 1000 4096 Mar 31  2014 öäüßÖÄÜ/
    -rw-r--r-- 10 1000 1000    0 Feb 22  2016 Œé⁶
    -rw-r--r-- 10 1000 1000    0 Jan 11  2016 Χαίρετε
    -rw-r--r-- 10 1000 1000    0 Jan 11  2016 Здравствуйте
    -rw-r--r-- 10 1000 1000    0 Jun 20  2016 Лшадсщ
    -rw-r--r-- 10 1000 1000    0 Jan 11  2016 أهلا
    -rw-r--r-- 10 1000 1000    0 Jan 11  2016 नमस्ते
    backup:/backups/backup.0/boven.henm.xs4all.nl/home/henk/test/unicode #
    There is even a ? there (by incident).
    Henk van Velden

Page 2 of 5 FirstFirst 1234 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •