Source:Configuring Si3 NG Deduplication Store with Object Lock: Difference between revisions

From SEPsesam
(expanded JSON statement)
(Marked this version for translation)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><translate>
<noinclude><languages />
<div class="noprint"><languages />
<br />
{{Copyright SEP AG en}}
<translate>==Overview== <!--T:3--> </translate>
 
{{Draft_Upcoming_Release|1=[[SEP_sesam_Release_Versions|5.1.0 ''Apollon'']]}}</div></translate><br />
<translate>===Overview=== </translate>
<div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>
<translate> Additional resources</translate></b></center>
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=http://www.sep.de/products/deduplication/deduplication-analysis/#_]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |<translate> See also: [[Special:MyLanguage/5_0_0:Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]] – [[Special:MyLanguage/Encrypting_Si3_NG_Deduplication_Store|Encrypting Si3 NG Deduplication Store]] – [[Special:MyLanguage/5_0_0:Backup_to_S3_Cloud_Storage|Backup to S3 Cloud Storage]] – [[Special:MyLanguage/Standard_Backup_Procedure|Standard Backup Procedure]] – [[Special:MyLanguage/Standard Restore Procedure|Standard Restore Procedure]] – [[Special:MyLanguage/Licensing|Licensing]]</translate>
|}
 
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_Video.png|45px|link=Video Tutorials & Screencasts]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |<translate> Watch SEP sesam video [https://www.youtube.com/watch?v=sSkfmufQkXU Why and how to use Deduplication with SEP sesam].</translate>
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
</noinclude><translate><!--T:9-->
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]
When backing up your data to the S3 (Amazon Simple Storage Solution) cloud storage, Wasabi cloud storage, or other S3-compatible cloud implementation, you can use the Object Lock function to protect your data from alteration or deletion. ''Object Lock'' is a data protection feature and enables you to customize immutability of the backup objects. The retention time can be set for a fixed amount of time or indefinitely, and no one can change, delete or overwrite a backup object until its retention time is expired.
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate> Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.</translate>
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
<!--T:10-->
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide#Si3_Deduplication]]
Immutable objects remain immutable until the end of their retention time. Cloud storage offers two retention modes:
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |<translate> Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide#Si3_Deduplication|Troubleshooting Guide]].</translate>
* ''Governance mode'' - users with a special permission (for example, root user) can reduce the retention time. This mode is used by SEP sesam.
|}</div></noinclude>
* ''Compliance mode'' - retention time of a protected file or object cannot be shortened by any user.


<translate>When backing up your data to the S3 (Amazon Simple Storage Solution) cloud storage, Wasabi cloud storage, or other S3-compatible cloud implementation, you can use the Object Lock function to protect your data from alteration or deletion. ''Object Lock'' is a data protection feature and enables you to customize immutability of the backup objects. The retention period can be set for a fixed amount of time or indefinitely, and no one can change, delete or overwrite a backup object until its retention period is expired.
<!--T:11-->
SEP sesam is using object retention in '''governance mode'''. In governance mode SEP sesam backup user can add or extend the retention period on an object, and cannot shorten or remove it. In case the retention period is set incorrectly (for example 100 years), the user with user right <tt>BypassGovernanceRetention</tt> can change this setting.


Immutable objects remain immutable until the end of their retention period. However, two retention modes are available:
<!--T:12-->
* '''Compliance mode''' - retention time of a protected file or object cannot be shortened by any user.
S3 Object Lock works in buckets with enabled versioning. An object lock is placed on an individual object version and new object versions can be created, each version locked according to configured retention period.</translate>
* '''Governance mode''' - users with a special permission (for example, root user) can reduce the retention period.


SEP sesam is using object retention in governance mode. In governance mode SEP sesam backup user can add or extend the retention period on an object, and cannot shorten or remove it. In case the retention period is set incorrectly (for example 100 years), the user with user right <tt>BypassGovernanceRetention</tt> can change this setting.
{{note|<translate><!--T:88--> Enabling the Object Lock function on S3 may increase the storage space required for backups.</translate>}}
 
S3 Object Lock works in buckets with enabled versioning. An object lock is placed on an individual object version and new object versions can be created, each version locked according to configured retention period.


