{"id":150351,"date":"2021-11-28T20:03:53","date_gmt":"2021-11-28T20:03:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/b2-sync\/"},"modified":"2021-12-05T03:47:44","modified_gmt":"2021-12-05T03:47:44","slug":"b2-sync","status":"publish","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/b2-sync\/","author":20116769,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"5.8.13","requires":"5.7.0","requires_php":"7.2","requires_plugins":"","header_name":"b2-sync","header_author":"Wasseem Khayrattee","header_description":"A WordPress plugin to sync assets files from wp-content\/uploads onto a Backblaze B2 bucket","assets_banners_color":"f9f9f9","last_updated":"2021-12-05 03:47:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/wkhayrattee\/b2-sync","header_author_uri":"https:\/\/github.com\/wkhayrattee\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1230,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wkhayrattee","date":"2021-11-30 07:56:56"},"1.1.0":{"tag":"1.1.0","author":"wkhayrattee","date":"2021-12-04 08:14:46"},"1.2.0":{"tag":"1.2.0","author":"wkhayrattee","date":"2021-12-05 03:47:44"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2636564,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2636564,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2636564,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2636564,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2636564,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-01.png":{"filename":"screenshot-01.png","revision":2636564,"resolution":"1","location":"assets","locale":""},"screenshot-02.png":{"filename":"screenshot-02.png","revision":2639396,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The admin settings page for configuring the parameters &amp; credentials for your backblaza b2 bucket","2":"The admin message log screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[205445,205446,151,1558],"plugin_category":[59],"plugin_contributors":[205240],"plugin_business_model":[],"class_list":["post-150351","plugin","type-plugin","status-publish","hentry","plugin_tags-backblaze","plugin_tags-backblaze-b2","plugin_tags-backup","plugin_tags-sync","plugin_category-utilities-and-tools","plugin_contributors-wkhayrattee","plugin_committers-wkhayrattee"],"banners":{"banner":"https:\/\/ps.w.org\/b2-sync\/assets\/banner-772x250.png?rev=2636564","banner_2x":"https:\/\/ps.w.org\/b2-sync\/assets\/banner-1544x500.png?rev=2636564","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/b2-sync\/assets\/icon.svg?rev=2636564","icon":"https:\/\/ps.w.org\/b2-sync\/assets\/icon.svg?rev=2636564","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/b2-sync\/assets\/screenshot-01.png?rev=2636564","caption":"The admin settings page for configuring the parameters &amp; credentials for your backblaza b2 bucket"},{"src":"https:\/\/ps.w.org\/b2-sync\/assets\/screenshot-02.png?rev=2639396","caption":"The admin message log screen"}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to sync your wp-content\/uploads folder onto your backblaze b2 bucket.<\/p>\n\n<p>It will also automatically sync all your media whenever you:\n- create a new post or page and add a new media\n- edit an existing post or page to add or update a media file<\/p>\n\n<p>NOTE:\nIt will not get triggered if you upload a media on the media library page.\nFortunately, 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.<\/p>\n\n<h3>REQUIREMENTS<\/h3>\n\n<p>This plugin relies and assumes that you have <em>rclone<\/em> installed on your server.\nRefer to this guide on how to install rclone: <a href=\"https:\/\/rclone.org\/downloads\/\">https:\/\/rclone.org\/downloads\/<\/a><\/p>\n\n<h3>TODO in next phase<\/h3>\n\n<ul>\n<li>Identify an appropriate <strong>hook<\/strong> when a media is uploaded via the <strong><em>WordPress Media Library<\/em><\/strong> so that we can trigger the sync for this action as well<\/li>\n<li>Tell the sync process to ignore certain type of files<\/li>\n<li>The log file messages are not pretty - create a custom approach for that instead of relying on <code>monolog\/monolog<\/code><\/li>\n<li>(DONE) Show a real-time verbose mode of the sync when triggering the sync manual using the action button?<\/li>\n<\/ul>\n\n<h3>Contributing<\/h3>\n\n<p>The best way to contribute to the development of this plugin is by participating on the GitHub project:<\/p>\n\n<p><a href=\"https:\/\/github.com\/wkhayrattee\/b2-sync\">https:\/\/github.com\/wkhayrattee\/b2-sync<\/a><\/p>\n\n<p>There are many ways you can contribute:<\/p>\n\n<ul>\n<li>Raise an issue if you found one<\/li>\n<li>Create\/send us a Pull Request with your bug fixes and\/or new features<\/li>\n<li>Provide us with your feedback and\/or suggestions for any improvement or enhancement<\/li>\n<li>Translation - this is an area we are yet to do<\/li>\n<\/ul>\n\n<h3>Attributions<\/h3>\n\n<ul>\n<li><strong>Storyset<\/strong> for the illustrations<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>1) Install &amp; activate the plugin<\/p>\n\n<p>2) Fill in your Backblaze B2 Bucket credentials on the admin page \"B2-Sync\" menu<\/p>\n\n<!--section=changelog-->\n<h4>1.2.0 (December 5, 2021)<\/h4>\n\n<ul>\n<li>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<\/li>\n<li>Enhancement: display all lines in the log henceforth so that user can see what is happening from start to end<\/li>\n<\/ul>\n\n<h4>1.1.0 (December 4, 2021)<\/h4>\n\n<ul>\n<li>New Feature: see real-time output on the log screen<\/li>\n<li>Enhancement: Allow the system to check if a sync process is already running so tha we prevent triggering any duplicate sync process<\/li>\n<\/ul>\n\n<h4>1.0.0 (November 28, 2021)<\/h4>\n\n<ul>\n<li>Initial release onto WordPress.org plugin repo with the initial code from phase 1 of this plugin<\/li>\n<\/ul>\n\n<h4>0.1.0 (November 20, 2021)<\/h4>\n\n<ul>\n<li>Initial commit of working code for the benefit of everyone who needs this plugin<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin for Backblaze b2 cloud to sync assets files from wp-content\/uploads onto a Backblaze B2 bucket","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/150351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=150351"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wkhayrattee"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=150351"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=150351"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=150351"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=150351"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=150351"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=150351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}