Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import existing AWS Amplify Back-End into an empty AWS Amplify project locally?

I accidentally deleted my amplify frontend and created a new one. How do I import the existing amplify back end to the newly created amplify app project folder?

I followed the steps on the backend tab

  1. amplify init --appId ("ID OF YOUR NEW AMPLIFY APP").

  2. Instead of amplify add CATEGORY here. I use amplify update CATEGORY here

Then amplify push.

But when I check the amplify app on the AWS console there still no backend integrated to it.

Am I doing correct?

Version used:

"aws-amplify": "^2.1.0"

like image 682
Yves Gonzaga Avatar asked Sep 17 '25 18:09

Yves Gonzaga


1 Answers

you can use the following command:

 amplify pull --appId someidgoeshere --envName dev
like image 148
Tomasz Czechowski Avatar answered Sep 23 '25 12:09

Tomasz Czechowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!