• February 23, 2025, 12:05:13 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Remote Backup  (Read 22294 times)

hoppo1

  • Level 2 Member
  • **
  • Posts: 89
Remote Backup
« on: May 11, 2011, 02:03:28 PM »

Has anyone got the remote backup feature working who can offer some advice? I'm trying to backup my 320 to another linux based NAS but can't get them to communicate. I assume the 320 is using rsync but not sure. When I try and setup the connection if I use NAS to NAS you get the option of remote IP and password. The error I get is -

SSH Test Successfully
rsync test result : Failed (SSH Refused )

Question here what default user is it using?

If I use NAS to Linux I get the option of remote IP, User and password. when I enter the details the error I get is -

rsync test result : Failed (SSH Refused )

Can anyone shed any light as to what I'm doing wrong? I assume the problem will be with the other linux box but I'm not sure where to start. I thought I'd need to create a shared key and use rsync over ssh but I cant enter user@servername in the user as it wont take the @ sign and is also restricted on character length. I can't access root on the 320 to copy the shared key either. I really am struggling with what should I assume be a simple thing to use so could do with a little help  ???
Logged

hoppo1

  • Level 2 Member
  • **
  • Posts: 89
Re: Remote Backup
« Reply #1 on: May 12, 2011, 08:26:50 AM »

Figured it out. It uses rsync so the remote server needs to be listening on port 783 (rsync deamon). once you get your head around rsync and the rsyncd.conf file it's fairly straightforward to configure. the bulk of the work is on the remote box setting it all up.

One feature request if dlink are listening - can the status of the backup be added to the notifications so an email can be sent on success or failure.
Logged

Nestor

  • Guest
Re: Remote Backup
« Reply #2 on: August 04, 2011, 12:58:59 AM »

Hi Hoppo,

Are you able to provide more information on how to make this work? I have 2 NAS (DNS320 and a Synology DS410) I will like to have the 410 backup to the 320 but I can't seem to get it to work. It used to work with DNS323 on funplug but now I'm now trying to use the backup application instead of funplug.

In the 320 I selected NAS-NAS and remote to local setup. What do you actually put for the password? Under 410 there is options to input the destination ip, module, username and password. With the rsyncd.conf file I can set the modulename, uid and pid along withe the .secret file but with the DNS320 there is no interface for anything like that?

Thanks
Logged

DNS320_User

  • Level 1 Member
  • *
  • Posts: 6
Re: Remote Backup
« Reply #3 on: May 30, 2012, 08:39:54 PM »

Hi Nestor,

I think I figured this one out.

On destination:
1. Install Rsync
2. edit /etc/rsyncd.conf
Here is an example I found from Everything Linux with a few lines removed:

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock

[simple_path_name]
   path = /rsync_files_here (<--Remote path on destination you want to save in, example /mnt/HD/HD_a2/DNSBackup)
   comment = My Very Own Rsync Server
   read only = no
   secrets file = /etc/rsyncd.scrt


3. Once that is done edit /var/run/rsyncd.pid and change the port to 783 as noted before.
4. run the command "rsync --daemon" (I keep getting failed to create or something, but this fine)

On the DNS:
1. Applications-->Remote Backups-->Remote Backups
2. Create and do a NAS to Linux, use the username and password of the destination system

This worked for me so hope it does for others.
Logged

Kohjinsha

  • Level 1 Member
  • *
  • Posts: 11
Re: Remote Backup
« Reply #4 on: August 06, 2014, 09:41:52 AM »

Hello, maybe someone of you is still active here.
I have the following problem:
I would like to use de DNS320 just as a target for Backups from a Synology NAS.

So I enabled the remote backup service on the DNS320 and on the Synology NAS I went to "Backup Targets" and wanted to add the DNS320. Every seems to be ok and fine, but finally an error comes like
"Wrong Username oder password" - but with my password I can choose the folders of the DNS320 on the Synology NAS....

I ask myself, why only a password is needed under "Enable Remote backup service" on the DNS320 and not a username....
Logged

hoppo1

  • Level 2 Member
  • **
  • Posts: 89
Re: Remote Backup
« Reply #5 on: August 07, 2014, 02:50:21 AM »

I found connecting to the 320 a bit of a pain. I've got a readynas that dumps onto this box now and for me on the readynas I had to specify the destination folder as follows -

/mnt/HD/HD_a2/

On the Readynas I have a folder called backup and on the 320 I have a folder called backup and setting that path worked for me. If i didn't have the folders matching either side I found my backup files in the users home folder.

As for the password no idea but for me I put root then the password I set it seemed to work.
Logged