hi i restored a droplet from a backup i had and it was the wrong one, the files i had and changes obviously were deleted and replaced by the backup, is there a way to retreive the files from before the restore process
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey,
If you’ve restored a DigitalOcean Droplet from the wrong backup, and your files were overwritten, recovering the previous data can be difficult.
What you could do here is to check if you have any older backups or snapshots in the DigitalOcean Control Panel which you could use to restore to instead.
If your project was under version control like Git, you might recover your changes from a repository. Also, check if you by any chance have any more recent copies on your local machines, or other servers for example.
If none of these options work, reaching out to DigitalOcean support might help, though recovery isn’t guaranteed.
- Bobby.
Heya, @6f2fdef512d74fd598fcaed809d4b8
You currently cannot undo restoring a Droplet from a backup. However, if you have a snapshot of your Droplet from before restoring from the backup, you can restore the Droplet to that snapshot.
Otherwise, the only option is manual recovery using, for example, local copies of the Droplet’s data you may have from development.
There might be a way to recover deleted files using tools like TestDisk, you can check out our tutorial on the tool here:
Regards
Heya,
The best way would be to restore from the proper backup. There are not other options I believe at this point.
If you can’t restore from the backup you intended to, then it would be best to contact DigitalOcean’s support.
Hope that helps! - KFSys.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.