Como fazer um backup manual dos arquivos do droplets ?

Posted June 8, 2021 224 views

Olá, sei que os backups geralmente são automáticos, gostaria de saber como fazer um backup manual dos arquivos do droplet e salva-los na máquina física.
Desde já agradeço.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @elisandrafantasiascarol,

If I understood you correctly, you are asking if you can Backup only a certain amount of files as oppose to backing up your whole Droplet?

Unfortunately, DigitalOcean does not have a feature to allow backing up only a number of files. DigitalOcean offers two types of backups - Backups and Snapshots

  • Backups are automatically-created disk images of Droplets. Enabling backups for Droplets enables system-level backups at weekly intervals, which provides a way to revert to an older state or create new Droplets.

  • Snapshots are on-demand disk images of DigitalOcean Droplets and volumes saved to your account. Use them to create new Droplets and volumes with the same contents.

Backing up a couple of files should be done manually. You can back them up on your Local Laptop or use a different solution for backing up files.

  • Como posso fazer um backup no computador local, não encontrei nada na documentação sobre como proceder, por exemplo: Faço um backup para poder acessar no Computador local, fazer alteração nesses arquivos tudo isso na máquina.

    • Hi @elisandrafantasiascarol,

      This time, Google Translate didn’t translate the above really good so I’m not sure about the comment but what I understood is that you want to have a local backup?

      If that’s the case, you need to do it on your own. DigitalOcean do not provide a local backup feature out of the box. You can just use a SCP or RSYNC command to copy the files you want to your local machine via SSH.