<translate><!--T:13-->
S3 Object Lock also provides two modes of managing object retention that can be combined or used independently:  
S3 Object Lock also provides two modes of managing object retention that can be combined or used independently:  
*'''retention period''' - specifies a fixed period of time during which an object remains locked and can't be overwritten or deleted.  
*''retention period'' - specifies a fixed period of time during which an object remains locked and can't be overwritten or deleted.  
*'''legal hold''' - has no expiration date and remains in place until you explicitly remove it. Legal holds are independent from retention periods.
*''legal hold'' - has no expiration date and remains in place until you explicitly remove it. Legal holds are independent from retention periods.


<!--T:14-->
SEP sesam is not using legal hold option. Legal hold can be placed on objects in the cloud storage management console.</translate>
SEP sesam is not using legal hold option. Legal hold can be placed on objects in the cloud storage management console.</translate>


=={{anchor|configuration}}<translate>Configuration of Si3 NG store with Object Lock</translate>==  
=={{anchor|configuration}}<translate><!--T:15--> Configuration of Si3 NG store with Object Lock</translate>==  
<translate>SEP sesam enables you to configure the Si3 NG data store with enabled Object Lock function. For general information on Si3 NG data store configuration and prerequisites, see [[Special:MyLanguage/5_0_0:Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]]. This section deals only with the specific information on configuring the Si3 NG data store that is using the Object Lock function.</translate>
<translate><!--T:16--> SEP sesam enables you to configure the Si3 NG data store with enabled Object Lock function. For general information on Si3 NG data store configuration and prerequisites, see [[Special:MyLanguage/5_0_0:Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]]. This section deals only with the specific information on configuring the Si3 NG data store that is using the Object Lock function.</translate>


{{<translate>note</translate>|<translate>This procedure involves configuration steps that are performed on the cloud storage management console. These steps provide only the basic information, for more detailed explanations and instructions refer to the documentation of your cloud storage provider. For example:
{{note|<translate><!--T:18-->
This procedure involves configuration steps that are performed on the cloud storage management console. These steps provide only the basic information, for more detailed explanations and instructions refer to the documentation of your cloud storage provider. For example:
*for Amazon S3 see the [https://docs.aws.amazon.com/s3/index.html Amazon Simple Storage Service Documentation]  
*for Amazon S3 see the [https://docs.aws.amazon.com/s3/index.html Amazon Simple Storage Service Documentation]  
*for Wasabi see the [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html Wasabi Management Console User Guide]</translate>}}
*for Wasabi see the [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html Wasabi Management Console User Guide]</translate>}}
 
# <translate>[[Special:MyLanguage/5_1_0:Configuring_Si3_NG_Deduplication_Store_with_Object_Lock#policy|Create a policy]]</translate>
# <translate>[[Special:MyLanguage/5_1_0:Configuring_Si3_NG_Deduplication_Store_with_Object_Lock#user|Create a backup user]]</translate>
# <translate>[[Special:MyLanguage/5_1_0:Configuring_Si3_NG_Deduplication_Store_with_Object_Lock#bucket|Create a bucket]]</translate>
# <translate>[[Special:MyLanguage/5_1_0:Configuring_Si3_NG_Deduplication_Store_with_Object_Lock#Si3-NG|Configure the Si3 NG deduplication store]]</translate>


<translate>For information on configuring media pools, backing up to S3 cloud storage, and purging data on S3 cloud storage, see [[Special:MyLanguage/5_0_0:Backup_to_S3_Cloud_Storage|Backup to S3 Cloud Storage]]. </translate>
# <translate><!--T:19--> [[#policy|Create a policy]].</translate>
# <translate><!--T:20--> [[#user|Create a user for backup]].</translate>
# <translate><!--T:21--> [[#bucket|Create a bucket]].</translate>
# <translate><!--T:22--> [[#Si3-NG|Configure the Si3 NG deduplication store]].</translate>


=== {{anchor|policy}}<translate>Create a policy</translate> ===
<translate><!--T:23--> For information on configuring media pools, backing up to S3 cloud storage, and purging data on S3 cloud storage, see [[Special:MyLanguage/5_0_0:Backup_to_S3_Cloud_Storage|Backup to S3 Cloud Storage]]. </translate>
<translate>A policy defines the user permissions for buckets in your cloud storage and can be assigned to a user, group, or role. Policies are in JSON format.


=== {{anchor|policy}}<translate><!--T:24--> Create a policy</translate> ===
<translate><!--T:25-->
A policy defines the user permissions for buckets in your cloud storage and can be assigned to a user, group, or role. Policies are in JSON format.
<!--T:26-->
In your cloud storage management console create a policy ''<policy_name>'', for example, <tt>Si3LockSesam</tt>. SEP sesam requires the policy settings as shown below. Edit the JSON policy statement accordingly.</translate>
In your cloud storage management console create a policy ''<policy_name>'', for example, <tt>Si3LockSesam</tt>. SEP sesam requires the policy settings as shown below. Edit the JSON policy statement accordingly.</translate>
<syntaxhighlight lang="JSON">
<syntaxhighlight lang="JSON">
Line 79: Line 65:
                 "s3:DeleteObject",
                 "s3:DeleteObject",
                 "s3:GetObjectVersion",
                 "s3:GetObjectVersion",
                 "s3:DeleteObjectVersion"
                 "s3:DeleteObjectVersion",
                 "s3:GetBucketObjectLockConfiguration",
                 "s3:GetBucketObjectLockConfiguration",
        "s3:ListAllMyBuckets"
                "s3:GetBucketLocation",
                "s3:ListAllMyBuckets"
             ],
             ],
             "Resource": "*"
             "Resource": "*"
