If you have lost or wiped your DigitalOcean droplet, there are a few things you can do to try and recover it.
First, you can try to login to your droplet and view the filesystem. If you can’t login, you can try to SSH into your droplet. If you can’t SSH into your droplet, you can try to clone the droplet using the following command:
PRO TIP: If you have lost or forgotten your DigitalOcean droplet password, you can recover it by resetting the root password. To do this, you will need to use the DigitalOcean Control Panel to generate a new root password for your droplet. Once you have reset the root password, you will be able to use it to log into your droplet and change the password to something more memorable.
git clone https://github.com/DigitalOcean/droplets.git droplet
If you can’t clone the droplet, you can try to restore it from a backup.