Author Topic: Backup to local NAS  (Read 562 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Backup to local NAS
« on: October 15, 2017, 05:15:39 PM »
Hi guys I can't seem to see how to achieve the following and wondered if anyone could help me with this please.
I have Centos 7 and running CWP version: 0.9.8.359. There is only the one server hosting about 10 VPS clients.
On my local network I have the Centos server behind a NAT router that also hosts a NAS.
I've setup daily and weekly backups in CWP but would like the weekly backups to be backed up to the local NAS.
I'm trying to achieve that I have a backup copy in the local backup directory (CWP backups) and also at least a weekly backup on the NAS.
Any help would be fantastic.

Offline
*
Re: Backup to local NAS
« Reply #1 on: October 16, 2017, 01:21:21 PM »
so why not copying from the server local backup to NAS?
rsync is probably the best tool to do that, also the securest option would be that you start rsync from NAS and use the servers as rsync servers

example command started from NAS
rsync  -avz -e "ssh -p 22" root@server1-IPaddress:/backup/weekly/ /server1folder/backup/weekly/
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Backup to local NAS
« Reply #2 on: October 18, 2017, 08:39:25 PM »
Thanks for the reply... I'll give this a go  :)