Line 88: Line 75:
}
}
</syntaxhighlight>
</syntaxhighlight>
====Creating a policy on S3====
====<translate><!--T:82--> Creating a policy on S3</translate>====
<ol><li><translate> On S3, in IAM Management Console, select '''Policies''' in the menu and then click '''Create policy'''.</translate></li>
<ol><li><translate> <!--T:27--> On S3, in IAM Management Console, select '''Policies''' in the menu and then click '''Create policy'''.</translate></li>
<li><translate>Switch to JSON tab and insert the SEP sesam policy statement (above). </translate><br />
<li><translate><!--T:28--> Switch to JSON tab and insert the SEP sesam policy statement (above). </translate><br />
<translate>[[image:AWS-policy.jpg|850px|AWS Amazon IAM Management Console]]</translate></li>
<translate><!--T:29--> [[image:AWS-policy.jpg|850px|AWS Amazon IAM Management Console]]</translate></li>
<li><translate>Follow the wizard to complete the procedure. For more information see [https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create-console.html Creating IAM policies].</translate></li></ol>
<li><translate><!--T:30--> Follow the wizard to complete the procedure. For more information see [https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create-console.html Creating IAM policies].</translate><br />
<translate>[[image:AWS-policy-review.jpg|850px|AWS Amazon IAM Management Console]]</translate>
<translate><!--T:31--> [[image:AWS-policy-review.jpg|850px|AWS Amazon IAM Management Console]]</translate></li></ol>


====Creating a policy on Wasabi====
====<translate><!--T:83--> Creating a policy on Wasabi</translate>====
<ol><li><translate> On Wasabi, in Wasabi Management Console, select '''Policies''' in the menu and then click '''Create policy'''.</translate></li>
<ol><li><translate> <!--T:32--> On Wasabi, in Wasabi Management Console, select '''Policies''' in the menu and then click '''Create policy'''.</translate></li>
<li><translate>Enter the ''<policy_name>'' and insert the SEP sesam policy statement (above). </translate><br />
<li><translate><!--T:33--> Enter the ''<policy_name>'' and insert the SEP sesam policy statement (above). </translate><br />
<translate>[[image:Wasabi-policy.jpg|850px|Wasabi Management Console]]</translate></li>
<translate><!--T:34--> [[image:Wasabi-policy.jpg|850px|Wasabi Management Console]]</translate></li>
<li><translate>Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_Policy.htm Creating a Policy].</translate></li></ol>
<li><translate><!--T:35--> Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_Policy.htm Creating a Policy].</translate></li></ol>


=== {{anchor|user}}<translate>Create a backup user</translate> ===
=== {{anchor|user}}<translate><!--T:36--> Create a user for backup</translate> ===
<translate>The backup user is used by SEP sesam to access the cloud storage bucket.  
<translate><!--T:37-->
To access the cloud storage bucket and back up the objects in the bucket, SEP sesam requires a dedicated user account for backup.
In your cloud storage management console create a user ''<user_name>'', for example, <tt>Si3Sesam</tt>. Select the ''programatic access'' and attach the SEP sesam policy statement to this user. </translate>
In your cloud storage management console create a user ''<user_name>'', for example, <tt>Si3Sesam</tt>. Select the ''programatic access'' and attach the SEP sesam policy statement to this user. </translate>


<translate>Follow the recommendation and use your root user credentials only to create your backup user.</translate>
<translate><!--T:38--> Follow the recommendation and use your root user credentials only to create the user for backup.</translate>


