We strongly encourage members to make their own backups. However, sometimes that just doesn't work out, and people need to know what we can help them recover.
Recovering deleted files from a site
If you've accidentally deleted a file or files on your website, or you want to roll back to a recent backup, you may be able to fix that yourself. On the ssh server, the /home/.zfs/snapshot directory allows you to access historical snapshots of your site. Snapshot names are 12-digit numbers based on the date and time the snapshot was created, in the form YYYYMMDDHHMM. For example, if a snapshot is named 202401021200, then it was created on 2024-01-02 at 12:00 UTC. A site may have up to 60 snapshots covering the past 30 days, depending on how large the site currently is, how fast the site's content changes, and how long ago it was created.
You can copy individual files out to the live site:
YourPrompt$ cp /home/.zfs/snapshot/202401021200/public/whoopsie-deleted.txt /home/public/.
You can also use a tool like rsync to recover entire directories:
YourPrompt$ rsync --dry-run -va /home/.zfs/snapshot/202401021200/public/. /home/public/.
The --dry-run flag will cause rsync to tell you what it would do instead of doing anything, so you can make sure the behavior is what you expect. Once you're sure you're putting the right files in the fight place, run rsync without --dry-run and it will perform the operation for real.
The rsync command also supports --delete and --force flags (among many others), which may be useful to make sure there aren't other stray files laying around. But these flags can also be very dangerous; if the command isn't exactly right, they may delete something other than what you intended.
Recovering sites or MySQL processes that have been completely deleted
Follow these instructions:
- Review and submit an Attempt to recover deleted content assistance request.
- We will invest the time to determine what can likely be recovered and how much it will cost to do so. There is a fee for us to produce this estimate unless you have a subscription membership.
- Based on the cost and expected results, you can decide whether or not to proceed with the restore and make sure you have the necessary funds available in your account.
- If you decide to proceed, we will debit your account for the cost and perform the restore.
Rolling back a MariaDB 10.x process to an earlier state
As with deleted sites and MySQL processes, use the Attempt to recover deleted content assistance request. The process is very similar, although the costs are much, much higher. Further details are under the appropriate heading on that page.Other deleted content
Registered domains can be recovered for a little while after they expire.
Removed DNS or email forwarding settings cannot be recovered.