{"id":45185,"date":"2018-07-10T10:56:19","date_gmt":"2018-07-10T15:56:19","guid":{"rendered":"https:\/\/eshop.macsales.com\/blog\/?p=45185"},"modified":"2018-07-12T10:08:39","modified_gmt":"2018-07-12T15:08:39","slug":"mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems","status":"publish","type":"post","link":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/","title":{"rendered":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-29304\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/03\/Terminalicon-284x2711-1.jpg\" alt=\"\" width=\"284\" height=\"271\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/03\/Terminalicon-284x2711-1.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/03\/Terminalicon-284x2711-1-126x120.jpg 126w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/03\/Terminalicon-284x2711-1-190x181.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/03\/Terminalicon-284x2711-1-126x120@2x.jpg 252w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/>You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.<\/p>\n<p>Written for Unix operating systems, rsync is included with the Mac and can be accessed directly from Terminal, or used within a number of scripting languages.<\/p>\n<p>The rsync program has a number of features that make it a good candidate for <a href=\"https:\/\/eshop.macsales.com\/blog\/44406-backup-month-how-to-utilize-incremental-and-offsite-backups\">building local, as well as remote, backup, archiving, and synchronization systems<\/a>. It can also be used for basic file copying, and for maintaining file synchronization between one or more folders, either locally or with a remote system (think cloud-based storage, as an example).<\/p>\n<p>In this Rocket Yard Guide, we\u2019re going to concentrate on using rsync locally. If you wish to use rsync with a remote system, you\u2019ll need to ensure that both the local system and the remote system have rsync installed.<\/p>\n<p>If you\u2019re looking for a copy of rsync to install on a system other than a Mac, or you&#8217;re just interested in discovering more about this versatile app, you can check out the <a href=\"https:\/\/rsync.samba.org\/\">rsync website<\/a>.<\/p>\n<p>Before we get into details about using rsync on the Mac, a note about versions. The version of rsync that\u2019s distributed with the Mac tends to lag behind the current version available on the rsync website. The Mac version has been at 2.6.9 for a number of years, while the current version is at 3.1.3 (as of January, 2018). You should have no problems using the older Mac version with remote platforms that have one of the newer versions installed, but going the other direction could have unexpected results. Always check version compatibility when using rsync with remote systems.<\/p>\n<p><strong>Using Rsync<\/strong><br \/>\nThe Terminal app is used to invoke rsync and its various commands. If you&#8217;re new to using the Terminal app, check out the Rocket Yard series <a href=\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\">Tech 101: Introduction to the Mac&#8217;s Terminal App.<\/a><\/p>\n<p>Rsync uses a simple structure for issuing commands:<\/p>\n<p><em>rsync -options theSourceDirectory theDestinationDirectory<\/em><br \/>\nWhile the number of options can get long, the format is always the same; the rsync command followed by any optional switches, then the source directory followed by the destination directory.<\/p>\n<figure id=\"attachment_45187\" aria-describedby=\"caption-attachment-45187\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-45187\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640.jpg\" alt=\"\" width=\"640\" height=\"394\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-195x120.jpg 195w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-284x175.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-190x117.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-364x225.jpg 364w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-195x120@2x.jpg 390w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-284x175@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsync-rDocsBackup640-190x117@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-45187\" class=\"wp-caption-text\"><strong>(The rsync -r command copied all the files on my Desktop to my USB flash drive named DocsBackup. Notice that the time stamp on all the copied files is set to the current date.)<\/strong><\/figcaption><\/figure>\n<p>Let\u2019s look at a basic rsync command that will copy a directory and all sub-directories it may contain. To tell rsync we want all the files and folders, including everything in subdirectories, we include the -r option. In the Terminal app, enter:<\/p>\n<p>rsync -r \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p><em>(Replace tnelson with your user name, and DocsBackup with your desired target for the copy.)<\/em><br \/>\nIn this example, <a href=\"https:\/\/eshop.macsales.com\/blog\/45136-mess-up-your-desktop-with-6-of-our-favorite-hidden-macos-mojave-features\">my messy Desktop folder<\/a>and its contents will be copied to a <a href=\"https:\/\/eshop.macsales.com\/Search\/?filter.catidpath=4353&amp;filter.dimension_type_135=Thumb%20Drive\">USB flash drive<\/a>named DocsBackup. After the command is executed by hitting the return or enter key, the DocsBackup flash drive will have a new folder named Desktop, with all of my Desktop content.<\/p>\n<p>If you want to copy only the contents of the Desktop, and not the parent folder named Desktop, you would add a forward slash after the directory named Desktop, like this:<\/p>\n<p>rsync -r \/Users\/tnelson\/Desktop\/ \/Volumes\/DocsBackup<\/p>\n<p><strong><em>Terminal Tip:<\/em><\/strong><em>Terminal will figure out the directory pathnames for you. Enter the rsync command and any options at the Terminal prompt, followed by a space, then drag the source directory from a Finder window onto the Terminal window. The source directory pathname will be entered for you. Next, enter a space in Terminal to separate the source and destination directories, then drag the destination directory from a Finder window onto the Terminal window, and the destination pathname will be entered.<\/em><\/p>\n<figure id=\"attachment_45186\" aria-describedby=\"caption-attachment-45186\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-45186\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640.jpg\" alt=\"\" width=\"640\" height=\"186\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640-284x83.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640-190x55.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640-284x83@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/DragDestinationS640-190x55@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-45186\" class=\"wp-caption-text\"><strong>(You can drag the source or destination folder into Terminal to have the pathname entered for you. Believe me, it\u2019s a great way to avoid spelling mistakes or having to enter long pathnames.)<\/strong><\/figcaption><\/figure>\n<p><strong>Time Stamps<\/strong><br \/>\nWhen you copy files and folders to the destination directory, rsync uses the current time and date as the time stamp for the copied files. You can see this by opening a Finder window on the destination, and setting the Finder\u2019s View to List mode. The creation and modification dates for the files will be set to the current time.<\/p>\n<p>This is the default behavior for the rsync program, and having the files reset to the current time can be advantageous in some uses. But if you want to retain the original creation and modification data, you can, through the use of the -t option:<\/p>\n<p>rsync -r -t \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p>In the above example, we\u2019ve used both the -r and -t options to recursively copy all subdirectories as well as preserve the original time stamps.<\/p>\n<figure id=\"attachment_45190\" aria-describedby=\"caption-attachment-45190\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-45190 size-full\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640.jpg\" alt=\"\" width=\"640\" height=\"391\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-196x120.jpg 196w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-284x174.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-190x116.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-196x120@2x.jpg 392w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-284x174@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncTimeStamp640-190x116@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-45190\" class=\"wp-caption-text\"><strong>(Using the -t time switch allows the copied items to retain the original time stamps.)<\/strong><\/figcaption><\/figure>\n<p><strong><em>rsync Tip:<\/em><\/strong><em>When using multiple option switches, you don\u2019t have to use the dash symbol before each one. Instead, use a single dash, and place the options together. In the above example, rsync -r -t would become rsync -rt<\/em><\/p>\n<p><strong>Archive<\/strong><br \/>\nAnother commonly used rsync option is -a. This switch puts rsync into archive mode, which preserves time stamps, performs a recursive copy, keeps all file and directory permissions, preserves owner and group information, and copies any symbolic links.<\/p>\n<p>Archive mode gets a lot of use when you wish to make backups as opposed to just syncing files in a directory. It&#8217;s a lot easier to remember the -a option than combining seven or so rsync options together (-rlptgoD) to perform the same task.<\/p>\n<p>If I wanted to back up my Documents directory to the DocsBackup flash drive, I would use the -a (archive) option, as seen in this example:<\/p>\n<p>rsync -a \/Users\/tnelson\/Documents \/Volumes\/DocsBackup<\/p>\n<p><strong>Synchronize<\/strong><br \/>\nSince sync is in rsync&#8217;s name, it must be a pretty good synchronization tool. The rsync command uses a special algorithm to compare files in the destination and source directories, and only copy the differences to the destination. There are options that allow you to specify how to handle discrepancies between the source and destination:<\/p>\n<p><strong>Delete Files in the Destination<\/strong><br \/>\nWhen syncing directories, it\u2019s not uncommon to have files in the destination directory that aren\u2019t present in the source. rsync will normally leave those files alone, but you can also instruct rsync to delete files in the destination directory that don\u2019t appear in the source. This can help ensure that both directories are identical:<\/p>\n<p>rsync -rt &#8211;delete \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p>This new option, &#8211;delete, is two dashes plus the word delete. Sometimes, the double dash will be displayed as an em dash, so if you see a long dash instead of two short dashes, be sure to enter two dashes for this option.<\/p>\n<p>The &#8211;delete option will remove any file or directory on the destination directory that isn\u2019t present on the source.<\/p>\n<p>A safer way to handle files or folders on the destination that aren\u2019t present on the source is to back them up before they\u2019re removed. rsync can do this for you using the -b and &#8211;backup-dir switches:<\/p>\n<p>rsync -rtb &#8211;backup-dir=&#8221;backup $(date +\\%Y-\\%m-\\%d)&#8221; &#8211;delete \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p>In the above command, the -b option has been added to -r and -t, creating the -rtb option. We\u2019ve also used the &#8211;backup-dir command to specify the name of the backup folder to use. In this example, the backup folder will be named backup, and have the date, in the form of year, month, day, appended to its name.<\/p>\n<figure id=\"attachment_45188\" aria-describedby=\"caption-attachment-45188\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-45188\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640.jpg\" alt=\"\" width=\"640\" height=\"446\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-172x120.jpg 172w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-284x198.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-190x132.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-172x120@2x.jpg 344w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-284x198@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncBackup640-190x132@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-45188\" class=\"wp-caption-text\"><strong>(Use &#8211;backup-dir= to specify the pathname to the backup directory you wish to use. You can also append system variables, such as the date, to the backup folder\u2019s name.)<\/strong><\/figcaption><\/figure>\n<p>You don&#8217;t have to append the date to the backup folder name but it helps when the same rsync backup script is used over and over. All that\u2019s actually required for the &#8211;backup-dir command is a direct path to be specified, such as:<\/p>\n<p>rsync -rtb &#8211;backup-dir=backup &#8211;delete \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p>In the above example, the backup directory named backup is created at the root level of the destination path, so after this command is executed, there will be a new folder named backup at the root of the DocsBackup flash drive.<\/p>\n<p>I also make sure to put the backup option ahead of the delete option to ensure rsync handles the options in the correct order. You don&#8217;t want files to be deleted before they\u2019re backed up.<\/p>\n<p><strong>Exclude Files in the Source<\/strong><br \/>\nSometimes there may be files or directories in the source that you don\u2019t want to copy to the destination. You could manually move these files before an rsync copy, but an easier way is to use the exclude option:<\/p>\n<p>rsync -a &#8211;exclude MyTestFolder \/Users\/tnelson\/Desktop \/Volumes\/DocsBackup<\/p>\n<p>In the above rsync command, the folder MyTestFolder, which is on the Desktop, will not be copied to the DocsBackup USB flash drive.<\/p>\n<figure id=\"attachment_45189\" aria-describedby=\"caption-attachment-45189\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-45189 size-full\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640.jpg\" alt=\"\" width=\"640\" height=\"343\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-224x120.jpg 224w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-284x152.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-190x102.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-224x120@2x.jpg 448w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-284x152@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/rsyncExclude640-190x102@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-45189\" class=\"wp-caption-text\"><strong>(The &#8211;exclude switch can be used with regular expressions. In the above example, the asterisk (*) will cause the exclude command to match any .mov files in the source directory.)<\/strong><\/figcaption><\/figure>\n<p>Exclude can use a file or folder name, but it also supports the use of regular expressions for pattern matching. Regular expressions and pattern matching would require their own article to do them justice; for now, I suggest opening another Terminal window (Shell, New Window) and entering the following at the Terminal prompt:<\/p>\n<p>man re_syntax<\/p>\n<p>Hit enter or return. This will display information about how to use regular expressions.<\/p>\n<p><strong>Commonly Used Rsync Options<\/strong><br \/>\nTo finish off our introduction to using rsync, let\u2019s take a look at a few common options the command supports.<\/p>\n<ul>\n<li>-a &#8211; Enables archive mode, commonly used to back up a directory and retain all permissions, time stamps, symbolic links, etc.<\/li>\n<li>-b &#8211; Makes backups of any files in the destination directory that aren\u2019t included in the source. Commonly used with &#8211;backup-dir and &#8211;delete switches.<\/li>\n<li>&#8211;backup-dir= &#8211; Allows you to define a name for the backup directory that will be used by the -b option.<\/li>\n<li>&#8211;delete &#8211; Removes files present in the destination directory that are absent from the source directory.<\/li>\n<li>-n &#8211; Dry run; no files are moved. Instead, rsync displays what the results would have been. Use -n with the -v option to gather additional information.<\/li>\n<li>-r \u2013 Recursive; forces rsync to transverse all subdirectories contained within the source directory and copy the subdirectories and their content to the destination directory.<\/li>\n<li>-t &#8211; Time stamps; preserves the existing time stamp on files and folders that are being copied.<\/li>\n<li>-m &#8211; Prunes empty directories. Directories that are empty aren\u2019t copied.<\/li>\n<li>-z &#8211; Compress; uses compression during data transfer. Most often used when using rsync with a remote system.<\/li>\n<li>-v &#8211; Verbose; increases the level of information displayed by the rsync command. You can chain multiple v&#8217;s together to increase the information presented. Helpful for debugging, but not recommended for general use.<\/li>\n<\/ul>\n<p>There are many additional rsync options and switches. To see the complete list, open a Terminal window and enter the following at the prompt:<\/p>\n<p>man rsync<\/p>\n<p>Press enter or return.<\/p>\n<p>One of the best ways to understand how rsync works is to give the command a try with some dummy directories. Create a source directory with a few files and subdirectories in it, and try using rsync to copy them to a dummy (test) destination directory.<\/p>\n<p>Be sure and try out the various options and switches and see how they affect the copy process. With a bit of tinkering, you can create customized backup solutions to meet your needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems. Written for Unix operating systems, rsync is included with the Mac and can be accessed directly from Terminal, or used within a number of scripting languages. The rsync program has a [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":45191,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","footnotes":""},"categories":[4],"class_list":["post-45185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.2 (Yoast SEO v20.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems<\/title>\n<meta name=\"description\" content=\"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems\" \/>\n<meta property=\"og:description\" content=\"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\" \/>\n<meta property=\"og:site_name\" content=\"Rocket Yard\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-10T15:56:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-07-12T15:08:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/Terminalicon-284x2711-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"284\" \/>\n\t<meta property=\"og:image:height\" content=\"271\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tom Nelson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Nelson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\"},\"author\":{\"name\":\"Tom Nelson\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\"},\"headline\":\"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems\",\"datePublished\":\"2018-07-10T15:56:19+00:00\",\"dateModified\":\"2018-07-12T15:08:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\"},\"wordCount\":2015,\"commentCount\":15,\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"keywords\":[\"Apple\",\"archive\",\"Backup\",\"cloud\",\"file copy\",\"Mac\",\"Mac 101\",\"rsync\",\"synchronize\"],\"articleSection\":[\"Tech Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\",\"name\":\"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\"},\"datePublished\":\"2018-07-10T15:56:19+00:00\",\"dateModified\":\"2018-07-12T15:08:39+00:00\",\"description\":\"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.\",\"breadcrumb\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eshop.macsales.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"name\":\"Rocket Yard\",\"description\":\"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.\",\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\",\"name\":\"OWC\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"contentUrl\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"width\":1024,\"height\":1024,\"caption\":\"OWC\"},\"image\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\",\"name\":\"Tom Nelson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"caption\":\"Tom Nelson\"},\"description\":\"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.\",\"sameAs\":[\"http:\/\/rocketyard.com\"],\"url\":\"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems","description":"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/","og_locale":"en_US","og_type":"article","og_title":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems","og_description":"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.","og_url":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/","og_site_name":"Rocket Yard","article_published_time":"2018-07-10T15:56:19+00:00","article_modified_time":"2018-07-12T15:08:39+00:00","og_image":[{"width":284,"height":271,"url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/Terminalicon-284x2711-1.jpg","type":"image\/jpeg"}],"author":"Tom Nelson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Nelson","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#article","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/"},"author":{"name":"Tom Nelson","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb"},"headline":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems","datePublished":"2018-07-10T15:56:19+00:00","dateModified":"2018-07-12T15:08:39+00:00","mainEntityOfPage":{"@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/"},"wordCount":2015,"commentCount":15,"publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"keywords":["Apple","archive","Backup","cloud","file copy","Mac","Mac 101","rsync","synchronize"],"articleSection":["Tech Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/","url":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/","name":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/#website"},"datePublished":"2018-07-10T15:56:19+00:00","dateModified":"2018-07-12T15:08:39+00:00","description":"You may not have heard of rsync; it\u2019s a file transfer and synchronization program that\u2019s often used to create elaborate and complex backup systems.","breadcrumb":{"@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eshop.macsales.com\/blog\/45185-mac-101-learn-the-power-of-rsync-for-backup-remote-archive-systems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eshop.macsales.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Mac 101: Learn the Power of rsync for Backup, Remote, Archive Systems"}]},{"@type":"WebSite","@id":"https:\/\/eshop.macsales.com\/blog\/#website","url":"https:\/\/eshop.macsales.com\/blog\/","name":"Rocket Yard","description":"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.","publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eshop.macsales.com\/blog\/#organization","name":"OWC","url":"https:\/\/eshop.macsales.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","contentUrl":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","width":1024,"height":1024,"caption":"OWC"},"image":{"@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb","name":"Tom Nelson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","caption":"Tom Nelson"},"description":"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.","sameAs":["http:\/\/rocketyard.com"],"url":"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/"}]}},"jetpack_featured_media_url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/07\/Terminalicon-284x2711-1.jpg","jetpack_shortlink":"https:\/\/wp.me\/pmPaT-bKN","_links":{"self":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/45185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/comments?post=45185"}],"version-history":[{"count":1,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/45185\/revisions"}],"predecessor-version":[{"id":45192,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/45185\/revisions\/45192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media\/45191"}],"wp:attachment":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media?parent=45185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/categories?post=45185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}