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!
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.
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:
https://www.digitalocean.com/community/tutorials/how-to-install-testdisk-on-linux-and-recover-deleted-files
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.