{"id":18496,"date":"2013-07-14T16:37:39","date_gmt":"2013-07-14T14:37:39","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=18496"},"modified":"2019-02-25T11:57:42","modified_gmt":"2019-02-25T09:57:42","slug":"trying-out-hashbackup-with-amazon-s3","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/07\/14\/trying-out-hashbackup-with-amazon-s3\/","title":{"rendered":"Trying out HashBackup with Amazon S3"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>These days I am once again improving my backup routines. &nbsp;After I ran out of all reasonable space on my Dropbox account last year, I&#8217;ve moved to homemade rsync scripts and offsite backup downloads between my server and my laptop. &nbsp;Obviously, with my laptop being limited on disk space, and not being always online, the situation was less than ideal. &nbsp;And finally I grew tired of keeping it all running.<\/p>\n<p>A fresh look around at backup software brought in a new application that I haven&#8217;t seen before &#8211; <a href=\"https:\/\/sites.google.com\/site\/hashbackup\/\">HashBackup<\/a>. &nbsp;It&#8217;s free, it has the simplest installation ever (statically compiled), it runs on every platform I care about and more, and it supports remote storage via pretty much any protocol. &nbsp;It also features nice backup rotation plans and an interesting way of pushing backups to remote storage with sensible security.<\/p>\n<p>Once I settled with the software, I had to sort out my disk space issue. &nbsp;Full server backup takes about 15 GB and I want to keep a few of them around (daily, weekly, monthly, yearly, etc). &nbsp;And I want to keep them off the server. &nbsp;Not being too enthusiastic about having a home server on all the time, and not having enough space and uptime on my laptop, I&#8217;ve decided to check some of those storage solutions in the cloud. &nbsp;Yeah, I know&#8230;<\/p>\n<p>My choice fell upon <a href=\"http:\/\/aws.amazon.com\/s3\/\">Amazon S3<\/a>. &nbsp;Not for any particular reason either. &nbsp;They seem to be cheap, fast, reliable and quite popular. &nbsp;And HashBackup also supports them too. &nbsp;So I&#8217;ve spent a couple of days (nights actually) configuring all to my liking and now I see the backups are running smoothly without any intervention on my end.<\/p>\n<p>Before I will finalize my decision, I want to see the actual Amazon charge. &nbsp;Their prices seem to be well within my budget, but there are many variables that I might be misinterpreting. &nbsp; If they will charge what they say they will charge, I might free up much more space across all my computers, I think.<\/p>\n<p>As far as tips go, I have two, if you decide to follow this path:<\/p>\n<ol>\n<li><span style=\"line-height: 13px;\">When configuring HashBackup, you&#8217;ll find that documentation on the site is awesome. &nbsp;However it will keep referring to dest.conf file that you&#8217;d use to configure remote destinations. &nbsp;Example files are not part of online documentation, however, you&#8217;ll find a few example files (for each type of remote destination) in the software tarball, in the doc\/ folder.&nbsp;<\/span><\/li>\n<li>When configuring Amazon S3, you&#8217;d probably be tempted to have a more restrictive access policy then those offered by Amazon. &nbsp;For instance, you&#8217;d probably want to limit access by folder, rather by bucket. &nbsp;Word of advice: start with Amazon&#8217;s police first and make sure everything works. &nbsp;Only then switch to your own custom policy. &nbsp;Otherwise, you might spend too much time troubleshooting a wrong issue.<\/li>\n<\/ol>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>These days I am once again improving my backup routines. &nbsp;After I ran out of all reasonable space on my Dropbox account last year, I&#8217;ve moved to homemade rsync scripts and offsite backup downloads between my server and my laptop. &nbsp;Obviously, with my laptop being limited on disk space, and not being always online, the &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2013\/07\/14\/trying-out-hashbackup-with-amazon-s3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Trying out HashBackup with Amazon S3<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,133,62,1334],"tags":[3270,3211,251,2366,3213,3212,2289],"keyring_services":[],"class_list":["post-18496","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-sysadmin","category-technology","category-web-work","tag-amazon-aws","tag-amazon-s3","tag-backup","tag-cloud-computing","tag-hashbackup","tag-storage","tag-web-hosting"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":22246,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/22\/backup-black-hole\/","url_meta":{"origin":18496,"position":0},"title":"Backup black hole","author":"Leonid Mamchenkov","date":"July 22, 2014","format":false,"excerpt":"I just had to look for something that got deleted in one of the systems I administrate. \u00a0We have daily backups for the last week, weekly backups for the last two month, monthly backups for the last year, and yearly backups for ever. \u00a0That seemed like a sensible backup plan.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24614,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/08\/20\/backup-your-data-unless-you-are-google\/","url_meta":{"origin":18496,"position":1},"title":"Backup your data! Unless you are Google","author":"Leonid Mamchenkov","date":"August 20, 2015","format":false,"excerpt":"BBC reports that one of the Google data centers experienced a data loss, after a nearby power power facility was struck by lightnings four times in a row. \u00a0Only about 0.000001% of total disk space was permanently affected, it is said. A thing called \"backup\" immediately comes to mind. \u00a0This\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27030,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/01\/amazon-snowmobile-a-truck-with-up-to-100-petabytes-of-storage\/","url_meta":{"origin":18496,"position":2},"title":"Amazon Snowmobile &#8211; a truck with up to 100 Petabytes of storage","author":"Leonid Mamchenkov","date":"December 1, 2016","format":false,"excerpt":"Back in my college days, I had a professor who frequently used Andrew Tanenbaum's quote in the networking class: Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. I guess he wasn't the only one, as during this year's Amazon re:Invent 2016 conference, the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"aws-snowmobile","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/12\/AWS-Snowmobile-500x313.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12075,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/12\/30\/backupify-your-ultimate-backup-solution-for-the-cloud\/","url_meta":{"origin":18496,"position":3},"title":"Backupify &#8211; your ultimate backup solution for the cloud","author":"Leonid Mamchenkov","date":"December 30, 2009","format":false,"excerpt":"I have just learned about a really awesome service - Backupify. \u00a0This a really simple yet extremely useful web application for those of us who use plenty of web services. \u00a0Backupify, as you have probably guessed from the name of it, does backups. \u00a0It can backup your data from a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"backupify","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2009\/12\/backupify.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":26999,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/28\/s3-static-site-with-ssl\/","url_meta":{"origin":18496,"position":4},"title":"S3 static site with SSL","author":"Leonid Mamchenkov","date":"November 28, 2016","format":false,"excerpt":"\"S3 static site with SSL and automatic deploys using Travis\" is a goldmine of all those simple technologies tied into a single knot for an impressive result. \u00a0It has a bit of everything: Jekyll - simple, blog-aware, static sites engine, for managing content. GitHub - for version control of the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"s3-static-site","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/11\/s3-static-site-479x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":36094,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/02\/25\/how-to-build-a-serverless-ci-cd-pipeline-on-aws\/","url_meta":{"origin":18496,"position":5},"title":"How To Build a Serverless CI\/CD Pipeline On AWS","author":"Leonid Mamchenkov","date":"February 25, 2019","format":false,"excerpt":"\"How To Build a Serverless CI\/CD Pipeline On AWS\" is a nice guide to some of the newer Amazon AWS services, targeted at developers and DevOps. It shows how to tie together the following: Amazon EC2 (server instances)Docker (containers)Amazon ECR (Elastic Container Registry)Amazon S3 (storage)Amazon IAM (Identity and Access Management)Amazon\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18496"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18496\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18496"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=18496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}