Update DNS settings when restoring forum?

A client has a forum hosted on Digital Ocean, but doesn’t need to use it for a few months and wants to save the cost of hosting in the meantime. A couple questions about this:

  1. Is it better to create a snapshot or a backup before destroying the droplet?
  2. At any point in the process of creating the snapshot/backup, destroying the droplet, and then restoring the forum on a new droplet, do the DNS or mailgun settings need to be updated in any way?

@pfaffman thoughts?

1 Like

It depends if you are trying to have convience or save money. Digital Ocean does charge for snapshots, even if the price is small: Snapshots :: DigitalOcean Documentation. If tghe site is small, I’d also take a backup just incase.

Assuming your mailgun access did not change, that should not be required. As for DNS, if the hostname has not changed, when you spin it back up, it should also be fine. I would do an backup/import if only because that way you can have the setup process run again :slight_smile:

Hope this helps!

1 Like
  1. since you want to save costs, you can better create a backup. You can store it on your own computer / Dropbox / whatever and not be billed. However, please note #2b below.

2a) A new droplet implies a new IP address so you do need to update DNS.
2b) Restoring a backup restores everything EXCEPT for mailgun settings (and a few other things like your SSL certificate). You do need to configure Mailgun using your app.yml or the setup script. I think it is the most convenient to save the original app.yml next to the backup.

2 Likes