Title: b2-sync
Author: Wasseem Khayrattee
Published: <strong>28.11.2021</strong>
Last modified: 05.12.2021

---

Поиск плагинов

![](https://ps.w.org/b2-sync/assets/banner-772x250.png?rev=2636564)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/b2-sync/assets/icon.svg?rev=2636564)

# b2-sync

 Автор: [Wasseem Khayrattee](https://profiles.wordpress.org/wkhayrattee/)

[Скачать](https://downloads.wordpress.org/plugin/b2-sync.1.2.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/b2-sync/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/b2-sync/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/b2-sync/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/b2-sync/#developers)

 [Поддержка](https://wordpress.org/support/plugin/b2-sync/)

## Описание

This plugin allows you to sync your wp-content/uploads folder onto your backblaze
b2 bucket.

It will also automatically sync all your media whenever you:
 — create a new post
or page and add a new media — edit an existing post or page to add or update a media
file

NOTE:
 It will not get triggered if you upload a media on the media library page.
Fortunately, after you upload a media like this, you can directly trigger a sync
to backblaze by using the action button that we put at your disposal.

### REQUIREMENTS

This plugin relies and assumes that you have _rclone_ installed on your server.

Refer to this guide on how to install rclone: [https://rclone.org/downloads/](https://rclone.org/downloads/)

### TODO in next phase

 * Identify an appropriate **hook** when a media is uploaded via the **_WordPress
   Media Library_** so that we can trigger the sync for this action as well
 * Tell the sync process to ignore certain type of files
 * The log file messages are not pretty — create a custom approach for that instead
   of relying on `monolog/monolog`
 * (DONE) Show a real-time verbose mode of the sync when triggering the sync manual
   using the action button?

### Contributing

The best way to contribute to the development of this plugin is by participating
on the GitHub project:

[https://github.com/wkhayrattee/b2-sync](https://github.com/wkhayrattee/b2-sync)

There are many ways you can contribute:

 * Raise an issue if you found one
 * Create/send us a Pull Request with your bug fixes and/or new features
 * Provide us with your feedback and/or suggestions for any improvement or enhancement
 * Translation — this is an area we are yet to do

### Attributions

 * **Storyset** for the illustrations

## Скриншоты

[⌊The admin settings page for configuring the parameters & credentials for your 
backblaza b2 bucket⌉⌊The admin settings page for configuring the parameters & credentials
for your backblaza b2 bucket⌉[

The admin settings page for configuring the parameters & credentials for your backblaza
b2 bucket

[⌊The admin message log screen⌉⌊The admin message log screen⌉[

The admin message log screen

## Установка

1) Install & activate the plugin

2) Fill in your Backblaze B2 Bucket credentials on the admin page «B2-Sync» menu

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«b2-sync» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад
следующие участники:

Участники

 *   [ Wasseem Khayrattee ](https://profiles.wordpress.org/wkhayrattee/)

[Перевести «b2-sync» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/b2-sync)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/b2-sync/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/b2-sync/), или подпишитесь на
[журнал разработки](https://plugins.trac.wordpress.org/log/b2-sync/) по [RSS](https://plugins.trac.wordpress.org/log/b2-sync/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.2.0 (December 5, 2021)

 * FIX: the process was blocking with wait(), let us try to make it async as getting
   real-time output and being async is a challenge
 * Enhancement: display all lines in the log henceforth so that user can see what
   is happening from start to end

#### 1.1.0 (December 4, 2021)

 * New Feature: see real-time output on the log screen
 * Enhancement: Allow the system to check if a sync process is already running so
   tha we prevent triggering any duplicate sync process

#### 1.0.0 (November 28, 2021)

 * Initial release onto WordPress.org plugin repo with the initial code from phase
   1 of this plugin

#### 0.1.0 (November 20, 2021)

 * Initial commit of working code for the benefit of everyone who needs this plugin

## Мета

 *  Версия **1.2.0**
 *  Обновление: **5 лет назад**
 *  Активных установок: **Менее 10**
 *  Версия WordPress ** 5.7.0 или выше **
 *  Совместим вплоть до: **5.8.15**
 *  Версия PHP ** 7.2 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/b2-sync/)
 * Метки:
 * [backup](https://ru.wordpress.org/plugins/tags/backup/)[sync](https://ru.wordpress.org/plugins/tags/sync/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/b2-sync/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/b2-sync/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/b2-sync/reviews/)

## Участники

 *   [ Wasseem Khayrattee ](https://profiles.wordpress.org/wkhayrattee/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/b2-sync/)