I have setup a file server using the latest version of debian I downloaded yesterday.
To backup my shares I thought I would use livedrive pro to backup, as I read on the livedrive forum it worked with lftp. So I duly installed lftp and used the following in a script;
#!/bin/sh
lftp -u
yourlivedriveusername@provider.com,yourpassword sftp://sftp.livedrive.com/ <<EOF
mirror -R -v ~/Documents/ .
quit
EOF
when I run the script it connects to livedrive however I then get a prompt and have to type mirror -R -v ~/Documents/ manually.
I have little or no experience with bash so any help would be appreciated.