sethkor / connect-backup Goto Github PK
View Code? Open in Web Editor NEWA tool to backup and restore AWS Connect, with some useful other utilities too
License: MIT License
A tool to backup and restore AWS Connect, with some useful other utilities too
License: MIT License
Hi - first, thanks for creating this super useful tool.
I'm curious if it can be extended to support a traditional deployment model. For example, I would like to create Contact Flow(s) in a 'dev' AWS account ('dev' Connect instance), test/qa, and if approved, deploy the update Contact Flow(s) to another AWS account ('prod' Connect instance). I see the json elements use the ARN which includes the AWS account # and the Connect instance ID. Does the tool change these when doing a restore to another account/instance? If not could that be added?
Hello. Thanks for making such a useful tool. Does connect-backup currently support SSO for aws profiles? I'm getting an error, but only when I try to use a profile I've signed in as using "aws configure sso":
2021/05/25 14:52:22 NoCredentialProviders: no valid providers in chain
caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.
SharedCredsLoad: failed to load profile, MySSOProfileName.
EC2RoleRequestError: no EC2 instance role found
caused by: RequestError: send request failed
Hi, thanks for making this tool.
I've encountered an issue when there is an unpublished contact flow. In the logs you get
2021/10/01 18:57:38 Failed to describe flow
when I ran to describe the contact flow manually, I found the reason was
An error occurred (ContactFlowNotPublishedException) when calling the DescribeContactFlow operation: Contact flow not published
Now when it hits this roadblock it doesn't backup the rest of the contact flows and continues to backing up users. Is it possible to skip all the unpublished contactflows and backup the other contact flows?
During the backup of an instance, object names with certain special characters do not write to the file system properly.
Example:
A connect Instance with a Hours of Operation entry called "24/7" results in a failure as it tries to write out a 24/7.json file and the OS interprets it a as a path.
# connect-backup --instance REDACTED backup --file=ConnectBackup
2023/11/14 13:44:07 Backing up Hours
2023/11/14 13:44:07 open ConnectBackup//REDACTED/hours-of-operation/24/7.json: no such file or directory
2023/11/14 13:44:07 Failed to write to the destination
Suggestion: Escape or Quote the files before writing to disk or strip path characters from the file.
Suggestion 2: Change the name of the argument from --file
to --directory
or --folder
Need to check what is wrong here. The API is only in preview so it could be an issue on the AWS end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.