Linux 软件免费装
Banner图

BTFU — Back The Files Up

开发者 jkirker
更新时间 2026年9月6日 02:56
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

backup restore development snapshot checkpoint

下载

0.9.0 0.9.1 0.10.0

详情介绍:

BTFU stands for Back The Files Up. Officially. Whatever else you think it might stand for says more about you than about us. BTFU gives you git-style checkpoints for a whole WordPress site — files and database together — from a single button in the admin bar. Take a snapshot, attach a note, break something, roll back. Hover the admin bar to see every snapshot with its note, timestamp, and size. This is a development tool. It warns loudly if it thinks it is running in production. It is also destructive by design. A restore overwrites your files and database; anything changed since the snapshot is lost unless you keep the automatic safety snapshot. BTFU's snapshots live on the same server as the site — before you rely on it, have an independent, off-server backup from your normal backup tool. Why another backup plugin? Backup plugins protect you from disasters. This protects you from yourself, five minutes ago. It is built for the loop developers actually live in: snapshot, experiment, compare, roll back, repeat. Restores are resumable: files AND database are imported in time-budgeted chunks, so even large sites restore without hitting a request timeout. What it deliberately does NOT do

安装:

  1. First, make sure you have an independent, off-server backup. BTFU is destructive and its snapshots live on the same disk as the site.
  2. Upload the plugin and activate it.
  3. Click BTFU in the admin bar → Back it up now…
  4. Optional but recommended: visit BTFU → Settings, set a rescue password, and generate a rescue script. Save its URL somewhere outside this site.

屏幕截图:

  • Restores are honest and undoable: type the id to confirm, and get a red warning the moment you skip the automatic safety snapshot.
  • The Snapshots dashboard — restore, download, pin, note, delete, or act on many at once.
  • Compare two snapshots: files added/modified/deleted and per-table database row changes, with one-click "restore from A".

常见问题:

Where do snapshots live?

In a .btfu-store-<random> directory — outside the web root when possible, otherwise inside wp-content guarded by .htaccess/web.config and verified by an actual HTTP canary check (nginx ignores .htaccess, so we prove protection instead of assuming it).

Why can't I exclude wp_posts from the database?

Core tables cross-reference each other by ID. Restoring posts without postmeta produces silent corruption, not a smaller backup. Non-core tables (analytics, logs, queues) can be excluded — they are stored structure-only, restore leaves their live data untouched, and strict-mode restores will never drop them.

What happens if a restore goes wrong?

A safety snapshot is taken automatically before every restore, so you can roll back the rollback. If WordPress itself won't load, the rescue script restores from the CLI: php btfu-rescue-xxxx.php --list then --restore <id>.

Does deleting a snapshot free its full size?

No — and the UI never claims it does. Snapshots share unchanged files via hardlinks. Each snapshot's listed "unique" size is what deleting it actually reclaims.

Is it safe on a live site?

It's designed for development. It will run in production, but it warns you persistently, and you should listen to it.

Do I still need real backups?

Yes. BTFU snapshots live on the same server as the site — they protect you from your own changes, not from disk failure, a compromised server, or a hosting disaster. Keep your normal off-server backups, and have one before your first restore.

更新日志:

0.10.0 0.9.1 0.9.0