← Blog · ENGINEERING

Why every SFTP upload gets its own restore point

Plenty of our customers still deploy over SFTP. Treating those uploads as second-class was never an option, so every upload session now leaves a restore point behind.

MH
The Mirahost team
Engineering · October 2026 · 4 min read

When we moved our own Plesk customers onto the platform behind Mirahost, a lot of them kept working the way they always had: designers dropping theme files into a folder, freelancers patching a client's plugin over an FTP client. Git deploys already had history and one-click rollback. Uploads didn't.

The industry's answer has mostly been shame. Platforms either refuse SFTP outright or bolt it on as an untracked side door: the one place where changes happen without history, without a name on them, and without a way back. That side door is where 3am incidents come from.

Every upload leaves a way back, whether you typed git or not

Each site has its own SFTP server, and it keeps track of which files a session wrote, renamed or deleted. When the session ends, it records who it was and how many files changed. Within about two minutes the platform takes a backup of the site's files and labels it, so it shows up next to every other backup, ready to restore. Nothing changes in how you upload; there is just a way back afterwards. Git deploys work the way they always have: a git push.

backups — acme-studio.com
release 41 git push · main · zero-downtime switch
restore point After SFTP upload by maya: 14 files changed
backup scheduled · files and database
every entry: labeled · restorable

Two doors, one place to go back to. A bad release is undone with one click in the deploy history; a bad upload is undone by restoring the restore point taken right after it, or the one before.

The hard part: uploads aren't transactions

Git gives you an atomic unit for free: the push. SFTP gives you a stream of writes with no clear beginning or end, and an FTP client may open and close several sessions for one upload.

We settled on the session itself: when a session that changed something ends, it counts. Sessions that only read files leave nothing behind, and an upload that arrives while a backup is already running is picked up on the next pass. A plugin uploaded into wp-content/plugins/ over several sessions simply produces several restore points, each one complete for what had arrived by then.

The measure of infrastructure isn't how it treats your best-practice users. It's whether your messiest workflow still gets a way back.

What it changes for customers

Anyone on a site can restore an upload's restore point themselves from the backups list, with the uploader's name and the file count right there. Agencies can hand SFTP access to a contractor without a workflow document, and "someone changed something and nobody knows what" has an answer: the restore point says who, and roughly how much.

If you're building a platform that bridges old and new workflows, our advice is simple: don't build a bridge with a toll booth on one side. Give the old path the same safety net as the new one.

Try it yourself
Every plan gets restore points for SFTP uploads and one-click rollback for Git deploys.
Get started

More from the blog

MIGRATION
Moving 58 Plesk sites and their mail onto our own platform
October 2026
PLATFORM
What happens when a site stops answering
October 2026
AGENCIES
Running client sites under your own brand
October 2026