WP-DBManager

wp-dbmanager · Par Lester Chan
50k+ installations 4.4 (95) MAJ il y a 3 mois v4.0.0 WP 6.8–7.0.9 PHP 8.2+

Score d'impact

1 scans · dernier scan il y a 2 jours

Comparer avec un autre plugin

Score Homepage

Impact mesuré sur la page d'accueil publique

···
—

1 scan · 1 site

Pas encore de score. Pour l'instant : 1 scan venant de 1 site. Score provisoire dès 3 scans venant d'au moins 2 sites, Footprint Score officiel à 15 scans.

1/15 scans

Ce plugin tourne sur votre site ? Scannez-le avec WP Footprint pour faire avancer son score.

Ce que ça ajoute à chaque chargement de page

Temps ajouté
1,249 ms
Mémoire ajoutée
4.0 MB
Requêtes SQL
+0
Fichiers CSS/JS
+0

À propos

WP-DBManager looks after the database behind your site: it backs it up, restores it, optimizes and repairs it, empties or drops tables and runs queries you write, all from wp-admin rather than from a shell or phpMyAdmin. Backups, optimization and repair can be left to run on a schedule, and the backup can be emailed to you when it finishes.

J’ai passé beaucoup de mon temps libre à la création, mise à jour, et support de cette extension. Si vous aimez et pouviez me donner quelques dollars, cela serait appréciable. Si ce n’est pas le cas, n’hésitez pas à l’utiliser sans aucune obligation.

A database backup contains everything, including your users table. Anyone who can guess a backup file name can download the lot, so the folder must not be served over HTTP.

Lire la suite

The reliable option, on any server: set Path To Backup under WP-Admin -> Database -> Settings to a folder outside your web root, for example /var/www/example.com/backup-db when WordPress lives in /var/www/example.com/public_html. Nothing served, nothing to configure.

If the folder has to stay inside the web root:

location ^~ /wp-content/backup-db/ { deny all; }

Move index.php from Folder: wp-content/plugins/wp-dbmanager to Folder: wp-content/backup-db/index.php as well, so the folder cannot be listed.

The Backup DB page requests a file from the folder and reports what the server actually returns, so you can confirm the folder is closed rather than assume it.

wp dbmanager tables
wp dbmanager backups
wp dbmanager backup --yes
wp dbmanager backup --no-gzip --yes
wp dbmanager restore <file> --yes
wp dbmanager delete <file>... --yes
wp dbmanager email <file> [email protected] --yes
wp dbmanager optimize --all --yes
wp dbmanager repair wp_options --yes
wp dbmanager empty <table>... --yes
wp dbmanager drop <table>... --yes

Everything that changes anything asks first, so a script has to pass --yes. That includes backup, which deletes the oldest backups to stay inside Maximum Backup Files, and email, because a dump holds your users table and a sent message cannot be recalled. tables and backups only read, and take a --format of table, csv, json, yaml, count or ids; their sizes are in bytes rather than the KiB and MiB the screens print, because a shell is better at arithmetic than at parsing 1.2 MiB.

optimize and `repair` take table names or `--all`. `empty` and `drop` take names only: emptying or dropping every table in a database is not maintenance, and the screen at least shows you the list before you tick it.

There is no run subcommand. WP-CLI already ships wp db query, which reaches the same database through the same client, so the Run SQL Query screen has no command counterpart. That screen is unchanged and still works.

Description publiée par Lester Chan sur WordPress.org, sous licence GPLv2 or later.

Tags
backup database Optimize repair restore

Captures d'écran

Captures publiées par Lester Chan sur WordPress.org, sous licence GPLv2 or later.

Database, the server it runs on and the size of every table
Database, the server it runs on and the size of every table
Backup DB, which checks the paths and the folder before it offers to run
Backup DB, which checks the paths and the folder before it offers to run
Manage Backup DB, every backup with its checksum, date and size
Manage Backup DB, every backup with its checksum, date and size
Optimize DB, which reclaims the space MySQL still holds after deletions
Optimize DB, which reclaims the space MySQL still holds after deletions
Repair DB, for tables the server has marked as crashed
Repair DB, for tables the server has marked as crashed
Empty/Drop Tables, one row per table and what emptying it would remove
Empty/Drop Tables, one row per table and what emptying it would remove
Run SQL Query, for the statement no screen has a button for
Run SQL Query, for the statement no screen has a button for
Database Settings: the paths, the schedule, and where a backup is mailed
Database Settings: the paths, the schedule, and where a backup is mailed

Historique par version

Voir le détail par version (1 version)

Comment le plugin évolue de version en version.

Version Homepage Admin Dernier scan
v4.0.0 1 scan — il y a 2 jours

Alternatives dans la même catégorie

D'autres plugins backup mesurés par la communauté, classés du plus léger au plus lourd.

Historique des scans

Voir le journal des scans individuels (1 scans)

Date Version Contexte Score Grade Temps Mémoire
il y a 2 jours v4.0.0 Homepage 86/100 A 1,249 ms 4.0 MB