====Creating a backup user on S3====
====<translate><!--T:84--> Creating a user for backup on S3</translate>====
<ol><li><translate> On S3, in IAM Management Console, select '''Users''' in the menu and then click '''Add users'''.</translate></li>
<ol><li><translate> <!--T:39--> On S3, in IAM Management Console, select '''Users''' in the menu and then click '''Add users'''.</translate></li>
<li><translate>Enter the ''<user_name>'' and select the option '''Access key - Programmatic access'''.<br />
<li><translate><!--T:40-->
Enter the ''<user_name>'' and select the option '''Access key - Programmatic access'''. Click '''Next'''.<br />
[[image:AWS-user.jpg|600px|AWS Amazon IAM Management Console]]</translate></li>
[[image:AWS-user.jpg|600px|AWS Amazon IAM Management Console]]</translate></li>
<li><translate>In the ''Set permissions''window, click '''Attach existing policy directly'''.</translate></li>
<li><translate><!--T:41--> In the ''Set permissions'' window, click '''Attach existing policy directly'''.</translate></li>
<li><translate>Select the check-mark in front of your policy (<tt>Si3LockSesam</tt>) to attach it to the backup user.<br />
<li><translate><!--T:42-->
Select the check-mark in front of your policy (<tt>Si3LockSesam</tt>) to attach it to the user for backup. Click '''Next'''.<br />
[[image:AWS-user-policy.jpg|600px|AWS Amazon IAM Management Console]]</translate></li>
[[image:AWS-user-policy.jpg|600px|AWS Amazon IAM Management Console]]</translate></li>
<li><translate>Follow the wizard to complete the procedure. For more information see [https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html IAM users].</translate></li></ol>
<li><translate><!--T:43--> Follow the wizard to complete the procedure. For more information see [https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html IAM users].</translate><br />
<translate>[[image:AWS-user-review.jpg|600px|AWS Amazon IAM Management Console]]</translate>
<translate><!--T:44--> [[image:AWS-user-review.jpg|600px|AWS Amazon IAM Management Console]]</translate></li></ol>
<br />
 
{{<translate>note</translate>|<translate>AWS access keys consist of an ''access key ID'' and a ''secret access key''. Both keys are required to authenticate access. These credentials are also required to create an Si3 NG data store for S3.
{{note|<translate><!--T:46-->
AWS access keys consist of an ''access key ID'' and a ''secret access key''. Both keys are required to authenticate access. These credentials are also required to create an Si3 NG data store for S3.
The S3 credentials are stored encrypted (not in plain text) in the ''ini'' file.</translate>}}
The S3 credentials are stored encrypted (not in plain text) in the ''ini'' file.</translate>}}


<translate>For more information and procedures see the [https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html ''AWS Identity and Access Management'' documentation].</translate>
<translate><!--T:47--> For more information and procedures see the [https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html ''AWS Identity and Access Management'' documentation].</translate>


====Creating a backup user on Wasabi====
====<translate><!--T:85--> Creating a user for backup on Wasabi</translate>====
<ol><li><translate> On Wasabi, in Wasabi Management Console, select '''Users''' in the menu and then click '''Create user'''.</translate></li>
<ol><li><translate> <!--T:48--> On Wasabi, in Wasabi Management Console, select '''Users''' in the menu and then click '''Create user'''.</translate></li>
<li><translate>Enter the ''<user_name>'' and under ''Type of Access'' select the option '''Programmatic (create API key)'''. </translate><br />
<li><translate><!--T:49--> Enter the ''<user_name>'' and under ''Type of Access'' select the option '''Programmatic (create API key)'''. Click '''Next'''.</translate><br />
<translate>[[image:Wasabi-user.jpg|500px|Wasabi Management Console]]</translate></li>
<translate><!--T:50--> [[image:Wasabi-user.jpg|500px|Wasabi Management Console]]</translate></li>
<li><translate>In the ''Policies'' window, find and select your policy (<tt>Si3LockSesam</tt>) to attach it to the backup user.<br />
<li><translate><!--T:51-->
In the ''Policies'' window, find and select your policy (<tt>Si3LockSesam</tt>) to attach it to the user for backup. Click '''Next'''.<br />
[[image:Wasabi-user-policy.jpg|500px|Wasabi Management Console]]</translate></li>
[[image:Wasabi-user-policy.jpg|500px|Wasabi Management Console]]</translate></li>
<li><translate>Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_User.htm Creating a User].</translate></li></ol>
<li><translate><!--T:52--> Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_User.htm Creating a User].</translate><br />
<translate>[[image:Wasabi-user-review.jpg|500px|Wasabi Management Console]]</translate>
<translate><!--T:53--> [[image:Wasabi-user-review.jpg|500px|Wasabi Management Console]]</translate></li></ol>
<br />


