{"id":9427,"date":"2013-12-19T11:13:16","date_gmt":"2013-12-19T11:13:16","guid":{"rendered":"http:\/\/www.flubu.com\/blog\/?p=9427"},"modified":"2013-12-19T11:13:16","modified_gmt":"2013-12-19T11:13:16","slug":"on-the-importance-of-backups","status":"publish","type":"post","link":"https:\/\/www.flubu.com\/blog\/2013\/12\/19\/on-the-importance-of-backups\/","title":{"rendered":"On the importance of backups!!!"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.flubu.com\/blog\/wp-content\/uploads\/2013\/12\/ManPullingHairOut_300x200.jpg\" alt=\"ManPullingHairOut_300x200\" width=\"300\" height=\"200\" style=\"float:left;margin-right:10px\" \/><\/p>\n<p>As part of my normal website maintenance, I have a cron script that backs up my whole website and wordpress database. I have now noticed that the file backup hasn&#8217;t been running since mid-november. That shouldn&#8217;t normally be a problem, until the time when you make a typo in a unix command that, instead of deleting files with a &#8216;_backup&#8217; tag DELETES EVERY FUCKING FILE IN A DIRECTORY. I managed to kill the command before the whole lot of my new galleries got killed, but I lost four. Two were in a previous backup, one I could rebuild in short order. The last one will need some serious digging around to find the original files.<\/p>\n<p>So kiddies, lesson for today is MAKE SURE YOUR BACKUPS ARE UP TO DATE!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As part of my normal website maintenance, I have a cron script that backs up my whole website and wordpress database. I have now noticed that the file backup hasn&#8217;t been running since mid-november. That shouldn&#8217;t normally be a problem, until the time when you make a typo in a unix command that, instead of&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/www.flubu.com\/blog\/2013\/12\/19\/on-the-importance-of-backups\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;On the importance of backups!!!&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"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":[1],"tags":[173,24,17,26],"class_list":["post-9427","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-blog","tag-computers-are-evil","tag-geek","tag-shrill"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3u9vK-2s3","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/posts\/9427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/comments?post=9427"}],"version-history":[{"count":3,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/posts\/9427\/revisions"}],"predecessor-version":[{"id":9431,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/posts\/9427\/revisions\/9431"}],"wp:attachment":[{"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/media?parent=9427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/categories?post=9427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flubu.com\/blog\/wp-json\/wp\/v2\/tags?post=9427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}