Add instance:export and instance:download command
See original GitHub issueIt would be great if sfcc-ci
would allow to transfer one sandbox’ state to another, therefore commands to run a site export & download it would be desirable.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
create-instance-export-task - AWS Documentation
This example command creates a task to export the instance i-1234567890abcdef0 to the Amazon S3 bucket myexportbucket. Command: aws ec2 create-instance-export- ...
Read more >Copy files from EC2 to S3 Bucket in 4 steps | Devops Junction
AWS S3 CP command from EC2 instance. IAM role to copy files from EC2 to S3 ... Steps to copy files from S3...
Read more >How Can I Download a File from EC2 [closed] - Stack Overflow
Use scp: scp -i ec2key.pem username@ec2ip:/remote/path/to/file /local/path/to/file. where: ec2key.pem is your PEM key; username is the ...
Read more >create-instance-export-task - Amazon AWS
This example command creates a task to export the instance i-1234567890abcdef0 to the Amazon S3 bucket myexportbucket. Command: aws ec2 create-instance-export ...
Read more >Download SRA sequence data using Amazon Web Services ...
Sign-in and Enter the Amazon EC2 Console; Create an AWS Instance; Connect to ... to perform an S3 copy or sync, using a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Proposal:
Two additional commands (see below), should be tracked as separate issues. Once they are done, we can think about providing a high level command to copy an instance (propose to limit to sandbox only) which makes use of
New Command 1:
sfcc-ci instance:export --instance <instance> --data-units <units> --export-file <file> --sync
Options:
--instance
optional, being the host name of the instance,--data-units
being the set of data in JSON format to export--export-file
being the file to store exported data to on the instance, relative to impex/src/instance--sync
optional, whether to run in sync modeNew Command 2:
sfcc-ci data:download --instance <instance> --source <target> --file <file>
Options:
--instance
optional, being the host name of the instance, e.g.--file
being the file to download from instance and--source
being the source location on the instance to download from relative to /webdav/Sites/Impex/, e.g. “src/instance”We are splitting this into two tickets for better visibility.