{"id":1466,"date":"2014-08-19T15:22:45","date_gmt":"2014-08-19T13:22:45","guid":{"rendered":"https:\/\/blog.shade.sh\/?p=1466"},"modified":"2014-09-21T13:32:59","modified_gmt":"2014-09-21T11:32:59","slug":"synology-timemachine-and-os-x-10-9","status":"publish","type":"post","link":"https:\/\/blog.shade.sh\/index.php\/archive\/1466","title":{"rendered":"Synology TimeMachine and OS X 10.9"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1467\" src=\"https:\/\/blog.shade.sh\/wp-content\/uploads\/2014\/08\/syno-e1408453095931.jpeg\" alt=\"syno\" width=\"250\" height=\"250\" \/>If somebody ever wondered about the TimeMachine error message &#8220;This backup is already in use&#8221; or in german &#8220;Dieses Backup wird bereits verwendet&#8221;. I think the Synology has problems with PowerNap or some other suspend mode in OS X 10.9.x.<\/p>\n<p>Normally the error is gone after you rebooted the Synology but would you really reboot your NAS every few days? No!<\/p>\n<p>This trick assumes that you have full SSH root access to your NAS. If not please enable SSH on your Synology, you can use <a href=\"http:\/\/forum.synology.com\/wiki\/index.php\/Enabling_the_Command_Line_Interface\" target=\"_blank\">this guide<\/a> to get it enabled.<\/p>\n<p>After you enabled SSH please be sure that no other TimeMachine Backup is running and login to your NAS.<\/p>\n<pre lang=\"bash\">find \/volume* -name com.apple.TimeMachine.Results.plist<\/pre>\n<p class=\"p1\">If you know the full path to your TimeMachine folder, please replace the &#8220;\/volume*&#8221; with this path, otherwise this can take some time, depending on your amount of files.<\/p>\n<p class=\"p1\">You should now know the full path to that file. Now it&#8217;s time to rename it! If your path is like &#8220;<em>\/volume1\/timemachine\/mbp.sparsebundle\/com.apple.TimeMachine.Results.plist<\/em>&#8221; You can rename it with:<\/p>\n<pre lang=\"bash\">mv \/volume1\/timemachine\/mbp.sparsebundle\/com.apple.TimeMachine.Results.plist \\\r\n\/volume1\/timemachine\/mbp.sparsebundle\/com.apple.TimeMachine.Results.plist.BAD<\/pre>\n<p class=\"p1\">If you have multiple TimeMachine backups saved on your NAS, the directories are different! After you renamed the file, the backup should run fine again!<\/p>\n<p class=\"p1\"><strong>Edit<\/strong>: If this does not work for you, search for running processes on the Synology with the username of your TimeMachine User. Kill all of those processes and you should be fine.<\/p>\n<p class=\"p1\">Search for this PID (My user is &#8220;<em>tm<\/em>&#8220;, yours is very likely different):<\/p>\n<pre lang=\"bash\">ps | grep tm | grep -v root<\/pre>\n<p class=\"p1\">Output should like this:<\/p>\n<pre lang=\"bash\">17465 tm 23380 S \/usr\/syno\/sbin\/afpd -g guest -c 256 -n pandora6 AFPServer -l default log_error<\/pre>\n<p class=\"p1\">Now kill that process with the PID (Yours is different!):<\/p>\n<pre lang=\"bash\">kill 17465<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If somebody ever wondered about the TimeMachine error message &#8220;This backup is already in use&#8221; or in german &#8220;Dieses Backup wird bereits verwendet&#8221;. I think the Synology has problems with PowerNap or some other suspend mode in OS X 10.9.x. &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/blog.shade.sh\/index.php\/archive\/1466\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3,252,5],"tags":[],"class_list":["post-1466","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-apple","category-bug-apple","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/posts\/1466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/comments?post=1466"}],"version-history":[{"count":9,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/posts\/1466\/revisions"}],"predecessor-version":[{"id":1495,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/posts\/1466\/revisions\/1495"}],"wp:attachment":[{"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/media?parent=1466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/categories?post=1466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.shade.sh\/index.php\/wp-json\/wp\/v2\/tags?post=1466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}