lukesmurray / mc-server

Luke and Mateo's Minecraft Server.
MIT License
1 stars 0 forks source link

Backups to s3 #1

Closed lukesmurray closed 5 years ago

lukesmurray commented 5 years ago

We should be able to have

Later we could have

lukesmurray commented 5 years ago

Implemented s3 bucket name so pre existing bucket can be used.

We have a versioned life cycle rule so we save 90 days of data currently. we can change this if it gets expensive.

lifecycle_rule {
    enabled = true

    noncurrent_version_transition {
      days          = 30
      storage_class = "STANDARD_IA"
    }

    noncurrent_version_transition {
      days          = 60
      storage_class = "GLACIER"
    }

    noncurrent_version_expiration {
      days = 90
    }
  }