Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Backup: qtdsync - how to configure rsync?

Featured Replies

Posting here because I have no login on the qtdsync forum and I suppose

this is a pretty basic question that can be solved here too.

 

I want to use qtdsync to push my backup to the unRAID server.

I've been using this with locally attached USB drives for backup and I like the differential approach and the hardlinks feature.

 

But now, I have no idea how to set up rsync properly.

Rsync is delivered with stock unRAID but the daemon (I suppose that I need the deamon)

is not running out of the box.

I tried to run the backup but I get this:

rsync: failed to connect to 192.168.178.157: Connection refused (111)

rsync error: error in socket IO (code 10) at /home/lapo/packaging/rsync-3.0.7-1/src/rsync-3.0.7/clientserver.c(122) [sender=3.0.7]

Found this thread where it is discribed how to set it up but I'm somewhat confused about

the .conf where the [mnt] is defined.

I'm able to set the path within qtdsync. How does this fit?

 

Is the script provided in the linked thread correct for my needs?

 

Thank you for enlightening me.  ;)

 

It's a pitty that unRAID doesn't provide a section in the GUI where this can be configured...

 

Don't know about qtdsync, but I have been using DeltaCopy in conjunction with rsync on unRAID for nightly backups. My rsync setup is based on that post you linked to.

  • Author

Okay, got it working with that instructions.

Btw. rsync has to be stopped if you want to modify the .conf!

 

One more question on unraid shares.

I need to specify a path in the .conf file.

For testing I entered the path to the corresponding disk but in the end, this has to be

the share.

 

How can I access the shares in unraid "shell"?

In /mnt I see all drives and the shares named user and user0.

What is the right user?

...

How can I access the shares in unraid "shell"?

In /mnt I see all drives and the shares named user and user0.

What is the right user?

The folders under /mnt/user are the share folders, including any files that may still be on the cache drive but are destined for that share when moved.

 

The folders under /mnt/user0 are the share folders, but not including any files that may still be on cache.

 

The mover script (at /usr/local/sbin/mover) is just rsync between cache and user0 for each share.

 

 

  • Author

OK, thanks for sharing.

  • 2 months later...
  • Author

Digging this up once again...

 

Got the whole sync process working but this error bothers me.

 

2013/11/13 20:26:54 [21140] rsync: failed to set times on "/Backup_Data/Docs/." (in Backup): Operation not permitted (1)

 

It looks like the user "nobody" has no rights to set times?

How can I change that?

 

  • 10 months later...
  • Author

After 6 months I thought it was time to do a backup of my thumb drive and of my PC's documents again.

Started my app and nothing worked.

It took me some time to get back to the rsync topic again but finally I set it up working.

 

The open topics I took with me are:

1. How can I check if the rsync daemon is running? "ps -A" is not showing anything related to rsync.

2. There is a possibility to call rsync via inetd. How can I check it (topic 1) in that case?

3. After finishing the rsync backup to the unRAID server, how can I move the backup set to another

drive? I would copy with MC but what options should I check/uncheck to keep the hardlinks working?

1. How can I check if the rsync daemon is running? "ps -A" is not showing anything related to rsync.

 

telnet to port 873 on the server.

 

root@unRAID:/boot/config# cd /
root@unRAID:/# telnet localhost 873
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
@RSYNCD: 30.0
quit
@ERROR: protocol startup error
Connection closed by foreign host.

 

 

2. There is a possibility to call rsync via inetd. How can I check it (topic 1) in that case?

 

The script puts the definition there in addition to starting up the daemon.

root@unRAID:/# grep rsync /etc/inetd.conf
rsync   stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/bin/rsync --daemon

 

3. After finishing the rsync backup to the unRAID server, how can I move the backup set to another

drive? I would copy with MC but what options should I check/uncheck to keep the hardlinks working?

 

You can use rsync via cron to rsync from one path to another

 

http://linux.die.net/man/1/rsync

 

something like

rsync -aH  sourcepath destinationpath

  • Author
telnet to port 873 on the server.

OK

 

You can use rsync via cron to rsync from one path to another

 

http://linux.die.net/man/1/rsync

 

something like

rsync -aH  sourcepath destinationpath

I see, probably the safest way. MC would have been a bit more comfortable.

I didn't mean to do this on a regular basis. Just for the case that I want to consolidate

the Backup folder on a certain array drive...

 

Thank you WeeboTech

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.