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 年前檢視次數 3137 次
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

已回答 4 年前
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南