{"id":23708,"date":"2021-06-03T06:40:02","date_gmt":"2021-06-03T13:40:02","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=23708"},"modified":"2021-06-13T15:31:26","modified_gmt":"2021-06-13T22:31:26","slug":"back-up-icloud-photos","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2021\/06\/back-up-icloud-photos\/","title":{"rendered":"How to Back Up iCloud Photos When Your Only Mac Can&#8217;t Store Originals"},"content":{"rendered":"<figure style=\"float: right; margin-left: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/iCloud-Photo-Library.jpg\" alt=\"ICloud Photo Library Optimize Storage\" title=\"#title#\" width=\"500 \" height=\"468\"><figcaption style=\"text-align:center\">ICloud Photo Library Optimize Storage<\/figcaption><\/figure>\n<p>My friend Diane was visiting her granddaughter, and, as one does, she was giving tech support to her daughter-in-law. She wanted to bounce ideas off of someone so she brought me in with the \u201cphone a friend\u201d option.<\/p>\n<p>The problem to be solved was one I hadn\u2019t given much thought to, but which I suspect many people face.  Her daughter-in-law had a 256GB MacBook Air, and as often happens, her Photos Library wouldn\u2019t fit on her internal disk.<\/p>\n<p>If you\u2019re not intimately familiar with iCloud Photo Library, let me explain the two options. You can choose to have full-sized images download to your device or you can choose optimized images. The optimized images option gives you thumbnails of every photo in your library, and when you select a thumbnail, it downloads the full-sized image.  It also has some other magic sauce that is supposed to keep your most recent and most recently accessed images in full size for quick retrieval. If you&#8217;ve got a good Internet connection, it&#8217;s kind of the best of both worlds &#8211; all of your full-sized images are available on-demand but you don&#8217;t pay for local storage for all that data.<\/p>\n<p>Since Diane\u2019s daughter-in-law has only a 256GB drive in her Mac, she has been running with optimized images with iCloud Photo Library.  This works perfectly for her.  But she realized that she doesn&#8217;t have a backup of the full-sized images as they <em>only<\/em> exist on Apple&#8217;s servers.   She wanted a way to back up these images locally, which is a very reasonable thing to expect to be able to do.<\/p>\n<p>If she was a geek, she&#8217;d probably also have a Mac mini or an iMac with a bigger drive where the full-res images could be stored, and she could run backups from that machine.  But how do you back up the full-res images if you <em>don&#8217;t<\/em> have a bigger Mac onto which to download the images?  This was a question I&#8217;d never pondered before.<\/p>\n<p>Before calling me, Diane tried to change the Photos Library on the Mac in question to full-sized images, since she really had no idea how big the library actually was.  It ran overnight and eventually stopped when it ran out of disk space.  This put the MacBook Air in a bad state where doing just about anything caused an alert about not having enough disk space.  Diane flipped it back to optimized, but it didn&#8217;t obey until she rebooted the Mac.  The MacBook Air was back in fighting shape but the question of how to back up the photos was still in play.<\/p>\n<p>Diane and I noodled the problem together. We first walked through whether there was some way to download the photos to an external drive. Technically it <em>is<\/em> possible to have your Photos Library on an external drive, but it\u2019s one of those tricks that you have to fuss with all the time, and she\u2019d have to always have this external drive tethered to her notebook.  Not really a clean solution.<\/p>\n<p>Diane asked whether there was some way to use iCloud.com to help with this problem.  I did some experiments and found a solution that definitely will work. It&#8217;s a bit of a tedious process, and it does involve a very nerdy step, but no bit of it is technically difficult.  We\u2019re going to download all of the photos from icloud.com to an external drive, but we have to do a couple of things first.<\/p>\n<h3>Step 1:  Change the location of downloads in your web browser<\/h3>\n<p>By default, your browser is probably set to put any downloads into your Downloads folder.  Since our goal is to get these full-sized images onto an external drive, we need the downloads to go to the external drive. I&#8217;ll use Safari as an example of the steps to achieve this.<\/p>\n<p>In Safari, open Safari Preferences, and on the General tab you\u2019ll find a dropdown for File Download Location.  Change it from its current location (probably Downloads) to the option \u201cOther&#8230;\u201d and then choose the external drive.<\/p>\n<figure style=\"float: center; margin: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/1.png\" alt=\"Safari Preferences Change Download Location\" title=\"#title#\" width=\"500 \" height=\"284\"><figcaption style=\"text-align:center\">Safari Preferences Change Download Location<\/figcaption><\/figure>\n<h3>Step 2: Log into iCloud.com<\/h3>\n<figure style=\"float: right; margin-left: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/2.png\" alt=\"Select Photos under Library\" title=\"#title#\" width=\"200 \" height=\"\"><figcaption style=\"text-align:center\">Select Photos under Library<\/figcaption><\/figure>\n<p>Next, navigate to <a href=\"https:\/\/icloud.com\" target=\"_blank\" rel=\"noopener\">icloud.com<\/a>, authenticate, and open Photos.  We want to make sure all of the photos in the library are available, so on the left sidebar, make sure that Photos is chosen under where it says Library, not Favorites or any other option.<\/p>\n<p>In the toolbar above the images, you\u2019ll see a slider to change the size of the thumbnails. We\u2019re going to be selecting a <em>lot<\/em> of images, so I\u2019d suggest sliding all the way to the left for the smallest thumbnails possible.<\/p>\n<h3>Step 3: Download Images<\/h3>\n<figure style=\"float: center; margin: 10px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/4.png\" alt=\"Select Photos under Library\" title=\"#title#\" width=\"332 \" height=\"54\"><figcaption style=\"text-align:center\">Select Photos under Library<\/figcaption><\/figure>\n<p> In the upper right, you should see five icons.<\/p>\n<ul>\n<li>A cloud with an up arrow that allows you to upload photos to iCloud Photo Library<\/li>\n<li>A plus button that allows you to create albums and folders<\/li>\n<li>A square with an up arrow that allows you to share images<\/li>\n<li>A cloud with a <em>down<\/em> arrow which allows you to download images<\/li>\n<li>A trash can to delete images<\/li>\n<\/ul>\n<p>You\u2019ve probably guessed that this cloud with the down arrow icon is what we need for the final step.  If you hover over the cloud with the down arrow, you\u2019ll see a very tiny grey downward chevron.  Tap that nearly invisible chevron and you\u2019ll be offered the option to download unmodified Originals, or Most compatible including edits.<\/p>\n<figure style=\"float: center; margin: 10px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/5.png\" alt=\"Download Unmodified Original\" title=\"#title#\" width=\"331 \" height=\"250\"><figcaption style=\"text-align:center\">Download Unmodified Original (chevron hides itself when you select it) <\/figcaption><\/figure>\n<p>If you\u2019ve carefully edited your photos, by cropping, fixing lighting, etc, then you definitely want to change it to Most compatible. If you don\u2019t use the downward chevron, the downloaded images default to unmodified originals and will give you the images exactly as captured or imported.<\/p>\n<p>Now that we know how this works, I would suggest selecting just a few images at first, and then downloading in the format you desire.  Verify that the downloads to your external drive are there and are of the expected size, before going on with the big download.<\/p>\n<h3>Strategies for Downloading with Organization<\/h3>\n<figure style=\"float: right; margin-left: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/Smart-Album-for-2005.png\" alt=\"Smart Album for 2005\" title=\"#title#\" width=\"500 \" height=\"154\"><figcaption style=\"text-align:center\">Smart Album for 2005<\/figcaption><\/figure>\n<p>Once you\u2019re confident that the process works, it\u2019s time to start the big download.  Technically you can use Command-A to select all of your photos and then tap that download icon, and if absolutely nothing goes wrong for the duration of the work, you\u2019ll be golden.  Do you feel lucky?  I didn\u2019t think so.<\/p>\n<p>Ideally, it would be nice if we had a way to easily view year by month by month or even year by year in icloud.com, but they don&#8217;t give us that option.  You might think you could create smart albums for each year in the Apple Photos app and then use those to narrow things down in icloud.com, but smart albums don&#8217;t sync icloud.com.<\/p>\n<p>In Apple Photos on your Mac, you could create smart albums by year, and then create regular albums by year and drag and drop the photos from the smart albums to the regular albums. Create year folders on your external drive as well. This process would really help you have organized photos on this external drive.<\/p>\n<p>If you&#8217;re as particular as I am, you might even make albums by month in this process and put them in year folders, but maybe that&#8217;s just me.<\/p>\n<p>Whether you export a single image or a range of images, the download you get from exporting from iCloud.com will be a zip file entitled \u201ciCloud Photos.zip\u201d.  When you unzip the file, you\u2019ll have a folder called iCloud Photos.  This would make it easy to change the title right after a download to say \u201c2016-05\u201d for May of 2016.<\/p>\n<p>The two options we had to download from iCloud.com were &#8220;originals&#8221; or &#8220;most compatible&#8221; which included any edits we&#8217;d made to our images. &#8220;Compatible&#8221; means not Live Photos.  Instead of  Live Photos, you&#8217;ll find two files: an HEIC which is the key photo from the Live Photo, and a second file of the same file that is the teeny video from the Live Photo. It&#8217;s not ideal, but as a backup, this is still pretty good.<\/p>\n<h3>The Creation Dates are All Wrong!<\/h3>\n<p>But there\u2019s a problem with this whole process.  For yet another reason I cannot explain, Apple does not preserve the capture dates for the images as the creation date for the downloaded files. <em>All<\/em> of the creation dates of the image files will be the date you downloaded them instead of the date the photo was taken.  &#x1f926;&#x1f3fc;&#x200d;&#x2640;&#xfe0f;<\/p>\n<p>As an added curiosity, the modify dates on all of the files was 4 hours in the future!<\/p>\n<p>The good news is that image files have what\u2019s called EXIF data embedded in them, and one of the data items is the original capture date.  So the image knows when it was taken, it\u2019s just that macOS is using the date the image was downloaded as the creation date. We need to figure out how to change the file creation date to be the image&#8217;s original capture date from the EXIF data.<\/p>\n<p>There are a lot of tools out there with nice graphical user interfaces (GUIs) that will help you mess around with the EXIF data. Most of them let you change the EXIF data, but some let you extract the data, and some allow doing bulk actions on many files at once. Virtually all of these tools cost money, and I wasn\u2019t willing to buy them all in order to make a recommendation on which one you should buy.<\/p>\n<p>Instead, I\u2019m going to suggest a very easy and free solution to this problem. It\u2019s also super nerdy. But it\u2019s EASY nerdy.  We\u2019re going to use a free command-line tool in the Terminal called exiftool.<\/p>\n<h3>Step 1: Install Homebrew<\/h3>\n<p>We\u2019re going to install exiftool using a package manager called Homebrew from <a href=\"https:\/\/brew.sh\">https:\/\/brew.sh<\/a>.  Open the Terminal (in Applications\/Utilities). Copy and paste the following to install Homebrew (or follow the instructions at brew.sh):<\/p>\n<p><code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/code><\/p>\n<p>You may see a lot of glop go by onscreen and unless you see giant warnings that everything went wrong, you can safely ignore all the glop.<\/p>\n<h3>Step 2: Install exiftool<\/h3>\n<p>The joy of Homebrew is that to install tools, you simply type <code>brew install<\/code> in the terminal, followed by the name of the tool you want to install. So now type:<\/p>\n<p><code>brew install exiftool<\/code><\/p>\n<p>Again, you may see glop on screen but don\u2019t worry your pretty little head about it.<\/p>\n<h3>Step 3: Changing the creation dates to match the capture date<\/h3>\n<p>Believe it or not, we\u2019re ready to start changing the dates of the image files to match the capture date stored in the EXIF data of the images.<\/p>\n<p>Thanks to a contributor to the <a href=\"https:\/\/exiftool.org\/forum\/index.php?topic=11471.0\">exiftool.org forums<\/a> named Stargeek, the very simple command to make this work is the one line:<\/p>\n<p><code>exiftool '-FileCreateDate&lt;CreateDate' '-FileModifyDate&lt;ModifyDate' -api QuickTimeUTC  \/path\/to\/files<\/code><\/p>\n<p>Typing the path to the files is a <em>really<\/em> annoying, especially if your folder names have spaces in them (you have to escape out the spaces with backslashes or put the path in quotes). There&#8217;s an easier way than typing it out. Copy and paste into the Terminal just the first part of the command:<\/p>\n<p><code>exiftool '-FileCreateDate&lt;CreateDate' '-FileModifyDate&lt;ModifyDate' -api QuickTimeUTC<\/code><\/p>\n<p>Add a space to the end of the command but <em>don&#8217;t hit enter<\/em>. Now open a Finder window to the folder containing your downloaded images.  At the top of that window, you should see the name of the folder created by opening the zip file from icloud.com.  If you haven\u2019t changed it, the name will be iCloud Photos.  Hover over the folder title in the toolbar of the Finder window for a second (or click on the name if you\u2019re impatient like I am), and a little icon of a folder will be revealed. This icon is called the \u201cproxy icon\u201d, and it identifies the path to the folder.<\/p>\n<figure style=\"float: center; margin: 10px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/6.png\" alt=\"Pointing out Proxy Icon\" title=\"#title#\" width=\"598 \" height=\"330\"><figcaption style=\"text-align:center\">Pointing out Proxy Icon<\/figcaption><\/figure>\n<p>When you can see the proxy icon, simply drag it onto your Terminal window and it will pop the full path into the command we just typed. My command looked like this when I was done, with the long, annoying path to the files that was automatically entered by dragging the proxy icon:<\/p>\n<p><code>exiftool '-FileCreateDate&lt;CreateDate' '-FileModifyDate&lt;ModifyDate' -api QuickTimeUTC \/Users\/allison\/Documents\/deleteme\/new\\ photos\\ test\/iCloud\\ Photos<\/code><\/p>\n<p>Now hit the enter key to execute the command, and in short order, you will see the dates of the files begin to change to their true capture date.  Keep in mind that some images don\u2019t have the capture date available.  Screencaptures don\u2019t know their capture date, and obviously, images you\u2019ve scanned in don\u2019t know their original capture date either unless you have added it manually.<\/p>\n<div class=\"group\">\n<figure style=\"float: left; margin-right: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/Creation-Date-Wrong-Today.png\" alt=\"Creation Date Wrong (Today)\" title=\"#title#\" width=\"410 \" height=\"360\"><figcaption style=\"text-align:center\">Creation Date Wrong (Today)<\/figcaption><\/figure>\n<figure style=\"float: left; margin-right: 5px\"><img decoding=\"async\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/Creation-Date-Time-Right.png\" alt=\"Creation Date Time Right\" title=\"#title#\" width=\"410 \" height=\"477\"><figcaption style=\"text-align:center\">Creation Date &#038; Time Right<\/figcaption><\/figure>\n<\/div>\n<p>I put a few images in the shownotes to illustrate how your image files will look before and after pasting in this one-line command.  The first two files are still showing today&#8217;s date because they were both screenshots, but the rest of the files have the correct date <em>and<\/em> time. That little <code>-api QuickTimeUTC<\/code> bit is what adjusted the time correctly.<\/p>\n<p>I did warn this was nerdy, but you really only had to copy and paste three commands into your Terminal and you were done, it cost you no money, and it actually works!<\/p>\n<h3>Bottom Line<\/h3>\n<p>I enjoyed the journey of figuring out how to do this, but it is really a bummer this is such a complicated process. I wish Apple would make it a lot easier.  Part of me is truly hoping I missed something really obvious and one of you will write to me and say, \u201cWell actually Allison&#8230;\u201d and give us a far easier solution.<\/p>\n<hr>\n<p>After I wrote this up, I did get a &#8220;Well actually Allison&#8230;&#8221; from Teddy in the comments section of the blog post.<\/p>\n<p>He pointed out that you can download all of your photos from <a href=\"https:\/\/applied.apple.com\" target=\"_blank\" rel=\"noopener\">applied.apple.com<\/a>.  The path is:<\/p>\n<blockquote><p>\n  Data &amp; Privacy > Manage your Data &amp; Privacy > Request a Copy of your Data > iCloud Photos\n<\/p><\/blockquote>\n<p>He wondered whether perhaps this method of downloading the images might correctly put the capture date as the file creation date.  I took a look at the process and in the last step, Apple explains that they&#8217;ll be sending you chunks of specific size (1, 2, 5, 10, 25GB).  I considered pushing the button, but my Photos Library is 774GB and I didn&#8217;t think I&#8217;d live long enough to get that download. I wondered if it might send me a chunk at a time. Instead of testing the idea, I reached out in Slack and asked if someone with a much smaller library might try it for me.  Both @NuclearJon and @MacLurker said they had small libraries and would give it a try.<\/p>\n<p>Instead of Apple downloading a chunk at a time to them, Apple said they&#8217;d prepare the data but it would take up to SEVEN DAYS to prepare!  @MacLurker&#8217;s Library is only 2.5GB but she got the same message as @NuclearJon.<\/p>\n<p>Luckily it didn&#8217;t take 7 days (but it did take 3 days) for @MacLurker&#8217;s data to arrive.  Sadly when she opened the zip file, all of the file creation dates were today&#8217;s date just like with the download from iCloud.com, and they even had the modified date four hours in the future like with iCloud.com downloads.<\/p>\n<p>She did get one more interesting bit.  They shipped her a CSV file that contained all of the image names and the <em>import<\/em> date of each file.  I have no idea why you&#8217;d want or need to know the date an image was imported but, they give it to you anyway.<\/p>\n<p>If you have a large Photo Library, downloading from appleid.apple.com might be an easier way because you can just push the button and wait, instead of doing a select all and downloading in real-time.  If you&#8217;re an organized person like me, I still think doing a year or even smaller chunks using Smart Albums dragged into real albums from Photos is a better way to go.<\/p>\n<p>I really want to thank @MacLurker and @NuclearJon for checking into this and especially Teddy for discovering this idea in the first place.<\/p>\n<h3 id=\"#update\"> This Just In<\/h3>\n<p>UnderTheLionRock (in the comments below) pointed us to a <a href=\"https:\/\/www.macworld.com\/article\/234307\/how-to-make-a-local-backup-of-your-icloud-photos-synced-library.html\" rel=\"noopener\" target=\"_blank\">Macworld article where reader Todd had found a much more elegant and repeatable solution<\/a>.<\/p>\n<p>The basic idea is to create a second user account on the small-disk Mac, and connect it to your iCloud account, but instead of having it save your images and videos to the internal drive, point it to an external drive. Presuming you buy a big enough external drive, you can then tell it to download full-sized originals to this external Photos Library.  Every time you want to make a backup of your full-sized originals, simply switch accounts, connect the drive, wait for it to synchronize and you&#8217;re good to go.  This is a brilliant solution and far better than anything I thought up.  Thank you to UnderTheLionRock, Macworld reader, Todd, Macworld author Glenn Fleishman, and the entire community for pitching in on this interesting problem to be solved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ICloud Photo Library Optimize Storage My friend Diane was visiting her granddaughter, and, as one does, she was giving tech support to her daughter-in-law. She wanted to bounce ideas off of someone so she brought me in with the \u201cphone a friend\u201d option. The problem to be solved was one I hadn\u2019t given much thought [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":23711,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147],"tags":[63,230,539,4613,2092,167,166,4612,450,229],"class_list":["post-23708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","tag-backups","tag-command-line","tag-disk-space","tag-exiftool","tag-homebrew","tag-icloud","tag-icloud-photo-library","tag-icloud-com","tag-ssd","tag-terminal"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2021\/06\/Photos-icon-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=23708"}],"version-history":[{"count":14,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23708\/revisions"}],"predecessor-version":[{"id":23796,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23708\/revisions\/23796"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/23711"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=23708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=23708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=23708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}