May I restore a backup snapshot on original instance in AWS lightsail?

0

Hello,

My I restore a backup snapshot on original WordPress instance in AWS Lightsail? When I search restore snapshot, usually the result shows how to create a new instance with a backup snapshot, rather than restore on existing instance. If do it in this way, does it mean the whole history of the website cannot be recorded in a single instance, and multiple instance will be generated in Lightsail?

Any advice will be appreciated.

Thanks,
Weifeng

질문됨 5년 전3138회 조회
9개 답변
0

No.

You can use a snapshot to create a new instance, but that new instance is 99.9% identical to the instance that was snapshotted.

The work flow would be something like this ...

  1. Snapshot original instance
  2. Create new instance based on snapshot
  3. Detach static IP from original instance
  4. Attach static IP to new instance
  5. Make sure new instance is working correctly
  6. Delete original instance
profile picture
David G
답변함 5년 전
0

Hi David,

Thanks a lot for your response. Could you please give me any advice on following questions?

if I can only use a snapshot to create a new instance, how could I save the historical snapshots?

Is there any other Wordpress host support to restore backup snapshot on existing instance?

Thanks again,
Qidian

답변함 5년 전
0

I would suggest you look into another backup solution.

Maybe create another instance, in the same region, and use rsync to copy your content and then create historical backup's from that content. If you create the backup instance in the same region, there is no data transfer cost if you use internal IP addresses.

Snapshots, IMO, are intended for disaster recovery (like if you made a configuration change that caused a problem).

profile picture
David G
답변함 5년 전
0

Hi David,

Thank you so much for your suggestion. I think this is the best solution for my question.

Have a great weekend.
Weifeng

답변함 5년 전
0

Hi David,

I tried to rsync the instance. However, I just find this information about how to do it in EC2, rather than in lightsail. So is this function not available in lightsail?

Thanks,
Weifeng

답변함 5년 전
0

First of all, what OS are you running? Linux or Windows?

Sometimes I make the mistake of assuming Linux.

If it is Linux, then you may need to install the rsync package using the distros package manager.

profile picture
David G
답변함 4년 전
0

Hi David,

Thanks a lot for your response. I do use Linux. So, do you mean after install rsync package, I can do it in lightsail? Meanwhile, is there any doc or link to introduce this process?

Thanks,
Weifeng

답변함 4년 전
0

Yes, after you install the rsync package, you will be able to use the rsync program.

Check out some of these links for information ...
https://www.createdbypete.com/a-practical-guide-to-using-rsync/
https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/
http://www.yolinux.com/TUTORIALS/Rsync.html

profile picture
David G
답변함 4년 전
0

Thanks a lot David. Have a nice day.

Weifeng

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인