{"id":27,"date":"2025-05-08T17:10:20","date_gmt":"2025-05-08T16:10:20","guid":{"rendered":"https:\/\/www.kaitak.org\/?p=27"},"modified":"2025-05-12T08:06:31","modified_gmt":"2025-05-12T07:06:31","slug":"updraft-aws-s3-backup-configuration","status":"publish","type":"post","link":"https:\/\/www.kaitak.org\/?p=27","title":{"rendered":"Updraft AWS S3 backup configuration"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We&#8217;ve chosen to use the <strong>Updraft<\/strong> plugin to perform our site backups. There are about 3 million installations, and it is under active development (with mods made in the last few weeks). It also supports Amazon AWS S3. To do this we create: &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An AWS <strong>Bucket<\/strong> (e.g. <code>kaitak.org<\/code>)<\/li>\n\n\n\n<li>An IAM <strong>User<\/strong> with a <strong>Policy<\/strong> that provides access to the bucket<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">There&#8217;s more than one way to access an Amazon S3 bucket as a backup destination but we created an AWS IAM <strong>User<\/strong>, a custom (<code>JSON<\/code>) <strong>Policy<\/strong>, and an <strong>Access Key<\/strong> with a use case that&#8217;s &#8220;<em>Application running outside AWS<\/em>&#8220;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our <strong>Policy<\/strong>, which limits the user to just our bucket, looks like this: &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": &#91;\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": \"s3:*\",\n            \"Resource\": &#91;\n                \"arn:aws:s3:::kaitak.org\",\n                \"arn:aws:s3:::kaitak.org\/*\"\n            ]\n        }\n    ]\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">With the bucket created, and a User and Policy assigned, we simply have to provide the bucket and access key information in the Updraft Amazon S3 backup configuration, where the following fields need to be set: &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Amazon S3 access key (you AWS access key&#8217;s <code>access key<\/code>)<\/li>\n\n\n\n<li>Amazon S3 secret key (your AWS access key&#8217;s <code>secret key<\/code>)<\/li>\n\n\n\n<li>Amazon S3 location (e.g. <code>kaitak.org<\/code>)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If all goes well, when you press the Updraft <code>Test Amazon S3 Settings<\/code> button you&#8217;ll see a <strong>Success<\/strong> message!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve chosen to use the Updraft plugin to perform our site backups. There are about 3 million installations, and it is under active development (with mods made in the last few weeks). It also supports Amazon AWS S3. To do this we create: &#8211; There&#8217;s more than one way to access an Amazon S3 bucket [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":52,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.kaitak.org\/wp-content\/uploads\/2025\/05\/miniature-engineer-workers-working-with-lan-cable_800-450.jpg?fit=800%2C450&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":4,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions\/161"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=\/wp\/v2\/media\/52"}],"wp:attachment":[{"href":"https:\/\/www.kaitak.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaitak.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}