Menu

Qtdsync backup to a file server with rsync daemon

Fireball
2015-03-09
2015-04-27
  • Fireball

    Fireball - 2015-03-09

    Hi, it's nice to see that there is some progress again on Qtdsync.

    Initially I used this application to backup to my external USB drives.
    Now I switched to a dedicated server to backup my data and I managed to set up Qtdsync accordingly.
    While the data is copied to the server there seems to be an issue with the hard-link functionality.

    On the server I have an rsync daemon running. The conf file looks like this:

    pid file = /var/run/rsyncd.pid
    log file = /var/log/rsyncd.log
    use chroot = no
    uid = nobody
    gid = nobody
    max connections = 4
    timeout = 600

    [Backup]
    path = /mnt/user0/Backup
    comment = /Backup Verzeichnis
    read only = no
    list = yes

    This is what I see during the run:

    Backup Set Dokumente
    Verbinde mit 192.168.178.123...
    rsync command line:
    rsync.exe
    "-rltv"
    "--exclude=/cygdrive"
    "--exclude=/proc"
    "/cygdrive/C/Users/test/AppData/Local/Temp/QtdSync_2015.03.08_23.56.09/Dokumente/"
    "rsync://test@192.168.178.123/Backup/Backup_Data/Dokumente/"

    C:\Users\test\Documents
    Bitte warten...
    rsync command line:
    rsync.exe
    "-rltv"
    "--progress"
    "--hard-links"
    "--delete"
    "--ignore-errors"
    "--force"
    "--no-whole-file"
    "-z"
    "--link-dest=../../2014.12.03_22.04.40/Documents"
    "--exclude=/cygdrive"
    "--exclude=/proc"
    "/cygdrive/C/Users/test/Documents/"
    "rsync://test@192.168.178.123/Backup/Backup_Data/Dokumente/2015.03.08_23.56.09/Documents"

    sending incremental file list
    created directory Backup_Data/Dokumente/2015.03.08_23.56.09/Documents
    rsync: link "/Backup_Data/Dokumente/2015.03.08_23.56.09/Documents/desktop.ini" (in Backup) => ../../2014.12.03_22.04.40/Documents/desktop.ini failed: Function not implemented (38)
    rsync: link "/Backup_Data/Dokumente/2015.03.08_23.56.09/Documents/indexfile.txt" (in Backup) => ../../2014.12.03_22.04.40/Documents/indexfile.txt failed: Function not implemented (38)

    I checked content on the server and it seems there are no hard-links set.
    It will always make a new copy.
    What's wrong? What does "function not implemented (38)" mean?
    Is the config file on the server sufficient?
    The server-side file system is Reiser.

    Thanks for the support!

     
  • Fireball

    Fireball - 2015-03-20

    Many viewers, unfortunately no help...
    I did some searching on the error "Function not implemented (38)"

    I found a discussion resulting in omitting the permission settings for the rsync command.
    Instead of using -a use -rltD (which is the same just without -pgo)
    Unfortunately the default options of qtdsync are:
    "-rltv"
    "--progress"
    "--hard-links"
    "--delete"
    "--ignore-errors"
    "--force"
    "--no-whole-file"
    "-z"
    "--link-dest=../../2014.12.03_22.04.40/Documents"
    "--exclude=/cygdrive"
    "--exclude=/proc"

    No -a and therefore no need to omit -pgo.

    Then I remembered having had some issues with times not being set.
    More digging...
    https://bugzilla.openvz.org/show_bug.cgi?id=798
    https://bugzilla.samba.org/show_bug.cgi?id=4977

    I thought I could set -rlv instead of -rltv but that cannot be changed in qtdsync.

    I tried to omit the -t option using --no-times and --no-t in that advanced options. Did not help.
    I also tried --size-only and also both options at once. No effect.

    Any help appreciated!

     
  • Fireball

    Fireball - 2015-04-27

    Another update on this.
    In that server is an unprotected (not part of the array) cache drive.
    This drive is also formatted with the ReiserFS.

    I did a new Backup set onto this drive and all following backups will
    be performed successfully with hard-links.
    It seems there is a problem when writing to the user shares on the array.

     

Log in to post a comment.

MongoDB Logo MongoDB