LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VPS & FTP Sync (https://www.linuxquestions.org/questions/linux-newbie-8/vps-and-ftp-sync-4175482113/)

sachinsud 10-25-2013 06:58 AM

VPS & FTP Sync
 
Hi,

I have a vps server and i have a ftp server on a remote location.
I have taken this ftp server so that i can keep a backup of my vps on remote ftp location in case the node fails or some network issue comes i can restore my backup from ftp and re launch my site from a new location.

The scenario is for vps i have full access but for ftp i just have ftp host name,User id and password.
So what are my options for taking backup?

How can i take backup and restore it on ftp. My vps is almost full in space so zipping is not an option.
which tool can i use to sync between 2 servers. Like rynch or lftp?

Please help me on this

TenTenths 10-25-2013 08:09 AM

rsync with ssh keypair authentication is the best way of doing this, forget FTP as an option unless you want to transfer the whole site each time or have a good method of filtering changed files.

dt64 10-26-2013 06:03 AM

@TenTenth: I can see where you come from, but he stated the remote server has ftp only, so ssh probably not really an option.

@sachinsud: have you tried this link?

The third link in the list is a thread in another forum. There you'll find example solutions using lftp/ncftp.

Remember: lmgtfy.com is always your friend. Usually there is a good chance somebody else had a similar issue before and found a solution.


All times are GMT -5. The time now is 06:14 AM.