Title: DigitalOcean Spaces Sync
Author: keeross
Published: <strong>2017-يىلى 23-نويابىر</strong>
Last modified: 2020-يىلى 16-فېۋرال

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/do-spaces-sync/assets/icon-256x256.png?rev=1954080)

# DigitalOcean Spaces Sync

 يازغۇچى [keeross](https://profiles.wordpress.org/keeross/)

[چۈشۈر](https://downloads.wordpress.org/plugin/do-spaces-sync.2.2.1.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/do-spaces-sync/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/do-spaces-sync/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/do-spaces-sync/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/do-spaces-sync/#developers)

 [قوللاش](https://wordpress.org/support/plugin/do-spaces-sync/)

## چۈشەندۈرۈش

DigitalOcean Spaces Sync plugin connects your Media Library to a container in DigitalOcean
Spaces. It syncs data from your website to cloud storage
 and replaces links to 
images (optional). You may keep the media locally (on your server) and make backup
copy to cloud storage, or just serve it all from DigitalOcean Spaces.

In order to use this plugin, you have to create a DigitalOcean Spaces API key.

You may now define constants in order to configure the plugin. If the constant is
defined, it overwrites the value from settings page.
 Contants description: – DOS_KEY–
DigitalOcean Spaces key – DOS_SECRET – DigitalOcean Spaces secret, – DOS_ENDPOINT–
DigitalOcean Spaces endpoint, – DOS_CONTAINER – DigitalOcean Spaces container, –
DOS_STORAGE_PATH – The path to the file in the storage, will appear as a prefix,–
DOS_STORAGE_FILE_ONLY – Keep files only in DigitalOcean Spaces or not, values (true
|false), – DOS_STORAGE_FILE_DELETE – Remove files in DigitalOcean Spaces on delete
or not, values (true|false), – DOS_FILTER – A Regex filter, – UPLOAD_URL_PATH – 
A full url to the files, WP Constant, – UPLOAD_PATH – A path to the local files,
WP Constant

There is a known issue with the built in WordPress Image Editor, it will not upload
changed images. Know how to fix this, PR welcome.

## ئېكران كەسمىسى

[⌊Configuration screen⌉⌊Configuration screen⌉[

Configuration screen

## ئورنىتىش

 1. Upload the plugin files to the `/wp-content/plugins/do-spaces-sync` directory, 
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ›Plugins‹ screen in WordPress
 3. Use the Settings->DigitalOcean Spaces Sync screen to configure the plugin
 4. Create a DigitalOcean Spaces API key and container

## باھالاشلار

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

### 󠀁[Nio longer working](https://wordpress.org/support/topic/nio-longer-working/)󠁿

 [jonaswebdev](https://profiles.wordpress.org/jonaswebdev/) 2024-يىلى 5-مارت

I really was looking for a simple plugin to do this work, but the plugin is no longer
working, and code issues are not allowing the integration with DO.

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

### 󠀁[Good](https://wordpress.org/support/topic/saving-credentials-in-plain-text/)󠁿

 [Optimizr](https://profiles.wordpress.org/william-greatman/) 2020-يىلى 19-نويابىر

I like it simplicity.

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

### 󠀁[Great Promise But As Is … Disaster](https://wordpress.org/support/topic/great-promise-but-as-is-disaster/)󠁿

 [Matthew Leffler](https://profiles.wordpress.org/kymatt19/) 2020-يىلى 7-ماي

The plugin is admittedly broken if updated to the latest wordpress version, based
on support discussion, but its listed as compatible. It makes DB changes that are
irreversible without undoing them manually and then if you deleted your local copy
to use the destination space, you don’t have anything to return too. So the plugin
as is … will just delete everything in uploads and rewrite your urls to an empty
space.

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

### 󠀁[Don’t use this on a production website](https://wordpress.org/support/topic/dont-use-this-on-a-production-website/)󠁿

 [Noptin Newsletter Team](https://profiles.wordpress.org/picocodes/) 2020-يىلى 26-
فېۋرال

If it was possible to give a less than 1 rating I would happily do it. This plugin
did not sync my media with DO spaces. What’s worse, all media links on my website
now link to my DO spaces CDN even though they were not synced. As a result, all 
images on my website appear broken. I wrote to support and received no reply so 
I’m left with nothing else to do but restore a backup of my site. I’m more than 
disappointed.

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

### 󠀁[After delete doesnt got back to original settings](https://wordpress.org/support/topic/links-generated-are-working-but-cant-be-used-for-some-reason/)󠁿

 [idocohen](https://profiles.wordpress.org/idocohen/) 2019-يىلى 26-ئۆكتەبىر

keep uploading to the cdn even when deleted. Adding the old media files to the cdn
will be nice. supporting js/css would be also nice!

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

### 󠀁[Useful plugin](https://wordpress.org/support/topic/useful-plugin-543/)󠁿

 [jimmy_mochi](https://profiles.wordpress.org/tuanmy02051992/) 2019-يىلى 7-ئاۋغۇست

Hope that plugin can support to upload exist images to DO in the future

 [ 13 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/)

## تۆھپىكار ۋە ئىجادكار

«DigitalOcean Spaces Sync» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا
تۆھپە قوشقان.

تۆھپىكار

 *   [ keeross ](https://profiles.wordpress.org/keeross/)

[«DigitalOcean Spaces Sync» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/do-spaces-sync)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/do-spaces-sync/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/do-spaces-sync/) تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/do-spaces-sync/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/do-spaces-sync/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 2.2.1

 * Changed «upload done» hook to improve performance (https://github.com/keeross/
   DigitalOcean-Spaces-Sync/issues/34)

#### 2.2.0

 * Fix Test Connection ignore post data (https://github.com/keeross/DigitalOcean-
   Spaces-Sync/pull/27)
 * Fix dupe files in delete attachment (https://github.com/keeross/DigitalOcean-
   Spaces-Sync/pull/33)

#### 2.1.0

 * Fix empty upload path cause create server real path in DO Space (https://github.
   com/keeross/DigitalOcean-Spaces-Sync/pull/15)
 * Fix PHP Deprecated warning (https://github.com/keeross/DigitalOcean-Spaces-Sync/
   pull/20)

#### 2.0.5

 * Fixed issue with constant initialization
 * Updated packages

#### 2.0.4

 * Fixed file_path for multisite setup
 * Fix preg_match() Warning if Filemask/Regex in DOS setting is empty

#### 2.0.3

 * Fixed attachment save on image edit
 * It may now work with image optimization plugins, if not, report

#### 2.0.2.1

 * Hotfix, thanks WP SVN, start using Git finally.

#### 2.0.1

 * Rewrote the plugin.
 * Removed useless code.
 * Fixed unique filename problem.
 * Added constants that may be defined.

#### 1.1.1

 * Removed attachment url rewrite, it was not consistent.

#### 1.1.0.2

 * Had to push version up in order svn to catchup with updates.

#### 1.1.0

 * Fixed filemasks, now using regex.
 * Added ability to rewrite attachment url for filtered files returning original
   url, this thing may be buggy, so waiting for reports.

#### 1.0.8

 * Renamed the plugin.
 * Removed useless options.
 * Fixed file removal issue.
 * No need for region in S3Client.

#### 1.0.7.1

 * A hotfix for logger.

#### 1.0.7

 * Updated methods to fix non-images uploads.

#### 1.0.6

 * Removed useless log messages.

#### 1.0.3

 * Fixed upload path param.

#### 1.0.2

 * Nothing really special, added icons and tested with WP 4.9.

#### 1.0.1

 * Initial releasse.

## Meta

 *  Version **2.2.1**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **6 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **500+**
 *  WordPress نەشرى ** 4.6 ياكى يۇقىرى **
 *  **5.3.22** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/do-spaces-sync/)
 * بەلگە
 * [cloud](https://ug.wordpress.org/plugins/tags/cloud/)[digitalocean](https://ug.wordpress.org/plugins/tags/digitalocean/)
   [object](https://ug.wordpress.org/plugins/tags/object/)[spaces](https://ug.wordpress.org/plugins/tags/spaces/)
   [storage](https://ug.wordpress.org/plugins/tags/storage/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/do-spaces-sync/advanced/)

## دەرىجە

 3.9/5 يۇلتۇز

 *  [  9 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/?filter=4)
 *  [  1 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/?filter=2)
 *  [  3 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/do-spaces-sync/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/do-spaces-sync/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/do-spaces-sync/reviews/)

## تۆھپىكار

 *   [ keeross ](https://profiles.wordpress.org/keeross/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/do-spaces-sync/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](https://www.paypal.me/keeross)