=== {{anchor|bucket}}<translate>Create a bucket</translate> ===  
=== {{anchor|bucket}}<translate><!--T:54--> Create a bucket</translate> ===  
<translate>The term bucket is used to describe the container for backup data. To use the Object Lock function, the cloud storage bucket must have versioning enabled.
<translate><!--T:55-->
The term bucket is used to describe the container for backup data. To use the Object Lock function, the cloud storage bucket must have versioning enabled.


<!--T:56-->
In your cloud storage management console create a bucket ''<bucket_name>'', for example, <tt>si3sesamlock</tt>. Enable bucket versioning and Object Lock functions.</translate>
In your cloud storage management console create a bucket ''<bucket_name>'', for example, <tt>si3sesamlock</tt>. Enable bucket versioning and Object Lock functions.</translate>


{{<translate>note</translate>|<translate>Uppercase characters and special characters are not permitted in the bucket name. Bucket name must be DNS-compliant. For more information refer to [https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html Bucket naming rules].</translate>}}
{{note|<translate><!--T:58--> Uppercase characters and special characters are not permitted in the bucket name. Bucket name must be DNS-compliant. For more information refer to [https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html Bucket naming rules].</translate>}}


====Creating a bucket on S3====
====<translate><!--T:86--> Creating a bucket on S3</translate>====
<ol><li><translate> On S3, in S3 Management Console, select '''Buckets''' in the menu and then click '''Create bucket'''.</translate></li>
<ol><li><translate> <!--T:59--> On S3, in S3 Management Console, select '''Buckets''' in the menu and then click '''Create bucket'''.</translate></li>
<li><translate>Enter the ''<bucket_name>''.<br />
<li><translate><!--T:60-->
Enter the ''<bucket_name>''.<br />
[[image:AWS-bucket.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
[[image:AWS-bucket.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
<li><translate> In the ''Bucket Versioning'' section, enable '''Bucket Versioning'''.<br />
<li><translate> <!--T:61-->
In the ''Bucket Versioning'' section, enable '''Bucket Versioning'''.<br />
[[image:AWS-bucket-versioning.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
[[image:AWS-bucket-versioning.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
<li><translate> Expand the ''Advanced settings'' section and enable '''Object Lock'''.<br />
<li><translate> <!--T:62-->
Expand the ''Advanced settings'' section and enable '''Object Lock'''.<br />
[[image:AWS-bucket-objectLock.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
[[image:AWS-bucket-objectLock.jpg|850px|AWS Amazon S3 Management Console]]</translate></li>
<li><translate>Complete the procedure. For more information see [https://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html Creating a Bucket].</translate></li></ol>
<li><translate><!--T:63--> Complete the procedure. For more information see [https://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html Creating a Bucket].</translate></li></ol>


====Creating a bucket on Wasabi====
====<translate><!--T:87--> Creating a bucket on Wasabi</translate>====
<ol><li><translate> On Wasabi, in Wasabi Management Console, select '''Buckets''' in the menu and then click '''Create bucket'''.</translate></li>
<ol><li><translate> <!--T:64--> On Wasabi, in Wasabi Management Console, select '''Buckets''' in the menu and then click '''Create bucket'''.</translate></li>
<li><translate>Enter the ''<bucket_name>'' and select the region (geographic location) where you want your bucket to reside.<br />
<li><translate><!--T:65-->
Enter the ''<bucket_name>'' and select the region (geographic location) where you want your bucket to reside. Click '''Next'''.<br />
[[image:Wasabi-bucket.jpg|500px|Wasabi Management Console]]</translate></li>
[[image:Wasabi-bucket.jpg|500px|Wasabi Management Console]]</translate></li>
<li><translate> In the ''Set Properties'' window, enable '''Bucket Versioning''' and '''Object Locking'''.<br />
<li><translate> <!--T:66-->
In the ''Set Properties'' window, enable '''Bucket Versioning''' and '''Object Locking'''. Click '''Next'''.<br />
[[image:Wasabi-bucket-objectLock.jpg|500px|Wasabi Management Console]]</translate></li>
[[image:Wasabi-bucket-objectLock.jpg|500px|Wasabi Management Console]]</translate></li>
<li><translate>Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_Bucket.htm Creating a Bucket].</translate></li></ol>
<li><translate><!--T:67--> Complete the procedure. For more information see [https://wasabi.com/wp-content/themes/wasabi/docs/User_Guide/index.html#t=topics%2FCreating_a_Bucket.htm Creating a Bucket].</translate><br />
<translate>[[image:Wasabi-bucket-review.jpg|500px|Wasabi Management Console]]</translate>
<translate><!--T:68--> [[image:Wasabi-bucket-review.jpg|500px|Wasabi Management Console]]</translate></li></ol>
<br />
 


==={{anchor|Si3-NG}}<translate>Configure the Si3 NG deduplication store with Object Lock=== </translate>
==={{anchor|Si3-NG}}<translate><!--T:69--> Configure the Si3 NG deduplication store with Object Lock=== </translate>
<translate>Configuring the Si3 NG deduplication store that uses S3 with Object Lock function involves creating a new data store for your S3 bucket, setting the drive parameters and data store size properties. This section deals only with the specific information on configuring the Object Lock. </translate>
<translate><!--T:70--> Configuring the Si3 NG deduplication store that uses S3 with Object Lock function involves creating a new data store for your S3 bucket, setting the drive parameters and data store size properties. This section deals only with the specific information on configuring the Object Lock. </translate>


<ol><li><translate> In the '''Main selection''' -> '''Components''', click '''Data Stores''' and then select '''New Data Store'''.</translate>
<ol><li><translate> <!--T:71--> In the '''Main selection''' -> '''Components''', click '''Data Stores''' and then select '''New Data Store'''.</translate></li>
<li><translate> From the ''Data Stores'' menu, select '''New Data Store'''. A ''New Data Store'' dialog appears.</translate></li>
<li><translate> <!--T:72--> From the ''Data Stores'' menu, select '''New Data Store'''. A ''New Data Store'' dialog appears.</translate></li>
<li><translate>Configure the data store as required. For details refer to [[Special:MyLanguage/Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]].</translate></li>
<li><translate><!--T:73--> Configure the data store as required. For details refer to [[Special:MyLanguage/Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]].</translate></li>
<li><translate> Right-click the newly created S3 data store and the click '''Properties'''.</translate></li>
<li><translate> <!--T:74--> Right-click the newly created S3 data store and the click '''Properties'''.</translate></li>
<li><translate>In the ''Storage Backend'' tab, select the option '''Enable Object lock''' and then enter the retention time in days in the ''Object lock retention time'' field.</translate></li></ol>
<li><translate><!--T:75--> In the ''Storage Backend'' tab, select the option '''Enable Object lock''' and then enter the retention time in days in the ''Object lock retention time'' field.</translate></li></ol>
{{<translate>note</translate>|<translate>''Object lock retention time'' setting defines Object Lock retention period in days. Si3 periodically extends locks on objects and pages. Every version of objects and pages is preserved and Si3 is periodically removing versions older than ''retention time'' days.</translate>}}<br />
{{note|<translate><!--T:77--> ''Object lock retention time'' setting defines Object Lock retention period in days. Si3 periodically extends locks on objects and pages. Every version of objects and pages is preserved and Si3 is periodically removing versions older than ''retention time'' days.</translate>}}<br />
<translate>[[image:S3_DataStore_ObjectLock.jpg|500px]]</translate>
<translate><!--T:78--> [[image:S3_DataStore_ObjectLock.jpg|700px|link=]]</translate>


==<translate>Modifying retention period==  
==<translate><!--T:79-->
Modifying retention period==  
SEP sesam backup user can add or extend the retention period on an object. To extend the retention period, change the ''Object lock retention time'' setting in the ''Storage Backend'' tab. The retention period is recalculated for all objects in the S3 bucket.
SEP sesam backup user can add or extend the retention period on an object. To extend the retention period, change the ''Object lock retention time'' setting in the ''Storage Backend'' tab. The retention period is recalculated for all objects in the S3 bucket.


<!--T:80-->
You can also shorten the ''Object lock retention time'' setting. In this case, new retention period is immediately valid for new objects, and the retention period on existing objects is recalculated only after the previously set retention period is shorter than the new one.</translate>
You can also shorten the ''Object lock retention time'' setting. In this case, new retention period is immediately valid for new objects, and the retention period on existing objects is recalculated only after the previously set retention period is shorter than the new one.</translate>


<noinclude><div class="noprint">
<noinclude>{{Copyright}}<noinclude>
<translate>== See also==
[[Special:MyLanguage/5_0_0:Configuring_Si3_NG_Deduplication_Store|Configuring Si3 NG Deduplication Store]] – [[Special:MyLanguage/Encrypting_Si3_NG_Deduplication_Store|Encrypting Si3 NG Deduplication Store]] – [[Special:MyLanguage/5_0_0:Backup_to_S3_Cloud_Storage|Backup to S3 Cloud Storage]] – [[Special:MyLanguage/Standard Backup Procedure|Standard Backup Procedure]] – [[Special:MyLanguage/Standard Restore Procedure|Standard Restore Procedure]]</translate></div><noinclude>

Latest revision as of 09:52, 5 October 2023

Other languages:


Overview

When backing up your data to the S3 (Amazon Simple Storage Solution) cloud storage, Wasabi cloud storage, or other S3-compatible cloud implementation, you can use the Object Lock function to protect your data from alteration or deletion. Object Lock is a data protection feature and enables you to customize immutability of the backup objects. The retention time can be set for a fixed amount of time or indefinitely, and no one can change, delete or overwrite a backup object until its retention time is expired.

Immutable objects remain immutable until the end of their retention time. Cloud storage offers two retention modes:

  • Governance mode - users with a special permission (for example, root user) can reduce the retention time. This mode is used by SEP sesam.
  • Compliance mode - retention time of a protected file or object cannot be shortened by any user.

SEP sesam is using object retention in governance mode. In governance mode SEP sesam backup user can add or extend the retention period on an object, and cannot shorten or remove it. In case the retention period is set incorrectly (for example 100 years), the user with user right BypassGovernanceRetention can change this setting.

S3 Object Lock works in buckets with enabled versioning. An object lock is placed on an individual object version and new object versions can be created, each version locked according to configured retention period.

Information sign.png Note
Enabling the Object Lock function on S3 may increase the storage space required for backups.

S3 Object Lock also provides two modes of managing object retention that can be combined or used independently:

  • retention period - specifies a fixed period of time during which an object remains locked and can't be overwritten or deleted.
  • legal hold - has no expiration date and remains in place until you explicitly remove it. Legal holds are independent from retention periods.

SEP sesam is not using legal hold option. Legal hold can be placed on objects in the cloud storage management console.

Configuration of Si3 NG store with Object Lock

SEP sesam enables you to configure the Si3 NG data store with enabled Object Lock function. For general information on Si3 NG data store configuration and prerequisites, see Configuring Si3 NG Deduplication Store. This section deals only with the specific information on configuring the Si3 NG data store that is using the Object Lock function.

Information sign.png Note
This procedure involves configuration steps that are performed on the cloud storage management console. These steps provide only the basic information, for more detailed explanations and instructions refer to the documentation of your cloud storage provider. For example:
  1. Create a policy.
  2. Create a user for backup.
  3. Create a bucket.
  4. Configure the Si3 NG deduplication store.

For information on configuring media pools, backing up to S3 cloud storage, and purging data on S3 cloud storage, see Backup to S3 Cloud Storage.

Create a policy

A policy defines the user permissions for buckets in your cloud storage and can be assigned to a user, group, or role. Policies are in JSON format.

In your cloud storage management console create a policy <policy_name>, for example, Si3LockSesam. SEP sesam requires the policy settings as shown below. Edit the JSON policy statement accordingly.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:GetObjectRetention",
                "s3:PutObjectRetention",
                "s3:ListBucketVersions",
                "s3:ListBucket",
                "s3:GetBucketVersioning",
                "s3:DeleteObject",
                "s3:GetObjectVersion",
                "s3:DeleteObjectVersion",
                "s3:GetBucketObjectLockConfiguration",
                "s3:GetBucketLocation",
                "s3:ListAllMyBuckets"
            ],
            "Resource": "*"
        }
    ]
}

Creating a policy on S3

  1. On S3, in IAM Management Console, select Policies in the menu and then click Create policy.
  2. Switch to JSON tab and insert the SEP sesam policy statement (above).
    AWS Amazon IAM Management Console
  3. Follow the wizard to complete the procedure. For more information see Creating IAM policies.
    AWS Amazon IAM Management Console

Creating a policy on Wasabi

  1. On Wasabi, in Wasabi Management Console, select Policies in the menu and then click Create policy.
  2. Enter the <policy_name> and insert the SEP sesam policy statement (above).
    Wasabi Management Console
  3. Complete the procedure. For more information see Creating a Policy.

Create a user for backup

To access the cloud storage bucket and back up the objects in the bucket, SEP sesam requires a dedicated user account for backup. In your cloud storage management console create a user <user_name>, for example, Si3Sesam. Select the programatic access and attach the SEP sesam policy statement to this user.

Follow the recommendation and use your root user credentials only to create the user for backup.

Creating a user for backup on S3

  1. On S3, in IAM Management Console, select Users in the menu and then click Add users.
  2. Enter the <user_name> and select the option Access key - Programmatic access. Click Next.
    AWS Amazon IAM Management Console
  3. In the Set permissions window, click Attach existing policy directly.
  4. Select the check-mark in front of your policy (Si3LockSesam) to attach it to the user for backup. Click Next.
    AWS Amazon IAM Management Console
  5. Follow the wizard to complete the procedure. For more information see IAM users.
    AWS Amazon IAM Management Console
Information sign.png Note
AWS access keys consist of an access key ID and a secret access key. Both keys are required to authenticate access. These credentials are also required to create an Si3 NG data store for S3.

The S3 credentials are stored encrypted (not in plain text) in the ini file.

For more information and procedures see the AWS Identity and Access Management documentation.

Creating a user for backup on Wasabi

  1. On Wasabi, in Wasabi Management Console, select Users in the menu and then click Create user.
  2. Enter the <user_name> and under Type of Access select the option Programmatic (create API key). Click Next.
    Wasabi Management Console
  3. In the Policies window, find and select your policy (Si3LockSesam) to attach it to the user for backup. Click Next.
    Wasabi Management Console
  4. Complete the procedure. For more information see Creating a User.
    Wasabi Management Console

Create a bucket

The term bucket is used to describe the container for backup data. To use the Object Lock function, the cloud storage bucket must have versioning enabled.

In your cloud storage management console create a bucket <bucket_name>, for example, si3sesamlock. Enable bucket versioning and Object Lock functions.

Information sign.png Note
Uppercase characters and special characters are not permitted in the bucket name. Bucket name must be DNS-compliant. For more information refer to Bucket naming rules.

Creating a bucket on S3

  1. On S3, in S3 Management Console, select Buckets in the menu and then click Create bucket.
  2. Enter the <bucket_name>.
    AWS Amazon S3 Management Console
  3. In the Bucket Versioning section, enable Bucket Versioning.
    AWS Amazon S3 Management Console
  4. Expand the Advanced settings section and enable Object Lock.
    AWS Amazon S3 Management Console
  5. Complete the procedure. For more information see Creating a Bucket.

Creating a bucket on Wasabi

  1. On Wasabi, in Wasabi Management Console, select Buckets in the menu and then click Create bucket.
  2. Enter the <bucket_name> and select the region (geographic location) where you want your bucket to reside. Click Next.
    Wasabi Management Console
  3. In the Set Properties window, enable Bucket Versioning and Object Locking. Click Next.
    Wasabi Management Console
  4. Complete the procedure. For more information see Creating a Bucket.
    Wasabi Management Console


Configure the Si3 NG deduplication store with Object Lock

Configuring the Si3 NG deduplication store that uses S3 with Object Lock function involves creating a new data store for your S3 bucket, setting the drive parameters and data store size properties. This section deals only with the specific information on configuring the Object Lock.

  1. In the Main selection -> Components, click Data Stores and then select New Data Store.
  2. From the Data Stores menu, select New Data Store. A New Data Store dialog appears.
  3. Configure the data store as required. For details refer to Configuring Si3 NG Deduplication Store.
  4. Right-click the newly created S3 data store and the click Properties.
  5. In the Storage Backend tab, select the option Enable Object lock and then enter the retention time in days in the Object lock retention time field.
Information sign.png Note
Object lock retention time setting defines Object Lock retention period in days. Si3 periodically extends locks on objects and pages. Every version of objects and pages is preserved and Si3 is periodically removing versions older than retention time days.


S3 DataStore ObjectLock.jpg

Modifying retention period

SEP sesam backup user can add or extend the retention period on an object. To extend the retention period, change the Object lock retention time setting in the Storage Backend tab. The retention period is recalculated for all objects in the S3 bucket.

You can also shorten the Object lock retention time setting. In this case, new retention period is immediately valid for new objects, and the retention period on existing objects is recalculated only after the previously set retention period is shorter than the new one.

Copyright © SEP AG 1999-2024. All rights reserved.
Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.