DSU and module name

14 views
Skip to first unread message

ingvorsen

unread,
Jan 29, 2011, 12:05:15 PM1/29/11
to DataStorageUnit
Dear fellow users,
I have just signed up for at demo/trial account, and when issuing a
rsync Command from my Linux box it works pretty well.
However when trying to configure my Synology NAS drive to backup to
DSU i get a connection error.

I have tried gooogling The backup-module name, and tries varrious
different attempt at "backup", "storage1" and so forth, but no luck so
far.

So the question is, if it is possible for a direct rsync backup with
The inbuildt NAS drive?

Amy experience?

Thanks in advance!

knnniggett

unread,
Jan 29, 2011, 3:57:20 PM1/29/11
to DataStorageUnit
I am not familiar with the particular NAS box you have, but this is
out of the FAQ:
http://www.synology.com/support/faq_show.php?q_id=372&lang=us
It mentions the module name being "NetBackup".

Did you try this already?

ingvorsen

unread,
Jan 29, 2011, 4:18:51 PM1/29/11
to DataStorageUnit
Thanks for the link.
I already tried The NetBackup. Same results.
According to several net sites, The rsync module-name should be
storage1, but it dosn't work...





On 29 Jan., 21:57, knnniggett <knnnigg...@gmail.com> wrote:
> I am not familiar with the particular NAS box you have, but this is
> out of the FAQ:http://www.synology.com/support/faq_show.php?q_id=372〈=us

Lynn Watson

unread,
Jan 29, 2011, 4:29:50 PM1/29/11
to datasto...@googlegroups.com
Hi all,

I've got a Synology DS1010+ and have been successful using rsync, but only manually through a bash login via ssh.  I haven't tried using the module approach (meaning that the DSU has to be running the rsync daemon either explicitly or on demand via an (x)inetd service).   The straight rsync over ssh works fine.

The only problem I've found to keep this from being a solution is that the linux distro from Synology isn't quite standard and doesn't include an "at" command and their version of "cron" is takes some hunting to figure out  (no "crontab" cmd). 

ingvorsen

unread,
Jan 29, 2011, 4:37:11 PM1/29/11
to DataStorageUnit
Thanks for clearing that out.

The hole reason was to eliminate need of a connected pc running The
rsync backup.
Could you specify a guide of how you did your soloution?

Thanks


On 29 Jan., 22:29, Lynn Watson <l...@lswatson.com> wrote:
> Hi all,
> I've got a Synology DS1010+ and have been successful using rsync, but only manually through a bash login via ssh.  I haven't tried using the module approach (meaning that the DSU has to be running the rsync daemon either explicitly or on demand via an (x)inetd service).   The straight rsync over ssh works fine.
> The only problem I've found to keep this from being a solution is that the linux distro from Synology isn't quite standard and doesn't include an "at" command and their version of "cron" is takes some hunting to figure out  (no "crontab" cmd). 
> On 1/29/11 2:18 PM, ingvorsen wrote:Thanks for the link. I already tried The NetBackup. Same results. According to several net sites, The rsync module-name should be storage1, but it dosn't work... On 29 Jan., 21:57, knnniggett<knnnigg...@gmail.com>wrote:I am not familiar with the particular NAS box you have, but this is out of the FAQ:http://www.synology.com/support/faq_show.php?q_id=372〈=usIt mentions the module name being "NetBackup". Did you try this already? On Jan 29, 11:05 am, ingvorsen<k...@ingvorsen.net>wrote:Dear fellow users, I have just signed up for at demo/trial account, and when issuing a rsync Command from my Linux box it works pretty well. However when trying to configure my Synology NAS drive to backup to DSU i get a connection error.I have tried gooogling The backup-module name, and tries varrious different attempt at "backup", "storage1" and so forth, but no luck so far.So the question is, if it is possible for a direct rsync backup with The inbuildt NAS drive?Amy experience?Thanks in advance!

Lynn Watson

unread,
Jan 29, 2011, 5:07:19 PM1/29/11
to datasto...@googlegroups.com
If folks want exact instructions, I could write more up, but the essence is:
  1. Get root access (ssh) to the DiskStation (DS)

  2. From DS, make sure you can ssh to DSU without a login prompt.  This way rsync won't need a pw either.
    (create your id_dsa.pub via ssh-keygen, put your DS key into your DSU:~/.ssh/authorized_keys )

  3. Make an rsync command you're happy with.  Here's an example of one of mine:
    from the DS  (copying photos only from DS to datastorageunit :

    rsync -a -v --no-perms --exclude-from=file_of_exclude_regexs \
    /volume1/photos/ mylog...@storage1.datastorageunit.com:photos/


  4. When you're happy with it, make a shell script out of it on the DS  (run-the-rsync.bash).   Make sure the script is execute-able.

  5. Make an entry in the DS's crontab  (/etc/crontab) : 
    #minute    hour    mday    month    wday    who    command
     0          0       *        *       *       root   /home/me/run-the-rsync.bash




Martin Larsen

unread,
Jan 30, 2011, 2:20:51 PM1/30/11
to datasto...@googlegroups.com

On 29 January 2011 23:07, Lynn Watson <ly...@lswatson.com> wrote:

If folks want exact instructions, I could write more up, but the essence is:

I use something similar.

I log on to my Synology DS106 using telnet (could probably use SSH but it's on local network so telnet is ok). Then I issue this command;

rsync -azv -e ssh  --exclude="*.psd" --exclude="*.PSD" --exclude="*.NEF" --exclude="*.cr2" --exclude="*.CR2" --exclude="*.AVI" --exclude="*.avi" /volume1/private/Backup/ImageLib/ mylog...@storage1.datastorageunit.com:mountencrypted/E/ImageLib/ &

Using rsync I was able to backup the initially 80 GB of images. It took almost 4 weeks constant uploading and it would not have been realistic from my PC.

Martin
Reply all
Reply to author
Forward
0 new messages