Return to site

Rsync For Mac

broken image


Rsync examples Backing up data using rsync command. Rsync is a great tool for backing up and restoring files. I'll use some example to explain on how it works. It is recommended to install the latest version of rsync. If you are only looking for utilizing stock version of rsync (version 2.6.9) and only synchronize data to either local attached disks or remote servers, there is a minor version (RsynGUI) available on Mac App Store. RsyncGUI does not support snapshots.

  1. Mac Rsync Examples
  2. Wget For Mac

Web Applications

CMS Applications

eCommerce Applications

Business Planning for Web Projects

Server Management and Hosting

Email

Backing up data using rsync command

Win7 for mac iso. rsync is a great tool for backing up and restoring files. I'll use some example to explain on how it works.
Example of the remote server and folder that needs to be backup or copied:
Remote host name: server01.comentum.com
Remote folder: /home/user01/
Remote user: user01

rsync example for backing up / copying from remote server to local Linux computer:
rsync -arv user01@server01.comentum.com:/home/user01//home/bob/user01backup/
(/home/bob/user01backup/ is a local Linux folder path)

rsync example for backing up / copying from remote server to local Mac computer:
rsync -arv user01@server01.comentum.com:/home/user01//Users/bob/user01backup/
(/Users/bob/user01backup/ is a local Mac folder path)
rsync example for backing up / copying from remote server to local Mac computer and external USB drive:
rsync -arv user01@server01.comentum.com:/home/user01//Volumes/westerndigital-usb/user01backup/
(/Volumes/westerndigital-usb/user01backup/ is an external USB Drive path on a local Mac computer)
Here is what the '-arv' option does:
a = archive - means it preserves permissions (owners, groups), times, symbolic links, and devices.
r = recursive - means it copies directories and sub directories
v = verbose - means that it prints on the screen what is being copied

More Examples:
rsync -rvuser01@server01.comentum.com:/home/user01/ /home/bob/user01backup/
(This example will copy folders and sub-folder but will not preserve permissions, times and symbolic links during the transfer)
rsync -arv --exclude 'logs' user01@server01.comentum.com:/home/user01//Users/bob/user01backup/
(This example will copy everything (folders, sub-folders, etc), will preserver permissions, times, links, but will exclude the folder /home/user01/logs/ from being copied)

Rsync For Mac

Install linux on mac mini. Use of '/' at the end of path:
When using '/' at the end of source, rsync will copy the content of the last folder.
When not using '/' at the end of source, rsync will copy the last folder and the content of the folder.

When using '/' at the end of destination, rsync will paste the data inside the last folder.
When not using '/' at the end of destination, rsync will create a folder with the last destination folder name and paste the data inside that folder.

Rsync for windows download

For Information Contact:
Comentum Corp
6222 Ferris Sq.
San Diego, CA 92121
Mac
Mac

Install linux on mac mini. Use of '/' at the end of path:
When using '/' at the end of source, rsync will copy the content of the last folder.
When not using '/' at the end of source, rsync will copy the last folder and the content of the folder.

When using '/' at the end of destination, rsync will paste the data inside the last folder.
When not using '/' at the end of destination, rsync will create a folder with the last destination folder name and paste the data inside that folder.


For Information Contact:
Comentum Corp
6222 Ferris Sq.
San Diego, CA 92121
Phone: 858-410-1500
Fax: 858-410-0707
Sales: 800-387-1920
Hours: Mon. - Fri., 9 a.m. - 5 p.m. PST

Mac Rsync Examples

Contact Us »

Mobile App Development

iPhone, Google Android, BlackBerry, Windows Mobile
In-house development team.
San Diego, CA, USA.

Learn More

Wget For Mac






broken image