Written by

Well, instead we built a Time Machine out of our administration panel, but, the idea remains the same: let’s go back to the Future!


Rolling Backups

You shouldn’t have to worry about your data, even in your production environment. That’s why we handle it for you for a long time. You’ve got backups for a rolling 30-day period. Each backup is a daily snapshot of your userspace, including:

  • all the files in your home folder, including your dotfiles, your caches, and everything you put in this userspace,
  • all your e‑mail boxes, per domain then per account, in Maildir format, as well as your Sieve filters,
  • all your databases: for SQL ones, you’ve got a gzipped dump per database; for NoSQL bases, a folder containing all the database stuff (like bson data files).

The backups are at another, dedicated, data center, away from our production sites. You can easily access your snapshots at any time from your userspace. Go to the ~/admin/backup folder to get access to them mounted in your filesystem.

We mount the snapshots in a read-only mode in your userspace but show the backed-up files with their initial the permissions. So, you’re safe and cannot alter your backed-up data. However, you’re free to parse them.

Bring the Past back in the Future

The old-fashion way

So far, the only way to restore your data was to find the original file to retrieve in your backup directory, then copy it to your home folder. A good way to improve this is to use the rsync tool if you want to bring an entire folder back:

For databases, you still can rely on databases utils, like mysql or pg to inject the dumped data into your database :

What about e‑mail boxes then? Well, if you’ve ever tried to handle the Maildir subsystem, you already know what I mean! grep is your best friend to find the e‑mails you want to retrieve.

The DeLorean

Sure this workflow may be an effective one, but we all know it’s not that user-friendly, that’s why we made our DeLorean!

Administration Panel: Backup restoration tool view
Administration Panel: Backup restoration tool view

You can now restore your files directly from your administration panel. Go to the Advanced > Backup recovery section. Pick a target date, then select the content you wish to restore:

  • for files, fill the field with the path to the desired file/folder1), relative to your home (e.g. /[target-dir]/),
  • for databases, check the ones you want,
  • for e‑mails mailboxes, check the wanted accounts.

Then submit the form, and it works! It’s way simpler.

Remember the process overwrites the current files and databases. So keep a copy before triggering the process if you want to keep your current version. For e‑mails, the tool only restores old e‑mails but does not delete the ones received since the target date. Your current e‑mails remain untouched.


We expect this new utility will help you be more confident about your processes. For us, it’s always right to give you friendly solutions for dealing with your environment, regardless of your technical level. The complexity is ours, so let’s stay focused on your good work!

Notes

Notes
1still limited to one endpoint to restore at a time