# Synchronizer-base for any backup provider

**URL:** https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018
**Category:** Plugin
**Tags:** broken
**Created:** [August 14, 2017, 2:36pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018 "2017-08-14T14:36:35Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![kajatiger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kajatiger/32/74692_2.png) [@kajatiger](https://meta.discourse.org/u/kajatiger)
#### Post date: [September 7, 2017, 8:30am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/21 "2017-09-07T08:30:31Z")

</div>

Hello Dirk!  
Thanks for letting us know. I think there was a bug in the substraction of the BoxSynchronizer. I fixed it and pushed it to a branch on github, but before merging it to the master I would like to make sure it really works for you.  
[Here is the branch](https://github.com/berlindiamonds/discourse-sync-to-box/tree/bug). Can you please let me know if it worked for you?  
Thanks and I hope I could help you 🙂

---

<div class="post-metadata">

### Author: ![dirkbj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dirkbj/32/77457_2.png) [@dirkbj](https://meta.discourse.org/u/dirkbj)
#### Post date: [September 7, 2017, 3:54pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/22 "2017-09-07T15:54:23Z")

</div>

Thanks for your quick response. I’ll test it out today and let you know.

🙂

---

<div class="post-metadata">

### Author: ![dirkbj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dirkbj/32/77457_2.png) [@dirkbj](https://meta.discourse.org/u/dirkbj)
#### Post date: [September 7, 2017, 5:55pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/23 "2017-09-07T17:55:06Z")

</div>

I updated to the branch and ran a backup manually. Should it have triggered the backup to Box with a manual backup, or only when backups happen automatically?

---

<div class="post-metadata">

### Author: ![kajatiger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kajatiger/32/74692_2.png) [@kajatiger](https://meta.discourse.org/u/kajatiger)
#### Post date: [September 8, 2017, 7:52am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/24 "2017-09-08T07:52:16Z")

</div>

It should be triggered when you click **backup**. What happens is that if the plugin setting is set to **enabled** in the discourse core model there is an event triggered that runs the job in the plugin.  
The job synchronizes the backup files.  
Are you sure you have your account for box set up properly with the right api key and everything?  
If it still doesn’t work, can you post the logs?

---

<div class="post-metadata">

### Author: ![dirkbj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dirkbj/32/77457_2.png) [@dirkbj](https://meta.discourse.org/u/dirkbj)
#### Post date: [September 8, 2017, 4:45pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/25 "2017-09-08T16:45:49Z")

</div>

I can manually queue the job and it successfully uploads to box so my box creds have to be correct.

Which logs were you referring to? Sidekiq? The logs that are generated when I click on backup?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 8, 2017, 5:36pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/26 "2017-09-08T17:36:16Z")

</div>

> [@tophee](#):
>
> (or perhaps you could make it so that activating the sync-to-dropbox plugin automatically also makes sure the sync-base plugin is activated).

Yes! And/or just warns you if you try to activate a backup plugin without the base plugin enabled. And since I was debugging for someone else’s dropbox account (in another time zone), the debugging cycle was painfully long.

I just rebuilt and Dropbox is working now (I was about to report a bug but it was fixed the day after I last rebuilt. I rebuilt just now and it’s working! Thanks.)

---

<div class="post-metadata">

### Author: ![CFi](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@CFi](https://meta.discourse.org/u/CFi)
#### Post date: [September 13, 2017, 1:00pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/27 "2017-09-13T13:00:39Z")

</div>

Hi all,  
I’m trying to use your plug-in for a backup to nextcloud. I don’t know much about docker and global architecture of discourse, so I followed this topic to install your plug-in [Install plugins on a self-hosted site](https://meta.discourse.org/t/install-a-plugin/19157).  
It worked well installing the discourse-sync-base and boostraping the docker image.  
Installing the Discourse Sync to Nextcloud faills using the same technic. I get a bootstrapping error on ./launcher rebuild app  
Do you have any hint ?  
Thanks

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 13, 2017, 10:16pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/28 "2017-09-13T22:16:37Z")

</div>

> [@CFi](#):
>
> I get a bootstrapping error on ./launcher rebuild app

Can you share the error? Please upload the _entire_ build log - you may need to use something like [Pastebin](https://pastebin.com/) if it is particularly large.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 16, 2017, 9:11pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/29 "2017-09-16T21:11:40Z")

</div>

> [@kajatiger](#):
>
> please give us suggestions what we should work on next.

[Digital Ocean Spaces](https://developers.digitalocean.com/documentation/spaces/?utm_medium=email&utm_source=local&utm_campaign=ObjectStorageEA), is a S3 API-compatible storage service that sounds very good for Discourse, since so many Discourse instances run o Digital Ocean

---

<div class="post-metadata">

### Author: ![kajatiger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kajatiger/32/74692_2.png) [@kajatiger](https://meta.discourse.org/u/kajatiger)
#### Post date: [September 19, 2017, 9:43am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/30 "2017-09-19T09:43:39Z")

</div>

I was already thinking that, but in order to make a test account, I have to use my credit card details and they don’t accept a test card, so I got freaked out. But in general it is a good idea!

---

<div class="post-metadata">

### Author: ![mmiada](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mmiada/32/78441_2.png) [@mmiada](https://meta.discourse.org/u/mmiada)
#### Post date: [September 22, 2017, 12:23pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/31 "2017-09-22T12:23:51Z")

</div>

great, but how can i set this up?

thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 22, 2017, 5:21pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/32 "2017-09-22T17:21:01Z")

</div>

It looks to me like to be able to use it you’ll need to add a bit of code to the S3 pull-down that selects the region, right?

---

<div class="post-metadata">

### Author: ![Jay\_Patel](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@Jay\_Patel](https://meta.discourse.org/u/Jay_Patel)
#### Post date: [December 25, 2017, 7:27am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/33 "2017-12-25T07:27:45Z")

</div>

I have setup for The discourse-sync-to-googledrive just as shown here [GitHub - berlindiamonds/discourse-sync-to-googledrive: discourse backups in google drive · GitHub](https://github.com/berlindiamonds/discourse-sync-to-googledrive) but somehow no activity of backup to Google drive is seen for a month or so. Also no other errors showing up in log.

Thanks,  
Jay

---

<div class="post-metadata">

### Author: ![Jay\_Patel](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@Jay\_Patel](https://meta.discourse.org/u/Jay_Patel)
#### Post date: [January 17, 2018, 7:27am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/34 "2018-01-17T07:27:52Z")

</div>

for Google drive backup i can see “admin/plugins/discourse-sync-to-googledrive/downloader” backups but where can i download them? when clicked on download button it does nothing.. but on Google developer console i see 21 request being made.

---

<div class="post-metadata">

### Author: ![Timelord](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timelord](https://meta.discourse.org/u/Timelord)
#### Post date: [February 15, 2018, 11:44pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/35 "2018-02-15T23:44:46Z")

</div>

@kajatiger interesting one here. Installed, it and it is sorta working. Backup file is created in Dropbox, however each backup is only 58 bytes.

Any idea what could be going on?

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/1/313131f9603ed53c08591d3b724ded1a271be0f8.png)

---

<div class="post-metadata">

### Author: ![Jay91](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jay91/32/135181_2.png) [@Jay91](https://meta.discourse.org/u/Jay91)
#### Post date: [March 26, 2018, 6:25pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/36 "2018-03-26T18:25:13Z")

</div>

Please help with this problem in the post below:

> [@Discourse google drive Backup plugin](https://meta.discourse.org/t/discourse-google-drive-backup-plugin/82434):
>
> Hello friends, one day i found here a plugin the allows backups to google drive but now i cant find it, can you help me and add the link for me here ? also a question about the plugin ability: in wordpress vaultpress backups everything, when you lose the entire website you can bring it back in one click, can this plugin do the same. in the other word can you restore the database, users, posts, style and even the media file ? can i bring back the entire website in one click ? Thanks in ada…

---

<div class="post-metadata">

### Author: ![kajatiger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kajatiger/32/74692_2.png) [@kajatiger](https://meta.discourse.org/u/kajatiger)
#### Post date: [March 27, 2018, 7:44am UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/37 "2018-03-27T07:44:34Z")

</div>

Here is the link:

> **[GitHub - berlindiamonds/discourse-sync-to-googledrive: discourse backups in google drive](https://github.com/berlindiamonds/discourse-sync-to-googledrive)**
>
> discourse backups in google drive

---

<div class="post-metadata">

### Author: ![Jay91](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jay91/32/135181_2.png) [@Jay91](https://meta.discourse.org/u/Jay91)
#### Post date: [March 28, 2018, 6:13pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/38 "2018-03-28T18:13:04Z")

</div>

Sorry i was facing a problem with the plugin and i missed to share the link to the post

Please see the post below:

> [@Discourse google drive Backup plugin](https://meta.discourse.org/t/discourse-google-drive-backup-plugin/82434/5):
>
> Dear Sir, I finished everything according to the instruction see the pictures of the backups on google drive from my admin panel but as i said i cant find the backup files in the google drive storage. also when i downloaded the backup files these showing on the picture am getting them directly from my server not from google drive. please advise.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [April 4, 2018, 4:10pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/39 "2018-04-04T16:10:06Z")

</div>

I am using the plugin to backup to dropbox:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/a/aaa5a6b6950e99c81e3452895399c8a33076de33.png)

I just discovered that my backups don’t seem to be stored on dropbox but locally on the server:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/1/01aba849402f3a82cf0dc12343debea1bb70312c.png)

What I see on my dropbox account are just some very small (most of them are just 48 Bytes) tar.gz files:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/4/f4f4d29b966fbd2d93def2cb7bc176bac7315ec8.png)

Nothing in the logs. What might be going wrong here?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 4, 2018, 7:51pm UTC](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018/40 "2018-04-04T19:51:20Z")

</div>

It sounds the same as this:

> [@Discourse google drive Backup plugin](https://meta.discourse.org/t/discourse-google-drive-backup-plugin/82434/5):
>
> Dear Sir, I finished everything according to the instruction see the pictures of the backups on google drive from my admin panel but as i said i cant find the backup files in the google drive storage. also when i downloaded the backup files these showing on the picture am getting them directly from my server not from google drive. please advise.

[Previous page](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018.md?page=1)

[Next page](https://meta.discourse.org/t/synchronizer-base-for-any-backup-provider/68018.md?page=3)
