{"id":13310,"date":"2016-02-11T14:05:23","date_gmt":"2016-02-11T10:05:23","guid":{"rendered":"http:\/\/www.msp360.com\/blog\/?p=13310"},"modified":"2024-02-13T13:42:35","modified_gmt":"2024-02-13T09:42:35","slug":"lost-object-in-amazon-s3-rrs-how-to-setup-notification-and-re-upload-to-the-cloud","status":"publish","type":"post","link":"https:\/\/www.msp360.com\/resources\/blog\/lost-object-in-amazon-s3-rrs-how-to-setup-notification-and-re-upload-to-the-cloud\/","title":{"rendered":"Email Notifications for Amazon S3 RRS: How to Setup Lost Object Notification and Re-Upload to the Cloud"},"content":{"rendered":"<p><a href=\"https:\/\/aws.amazon.com\/s3\/reduced-redundancy\/\">Amazon S3 Reduced Redundancy Storage (RRS)<\/a> is a storage class within Amazon S3 that costs 30% less than Amazon S3 Standard Storage, but with lower durability: 99.99% (RRS) vs 99.999999999% (S3 Standard). That means AWS can lose 1 from 10 000 files during one year.<!--more--><\/p>\n<p>It\u2019s great to save 30% on storage cost, but no one wants to lose their data, especially if you\u2019re using Amazon S3 RRS as backup storage. In this post we\u2019ll show how to set up an automatic notification when the object was lost and how to recover it in the cloud using <a href=\"https:\/\/msp360.com\/msp360-standalone-backup\/?show-product=windows-server\">MSP360 Backup<\/a>.<\/p>\n<h2>Step 1: Create a Notification with Amazon SNS<\/h2>\n<p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables applications, users, and devices to instantly send and receive notifications. We\u2019ll use it to create email notifications.<\/p>\n<p>In order to setup Amazon SNS, please perform the following steps:<\/p>\n<ul>\n<li>Sign in to your <strong>AWS Management Console<\/strong>, under the <strong>Mobile Services<\/strong> section, choose <strong>SNS.<\/strong><\/li>\n<li>Choose <strong>Create Topic<\/strong>, specify a <strong>Topic name<\/strong> and a <strong>Display name.<\/strong><\/li>\n<li>Press <strong>Create Subscription<\/strong> in the window underneath choose <strong>Email<\/strong> in the <strong>Protocol<\/strong> drop-down list.<\/li>\n<li>In the<strong> Endpoint<\/strong> field, specify an email address that will be used for your notifications. You will receive a confirmation email. Follow the link in the email to activate your subscription.<\/li>\n<li>In the SNS dashboard, choose the topic created, go to <strong>Edit Topic Policy<\/strong> in the <strong>Actions<\/strong> menu. In the <strong>Allow these users to publish messages to this topic<\/strong> section choose <strong>Everyone<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-13312 alignleft\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/SNS-dashboard-topic-policy-actions.png\" alt=\"SNS-dashboard-topic-policy-email-notifications\" width=\"896\" height=\"629\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/SNS-dashboard-topic-policy-actions.png 896w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/SNS-dashboard-topic-policy-actions-300x211.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/SNS-dashboard-topic-policy-actions-768x539.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/SNS-dashboard-topic-policy-actions-624x438.png 624w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/p>\n<p>Once an email address is confirmed, you are ready to receive notifications from your S3 buckets.<\/p>\n<h2>Step 2: Enable Event Notifications for Your S3 RRS Bucket<\/h2>\n<p>Amazon S3 allows you to forward event notifications to Amazon SNS.\u00a0In order to enable this feature, follow the steps below:<\/p>\n<ul>\n<li>Open AWS Management Console, go to Amazon S3.<\/li>\n<li>Choose your bucket, go to <strong>Properties<\/strong>, expand the <strong>Events<\/strong> section.<\/li>\n<li>Specify a name for your notification in the <strong>Send to<\/strong> section, choose SNS.<\/li>\n<li>In the SNS topic field select SNS topic created previously, hit <strong>Save<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13791\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/amazon-s3-bucket-events-configuration.png\" alt=\"amazon-s3-bucket-events-configuration\" width=\"645\" height=\"506\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/amazon-s3-bucket-events-configuration.png 645w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/amazon-s3-bucket-events-configuration-300x235.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/amazon-s3-bucket-events-configuration-624x490.png 624w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p>\n<p>Now you all set to get notified once an object is lost.<\/p>\n<h2>What to Do If the Object Is Lost<\/h2>\n<p>So, what happens when your object is lost. You receive a notification to your email address. In order to keep your backup consistent, you will have to update your local metadata storage in <a href=\"https:\/\/msp360.com\/msp360-standalone-backup\/?show-product=windows-server\">MSP360 Backup<\/a> by going to <strong>Tools \/ Options -\/ Repository \/ Synchronize Repository<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13313\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup.png\" alt=\"restore-backup-consistency-amazon-rrs\" width=\"1348\" height=\"863\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup.png 1348w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup-300x192.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup-768x492.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup-1024x656.png 1024w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2016\/02\/Synchronize-repository-amazon-s3-cloudberry-backup-624x399.png 624w\" sizes=\"auto, (max-width: 1348px) 100vw, 1348px\" \/><\/p>\n<p>After the operation is finished, your lost file will be identified and reuploaded next time the backup plan run.<\/p>\n<blockquote><p>The workflow described in this article is only applied if we have enabled only one (latest) version of a file in MSP360 retention settings.<\/p><\/blockquote>\n<p>Conclusion<\/p>\n<p>Now you have a workaround that allows you to have a consistent backup in Amazon RRS with minimum efforts. Amazon SNS also provides a way to automate the entire process. Drop us a line if you'd like us to elaborate on this topic further.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon S3 Reduced Redundancy Storage (RRS) is a storage class within Amazon S3 that costs 30% less than Amazon S3 Standard Storage, but with lower durability: 99.99% (RRS) vs 99.999999999% (S3 Standard). That means AWS can lose 1 from 10 000 files during one year.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[877,885],"tags":[],"class_list":["post-13310","post","type-post","status-publish","format-standard","hentry","category-blog-articles","category-other"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/13310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/comments?post=13310"}],"version-history":[{"count":1,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/13310\/revisions"}],"predecessor-version":[{"id":57600,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/13310\/revisions\/57600"}],"wp:attachment":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/media?parent=13310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/categories?post=13310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/tags?post=13310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}