Title: Exclude Image Thumbnails From UpdraftPlus Backups
Author: David Baumwald
Published: <strong>2018 年 1 月 12 日</strong>
Last modified: 2025 年 2 月 6 日

---

搜索插件

![](https://ps.w.org/de-updraftplus-backup-exclude-image-thumbnails/assets/banner-
772x250.png?rev=3169479)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/de-updraftplus-backup-exclude-image-thumbnails/assets/icon-
256x256.png?rev=3169479)

# Exclude Image Thumbnails From UpdraftPlus Backups

 作者：[David Baumwald](https://profiles.wordpress.org/davidbaumwald/)

[下载](https://downloads.wordpress.org/plugin/de-updraftplus-backup-exclude-image-thumbnails.zip)

 * [详情](https://cn.wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/#description)
 * [评价](https://cn.wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/#developers)

 [支持](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/)

## 描述

A small plugin to exclude WordPress generated image thumbnails from Updraft backups,
saving space. The original, full-sized image is included in backups, so if a restoration
from backup is needed, WP CLI or a plugin can be used to regenerate thumbnails using
the original, full-size images.

Features:

 * Works for all image types and includes both native and custom image sizes added
   by themes and plugins.

## 安装

This section describes how to install the plugin and get it working.

 1. Ensure UpdraftPlus Backup/Restore is installed and activated
 2. Upload the plugin to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ screen in WordPress

## 评价

![](https://secure.gravatar.com/avatar/c1f959fb0ddff6b3612c1ac23f3b8cd738ab5095b69bab5bc7f8627cbcbe8c6f?
s=60&d=retro&r=g)

### 󠀁[So simple but making failing backups work again!](https://wordpress.org/support/topic/so-simple-but-making-failing-backups-work-again/)󠁿

 [Jos Klever](https://profiles.wordpress.org/josklever/) 2022 年 6 月 10 日

I found the code in your plugin via a tip in the #sustainability channel of WP Slack,
so I tested it on a website that wasn’t able to do a full backup for over a year
now (due to a bad host). By filtering the thumbnails out, I was finally successful
in making a full backup again. For sustainability this should actually be an option
in UpdraftPlus. Thank you for saving time and disk space!

![](https://secure.gravatar.com/avatar/cb9358ffd8587c3498800d9c404ab24e3f8cf81596d7038125e10a65c76226de?
s=60&d=retro&r=g)

### 󠀁[Must have for updraft – cuts backup sizes in half – at least.](https://wordpress.org/support/topic/must-have-for-updraft-cuts-backup-sizes-in-half-at-least/)󠁿

 [Bjarne Oldrup](https://profiles.wordpress.org/oldrup/) 2021 年 7 月 26 日

I was attempting to reduce my sites backup sizes, to ease day to day administration,
and from a sustainability perspective. All data transfers and hot storage uses energy–
there is a carbon footprint to those backups. Excluding themes and plugins that 
I might as well get from WordPress.org in a rare restore situation, helped a lot.
But those many WordPress image variants were a real eyesore. Even with a lean theme,
there is at least 6 different variants/thumbnails of each image. Exclude Image Thumbnails
From UpdraftPlus Backups did away with those images unnecessary in the backup, making
it so much smaller, faster to backup and friendlier to the enviroment. Bonus tip:
I chose to exclude all webp images from the backup as well. Those are in my case
generated from the original jpg or png images, for even speedier load times. I would
be able to re-generate those easily if restoring my site. Obviously you shouldn’t
exclude webp if you upload these manually to the media library… Highly recommended.

![](https://secure.gravatar.com/avatar/0572f9cecd29b88c132f5f128928c31fdf46b0e8105a5eb7b8362c905e29baea?
s=60&d=retro&r=g)

### 󠀁[Should be part of Updraft](https://wordpress.org/support/topic/should-be-part-of-updraft/)󠁿

 [argosmedia](https://profiles.wordpress.org/argosmedia/) 2021 年 5 月 6 日

This is a great plugin. I always had Updraft complaining about resources, and lots
of backups that failed partly or completely. Now it runs smoothly and without errors.
The feaure this plugin adds to Updraft should be a standard feature of Updraft itself.
It’s a must have, simply as that. I was considering to stop using Updraft, although
I use it on dozens of sites. But now I can continue using it. Thanks to this litle
gem!

![](https://secure.gravatar.com/avatar/ca40fd9e49ef8d60e9f9dcbcee6e788858b3b60854618fe6d08d92b5fba80140?
s=60&d=retro&r=g)

### 󠀁[10/10](https://wordpress.org/support/topic/10-10-18/)󠁿

 [dustrider99](https://profiles.wordpress.org/dustrider99/) 2021 年 3 月 10 日

Literally a miracle. Was next to impossible to reliably create backups for one of
my sites due to so many images. This plugin makes using Updraft possible. THANK 
YOU!

![](https://secure.gravatar.com/avatar/d41852e49e44babd896c4ec01112ed7a2fbf1184e835abd0d49c41e0223a13f1?
s=60&d=retro&r=g)

### 󠀁[From 2.2Gb to 1.3Gb](https://wordpress.org/support/topic/from-2-2gb-to-1-3gb/)󠁿

 [sqez](https://profiles.wordpress.org/sqez/) 2020 年 12 月 15 日

Didn’t try to restore and recreate thumbnails but for now I’m happy with the space
savings. Thanks!

![](https://secure.gravatar.com/avatar/590c1a85322729f2345aa128684db6522b37951ea328215b6f501ed8439c0a91?
s=60&d=retro&r=g)

### 󠀁[20 Min Backup Now 1 Min](https://wordpress.org/support/topic/20-min-backup-now-1-min/)󠁿

 [Jimmy Lee](https://profiles.wordpress.org/shirtguy72/) 2020 年 7 月 21 日

Saves Time! Saves Space! Thanks!

 [ 阅读所有11条评价 ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/)

## 贡献者及开发者

「Exclude Image Thumbnails From UpdraftPlus Backups」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

 *   [ David Baumwald ](https://profiles.wordpress.org/davidbaumwald/)

[帮助将「Exclude Image Thumbnails From UpdraftPlus Backups」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/de-updraftplus-backup-exclude-image-thumbnails)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/de-updraftplus-backup-exclude-image-thumbnails/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/de-updraftplus-backup-exclude-image-thumbnails/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/de-updraftplus-backup-exclude-image-thumbnails/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/de-updraftplus-backup-exclude-image-thumbnails/)。

## 更新日志

#### 1.0.4

 * Updated assets.

#### 1.0.3

 * IMPROVED – Support WebP and AVIF fieltypes, props @josklever.

#### 1.0.2

 * IMPROVED – Regex update to prevent files with dimensions at the end of the file
   name from being filtered.

#### 1.0.1

 * IMPROVED – Regex filtering.
 * FIXED – README content.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**1 年前**
 *  活跃安装数量 **4,000+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/)
 * 标签
 * [backup](https://cn.wordpress.org/plugins/tags/backup/)[exclude](https://cn.wordpress.org/plugins/tags/exclude/)
   [image](https://cn.wordpress.org/plugins/tags/image/)[updraft](https://cn.wordpress.org/plugins/tags/updraft/)
   [updraftplus](https://cn.wordpress.org/plugins/tags/updraftplus/)
 *  [高级视图](https://cn.wordpress.org/plugins/de-updraftplus-backup-exclude-image-thumbnails/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  11 条 5 星评价     ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/reviews/)

## 贡献者

 *   [ David Baumwald ](https://profiles.wordpress.org/davidbaumwald/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/de-updraftplus-backup-exclude-image-thumbnails/)