shelvery-aws-backups | Automating EBS RDS EC2 backups on lambda | Continuous Backup library
kandi X-RAY | shelvery-aws-backups Summary
kandi X-RAY | shelvery-aws-backups Summary
Automating EBS RDS EC2 backups on lambda
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Do a copy operation
- Invoke a shelvery operation
- Copy a backup
- Send message to sqs queue
- Do share backup
- Return bucket name
- Write metadata for a backup
- Get data bucket
- Get custom retention types
- Backup the given backup resource
- Start a backup engine
- Backup a resource
- Return a list of backups that are backed up
- Backup a backup resource
- Return a list of backup backups for this role
- Create a boto3 session
- Get source backups from sources
- Retrieve entities to backup
- This function parses a lambda event
- Get list of entities to backup
- Return a list of entities to backup for a given tag
- Lookup existing backups by tag
- Get list of models to backup
- Get entities to backup
- Return a list of backups that match the given tag prefix
- Return list of backups to share
- Return a list of entities to be backed up
shelvery-aws-backups Key Features
shelvery-aws-backups Examples and Code Snippets
$ docker run --rm -it -v $HOME/.aws:/root/.aws -w /src node:latest bash
root@4b2d6804c8d3:/src# git clone https://github.com/base2services/shelvery && cd shelvery
Cloning into 'shelvery'...
remote: Counting objects: 114, done.
remote: Compr
# run within docker container (preffered, as it has clean python3 install)
docker run --rm -it -v $HOME/.aws:/root/.aws -w /shelvery -e 'AWS_DEFAULT_REGION=us-east-1' python:3 bash
# install shelvery package
pip install shelvery
# configure (option
# this runs in every
# running in account 222222222222,333333333333
$ export AWS_DEFAULT_PROFILE=source_account
$ export shelvery_share_aws_account_ids=111111111111
$ shelvery ebs create_backups
# this is running in destination account, let's say 11
Community Discussions
Trending Discussions on Continuous Backup
QUESTION
ANSWER
Answered 2022-Feb-22 at 10:59I am not sure if you have seen this message in the portal when you created the account/also mentioned in the doc
"You will not be able to switch between the backup policies after the account has been created"
since you need to select either "Periodic" or "Continuous" at the creation of Cosmos Account, it becomes mandatory.
Update:
You will not see the above in portal anymore, you can Switch from "Periodic" to "Continous" on an existing account and that cannot be reverted. You can read more here.
QUESTION
What would be the consistency of the continuous backup of the write region if the database is using bounded staleness consistency? Will it be equivalent to strong consistent data assuming no failovers happened?
Thanks Guru
...ANSWER
Answered 2021-Nov-25 at 17:15Backups made from any secondary region will have data consistency defined by the guarantees provided by the consistency level chosen. In the case of strong consistency, all secondary region backups will have completely consistent data.
Bounded staleness will have data that may have stale or inconsistent data inside the defined staleness window (minimum 300 seconds or 100k writes). Outside of that staleness window the data will be consistent.
Data for the weaker consistency levels will have no guarantees for consistency from backups in secondary regions.
QUESTION
MongoDB has deprecated the continuous back up of data. It has recommended using CPS (Cloud provider snapshots). As far as I understood, snapshots isn't really going to be effective compared to continuous backup coz, if system breaks, then we can only be able to restore the data till the previous snapshot which isn't gonna make the database up-to-date or close to it atleast.
Am I missing something here in my understanding?
...ANSWER
Answered 2020-May-19 at 10:12Cloud provider snapshots can be combined with point in time restore to give the recovery point objective you require. With oplog based restores you can get granularity of one second.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shelvery-aws-backups
Sharing backups with other accounts
Copying shared backups from other acccount into current account
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page