Skip to content

Instantly share code, notes, and snippets.

@shilovk
Last active August 19, 2020 15:27
Show Gist options
  • Save shilovk/07dec1a5760bfcf1b8e2db10d61d9e23 to your computer and use it in GitHub Desktop.
Save shilovk/07dec1a5760bfcf1b8e2db10d61d9e23 to your computer and use it in GitHub Desktop.
backup to Yandex Object Storage
# ...
store_with S3 do |s3|
s3.access_key_id = "your_key"
s3.secret_access_key = "your_pass"
s3.bucket = "your_bucket_name"
s3.path = "your_path_to_backup"
s3.region = "ru-central1"
s3.fog_options = { endpoint: "https://storage.yandexcloud.net" }
end
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment