By using AWS re:Post, you agree to the Terms of Use

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

asked 3 years ago303 views
9 Answers
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
answered 3 years ago
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

answered 3 years ago
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).

answered 3 years ago
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

answered 3 years ago
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

answered 3 years ago
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.

answered 3 years ago
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

answered 3 years ago
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

answered 3 years ago
0

Thanks a lot David. Have a nice day.

Weifeng

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions