{"id":2145,"date":"2010-12-04T00:00:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/johnjohnston.info\/blog\/?e=2145"},"modified":"2025-12-04T09:24:54","modified_gmt":"2025-12-04T09:24:54","slug":"backups-and-being-an-airhead","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/backups-and-being-an-airhead\/","title":{"rendered":"Backups and being an airhead"},"content":{"rendered":"<div style=\"margin: 4px; width=183px;float: right;\">\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"21563\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/backups-and-being-an-airhead\/3523627575_b704d966d3_m\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2010\/12\/3523627575_b704d966d3_m.jpg\" data-orig-size=\"183,240\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"3523627575_b704d966d3_m\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2010\/12\/3523627575_b704d966d3_m.jpg\" class=\"wp-image-21563 aligncenter\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2010\/12\/3523627575_b704d966d3_m.jpg\" alt=\"face made of 2 green apples, an orange &amp; a banana \" width=\"108\" height=\"142\" \/><\/p>\n<p style=\"word-wrap: break-word; width: 183px; font-size: 10px;\"><a href=\"http:\/\/www.flickr.com\/photos\/21560098@N06\/3523627575\">Smile at a stranger<\/a> by Nina Matthews Photography<br \/>\nAttribution License<\/p>\n<\/div>\n<p>A couple of folk might have noticed that this blog and site was down for the last couple of days. The first day or two was a problem with the host who fixed things last night. At about the same time as johnjohnston.info came back up I was checking to see if ftp was still working, unfortunately as it turned out, it was.<\/p>\n<p>Somehow while using <a title=\"Cyberduck | FTP, SFTP, WebDAV, Cloud Files, Google Docs &amp; S3 Browser for Mac &amp; Windows | About\" href=\"http:\/\/cyberduck.ch\/\">Cyberduck<\/a> to browse the site I managed to drag the <strong>public_html<\/strong> folder inside another folder. I was intending to download as a backup, I turned round to speak to my wife and when I looked back I could not see the folder. I presumed I must have deleted it, even though Cyberduck asks for confirmation to delete. At that point the site came back up and of course everything was <a title=\"HTTP 404 - Wikipedia, the free encyclopedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/HTTP_404\">404<\/a>. I quickly contacted by host again and asked him to restore from backup. When I woke this morning the backup seemed to have taken place, but the site was missing except for 2 folders.<\/p>\n<p>Again I contacted my host. Having a last look round the site for some reason I opened up the ruby folder, there was my <strong>public_html<\/strong> folder safe &amp; sound. I&#8217;ve moved it back and all seems fine.<\/p>\n<p>I have done daft things on web servers before this, but this is the silliest I think. Hopefully a lesson learnt.<\/p>\n<p>It also makes me consider my rather haphazard backup strategy. Recently I&#8217;ve been editing html etc directly on the server which means no local backups. I download by blogs database occasionally but often images are uploaded while blogging and deleted from my desktop, I guess I should start using flickr all of the time for image storage.<\/p>\n<p>It has also made me realise how much I value this site, mostly for the time spent on various web experiment which never see the light of day but I would not like to lose. I have a fairly robust desktop backup system, Time Machine and <a title=\"SuperDuper Redirect\" href=\"http:\/\/www.shirt-pocket.com\/SuperDuper\/\">SuperDuper!<\/a> the later has saved me a couple of times. I need something equally robust and idiot-proof for this website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Smile at a stranger by Nina Matthews Photography Attribution License A couple of folk might have noticed that this blog and site was down for the last couple of days. The first day or two was a problem with the host who fixed things last night. At about the same time as johnjohnston.info came back [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"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,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"post_format":[],"class_list":{"0":"post-2145","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wwwd","7":"kind-article","9":"h-entry","10":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-yB","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/2145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=2145"}],"version-history":[{"count":2,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/2145\/revisions"}],"predecessor-version":[{"id":21565,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/2145\/revisions\/21565"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=2145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=2145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=2145"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=2145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}