Backing up Object Store

From SD4H wiki
Revision as of 21:01, 9 October 2024 by Poq (talk | contribs) (Created page with "It is possible to have a backing up of object store data to our TSM tape system. Here is the formal procedure to do so. ===List bucket=== Send a list of bukets to backup to juno@calculquebec.ca with the name of the project where the buckets live. ===Give us permission=== You need to configure the iam policy statement of *all the buckets* you want to backup so your TSM robot user in charge of the backup can access them. Here is the policy that needs to be added....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

It is possible to have a backing up of object store data to our TSM tape system. Here is the formal procedure to do so.

List bucket

Send a list of bukets to backup to juno@calculquebec.ca with the name of the project where the buckets live.

Give us permission

You need to configure the iam policy statement of *all the buckets* you want to backup so your TSM robot user in charge of the backup can access them. Here is the policy that needs to be added.


For example, using the aws cli and apply the policy on my-bucket using the my-profile identity.

First, we make sure that the bucket has currently no policy.

$aws s3api --profile my-project  get-bucket-policy --bucket  my-bucket

An error occurred (NoSuchBucketPolicy) when calling the GetBucketPolicy operation: The bucket policy does not exist

``` If that command returns something you need to add the new statement the existing policy. But we are no coverint that here.

Adding the policy to `my-bucket`