November 13, 201312 yr 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...
November 13, 201312 yr 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.
November 15, 201312 yr 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?
November 15, 201312 yr ... 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.
January 28, 201412 yr 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?
December 4, 201411 yr 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?
December 4, 201411 yr 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
December 5, 201411 yr 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.