Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Developer Infrastructure, Stack Documentation and UX
-
Labels:
-
Story Points:1
-
Epic Link:
-
Team:SQuaRE
-
Urgent?:No
Description
The daily backups on community.lsst.org should be uploaded to S3 (builtin Discourse functionality), but they aren't. We are doing weekly DigitalOcean snapshots that mitigate some of the data loss risk, but it would be better if we copied those daily backups.
Check if it's a permissions issue that can be fixed. Alternatively, set up a cron service that {{scp}}s the backup to S3.
Attachments
Issue Links
- relates to
-
DM-25405 Write ops guide (technote) for the community.lsst.org Discourse forum
- In Progress
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link |
|
Summary | community.lsst.org backups not being send to S3 | community.lsst.org backups not being sent to S3 |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Story Points | 1 | |
Urgent? | off |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Done [ 10002 ] |
See https://medium.freecodecamp.org/how-to-set-up-an-internal-team-forum-in-half-a-day-using-discourse-b13588d907fe
They recommend creating an IAM user with the following inline policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1506240388000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::**discourse-upload**",
"arn:aws:s3:::**discourse-upload**/*"
]
},
{
"Sid": "Stmt1506240479000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::**discourse-backup**",
"arn:aws:s3:::**discourse-backup**/*"
]
}
]
}