Second rsync backup server

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
joedow
DD-WRT Novice


Joined: 11 Feb 2018
Posts: 45

PostPosted: Wed Dec 30, 2020 18:20    Post subject: Second rsync backup server Reply with quote
I need your help guys.

I have a working local rsync server on a Tp Link WDR3600. I whould like to build a second one off-site for secondary backup.
I want the first one to backup to the second one once a day, at night, if it is possible.

I can build and configure the second server. I need help with configuring rsync client in the first one, next to the rsync server...

I apriciate your help.
Sponsor
lexridge
DD-WRT User


Joined: 07 Jun 2006
Posts: 383
Location: WV, USA

PostPosted: Wed Dec 30, 2020 18:50    Post subject: Re: Second rsync backup server Reply with quote
joedow wrote:
I need your help guys.

I have a working local rsync server on a Tp Link WDR3600. I whould like to build a second one off-site for secondary backup.
I want the first one to backup to the second one once a day, at night, if it is possible.

I can build and configure the second server. I need help with configuring rsync client in the first one, next to the rsync server...

I apriciate your help.


I use rsync on my EA8500 to back up my USB stick mounted at /opt. I use this command to back it up nightly with a cron job:
Code:
rsync -r -t -p -o -g --progress --delete --ignore-existing -l -s /opt /tmp/mnt/smbshare/


If you type rsync without an arguments, it will explain all the command line options in my example. Also, if you have access to grsync, you can build your client commands via a GUI and export the command line from it to use in your router.

_________________
Linksys EA8500 (Internet Gateway, AP) - DD-WRT r46836
Netgear R6250 (AP, VAP) - DD-WRT r46885
Linksys EA8500 (Gateway Backup) - DD-WRT r46836
Netgear R7800 - DD-WRT r46885 - In Testing
Features in use: Samba, OpenVPN, WireGuard, Entware for Mosquitto
Member #248
joedow
DD-WRT Novice


Joined: 11 Feb 2018
Posts: 45

PostPosted: Thu Dec 31, 2020 16:42    Post subject: Reply with quote
Thank you

I was more cautious about not screwing up the rsync daemon.

Do you know if that path works over internet?
lexridge
DD-WRT User


Joined: 07 Jun 2006
Posts: 383
Location: WV, USA

PostPosted: Thu Dec 31, 2020 21:49    Post subject: Reply with quote
joedow wrote:
Thank you

I was more cautious about not screwing up the rsync daemon.

Do you know if that path works over internet?


To make this work over the Internet, you are going to most likely need some sort of tunnel such as Wireguard, or OpenVPN. You do not want to put Samba shares directly on the Internet. That would be asking for big time trouble.

Edit, you can embed rsync within ssh. Not sure how, but I am pretty sure it can be done.

Edit2: Check this link: https://phoenixnap.com/kb/how-to-rsync-over-ssh

_________________
Linksys EA8500 (Internet Gateway, AP) - DD-WRT r46836
Netgear R6250 (AP, VAP) - DD-WRT r46885
Linksys EA8500 (Gateway Backup) - DD-WRT r46836
Netgear R7800 - DD-WRT r46885 - In Testing
Features in use: Samba, OpenVPN, WireGuard, Entware for Mosquitto
Member #248
joedow
DD-WRT Novice


Joined: 11 Feb 2018
Posts: 45

PostPosted: Fri Jan 01, 2021 7:55    Post subject: Reply with quote
Thank you, that helped alot.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum