Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to these backup things. I have try Backuppc and rsnashot. Backuppc was cool, with web frontend.

My probleam: I don't have any backup servers I just have server and ftp-disk. I wanted to backup my server to ftp-disk, but I'm not sure how to do it? Can I use rsync?

share|improve this question
I think this post has exactly what you want: askubuntu.com/questions/2596/comparison-of-backup-tools –  omnidan Apr 13 '11 at 13:30
What do you mean "ftp-disk"? –  psusi Apr 13 '11 at 13:48

5 Answers 5

Another solution, if you have lftp:

lftp -e "mirror -R src_local_folder dest_folder_on_ftp_server; exit" -u ftp_user[,ftp_pass] ftp_server

Support SSL/TLS

share|improve this answer

you can mount the ftp resource as a local

curlftpfs [user@]host:[dir] mountpoint [options]

and use rsync as to local directories

share|improve this answer

rsync works over ssh, but not over FTP. Full discussion here:


(Short answer in case serverfault ever goes down: you can't. Try lftp.)

share|improve this answer

Another solution you might want to look into is a package called backup-manager (http://www.backup-manager.org/).

This is a great script and lets you leverage multiple back up methods. Rsync, SSH, FTP, and even Amazon S3. Very simple to configure and you

You can do a aptitude search backup-manager to get more information

share|improve this answer
This look interesting. I will try this. Thanks –  user13123 Apr 14 '11 at 4:16

Little script for that that can be useful, mirror a local directory to distant with given configuration @ beginning of script

#       DESCRIPTION: Mirrors local site and remote site
LOCAL_SOURCE_PATH=/home/myName/locations/music/${1} #param 1 from script for example

EXCLUDE_FILES_LIST=".svn empty anotherDirectory"

# Construct excludes
for exclude in ${EXCLUDE_FILES_LIST}; do
EXCLUDES="-x ${exclude} ${EXCLUDES}"

# -R, --reverse       reverse mirror (put files)
# mirror -e
#--delete        delete files not present at remote site
lftp ftp://${FTP_USER}:${FTP_PWD}@${FTP_HOST} -e "mirror ${EXCLUDES} -R ${LOCAL_SOURCE_PATH} ${REMOTE_DEST_PATH} ; quit"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.