Using rsync to backup local folders to DreamHost’s backup accounts

2012-03-23

in Geek stuff, Internet matters

One awesome thing about DreamHost is that they provide all hosting customers with 50GB of free online backup space. It can be accessed using ftp, sftp, and rsync.

I am trying to use it to make a backup of my USB key. I am always moving between computers, so documents that I am actively working on tend to follow me on the key. Having a backup would be useful in case it got lost or damaged.

I am trying to figure out what the correct terminal command would be to synchronize a folder from Mac OS X to DreamHost using rsync. I think it should be something like:

rsync -aP --protocol=29 /Volumes/USBKEYNAME/* BACKUPUSERACCOUNT@BACKUPUSERSERVER.dreamhost.com::keybackup

Is that right? If any rsync gurus are out there, I would really appreciate their input on what options and syntax to use.

Report a typo or inaccuracy

{ 6 comments… read them below or add one }

. March 23, 2012 at 12:40 pm
. March 23, 2012 at 12:41 pm
. March 23, 2012 at 12:42 pm
. March 23, 2012 at 12:43 pm
Milan March 24, 2012 at 2:01 pm

I am getting this error:

rsync: failed to connect to BACKUPSERVER.dreamhost.com: Connection refused (61)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [sender=2.6.9]

Milan March 25, 2012 at 2:25 pm

I am using rsync version 2.6.9, protocol version 29, built into the Terminal in Mac OS 10.7.3.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Previous post:

Next post: