Backup

You need to setup password less login using ssh keys; refer to following tutorials: + Howto Linux / UNIX setup SSH with DSA public key authentication (password less login) + SSH Public key based authentication – Howto 1117687848666fdecf75dd5_000010

Here is a simple interactive Bash script that will upload files recursively to a remote Linux or Unix (FreeBSD) FTP server. I wrote this simple shell script for end-users in 2005. I am using ncftp client. It is an improved FTP client. Ncftp’s improvements include support for command-line editing, command histories, recursive gets, automatic anonymous logins, and more.