Synchronizing files on a Debian Pogoplug with a Desktop

Log in to the pogoplug as root.

ssh root@pogoplug-ip-address

At this point you can create a script file to call rsync, the program that does the actual work:

cd /
touch directorysync
nano directorysync

then enter the following into nano:

rsync -avz /path-to-your-pogoplug-directory/the-name-of-the-directory-to-backup/ desktop-username@1desktop-ip-address:/home/desktop-username/Documents/name-of-your-backup

Save and exit and then:

chmod +x directorysync

Running the script:

./directorysync

will create an archive of the directory specified on your pogoplug and put it in the Documents directory on your desktop/laptop machine.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: