Mettre à jour les paramètres DNS lors de la restauration du forum ?

Un client possède un forum hébergé sur Digital Ocean, mais n’en a pas besoin pendant quelques mois et souhaite économiser les coûts d’hébergement在此期间. Voici quelques questions à ce sujet :

  1. Est-il préférable de créer un instantané ou une sauvegarde avant de détruire le droplet ?
  2. À n’importe quel moment du processus de création de l’instantané/la sauvegarde, de la destruction du droplet, puis de la restauration du forum sur un nouveau droplet, les paramètres DNS ou Mailgun doivent-ils être mis à jour d’une manière ou d’une autre ?

@pfaffman, quels sont vos avis ?

1 « J'aime »

It depends if you are trying to have convience or save money. Digital Ocean does charge for snapshots, even if the price is small: /products/snapshots/. 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 « J'aime »
  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 « J'aime »