question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add instance:export and instance:download command

See original GitHub issue

It 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:open
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
tobiaslohrcommented, Jul 24, 2019

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 mode

New 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”

0reactions
tobiaslohrcommented, Mar 27, 2020

We are splitting this into two tickets for better visibility.

  1. instance:export command to run an instance export #121
  2. data:download command to download resources #122
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found