{"id":12269,"date":"2011-02-23T18:55:42","date_gmt":"2011-02-23T18:55:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/op-archive\/"},"modified":"2011-02-25T02:35:42","modified_gmt":"2011-02-25T02:35:42","slug":"op-archive","status":"closed","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/op-archive\/","author":7648049,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.0","stable_tag":"0.1.0","tested":"3.0.5","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"OrangePants Archive","header_author":"Derek Downey","header_description":"","assets_banners_color":"","last_updated":"2011-02-25 02:35:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/op-archive\/","header_author_uri":"http:\/\/orange-pants.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":910,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.0.2":"<p>Version 0.0.2 fixes a bug in how the sql file was generated. It now properly escapes quotations and newlines.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.0.2","0.1.0"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1444122","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1444122","resolution":"1","location":"plugin"}},"screenshots":{"1":"Screenshot of the OP-Archive tool panel listing existing archives.","2":"Screenshot of the generation process."}},"plugin_section":[],"plugin_tags":[151],"plugin_category":[59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-12269","plugin","type-plugin","status-closed","hentry","plugin_tags-backup","plugin_category-utilities-and-tools","plugin_committers-dtest"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/op-archive.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/op-archive\/trunk\/screenshot-1.png?rev=1444122","caption":"Screenshot of the OP-Archive tool panel listing existing archives."},{"src":"https:\/\/ps.w.org\/op-archive\/trunk\/screenshot-2.png?rev=1444122","caption":"Screenshot of the generation process."}],"raw_content":"<!--section=description-->\n<p>It's a one-click process to generate a backup of your wordpress files and wordpress database. Go to the tools menu to find the OP-Archive admin panel and click <code>BACKUP NOW<\/code> button.<\/p>\n <p>Now you have access to a safe backup of your wordpress site. The OP Archive panel gives easy access to your archives, so you can download them to your local machine before doing any major updates to wordpress core or other plugins\/themes.<\/p>\n <p>Note: OP-Archive relies on the <code>exec<\/code> command for creating the compressed file. If you cannot use that, or do not have access to the 'tar' command on your server, compression won't work at this time. SQL generation will still work.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>op_archive<\/code> compressed file to the <code>\/wp-content\/plugins<\/code> directory<\/li>\n<li>Unpack the <code>op_archive<\/code> file.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>OP Archive panel located under tools menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Can I use this plugin?<\/h4>\n <p>Short answer: Yes.<\/p>\n <p>Long answer: For SQL backup of the database, any users should be able to use this plugin. For sitefiles, the plugin calls 'exec' on the 'tar' command. This means that if you're on linux, have php configured to allow 'exec' commands, and have a working 'tar' command in the \/usr\/bin directory, you're in good shape. If none of those apply to you, then site-file archives will not work for you.<\/p>\n <p>Also, the code is mostly geared for PHP 5.0+.<\/p>\n <p>Plans are in place to bring compatibility to other platforms (not rely on 'exec'). Also, 4.3+ compatibility is a goal. The author just isn't 100% sure what all needs to change since the functionality revolves around php classes.<\/p>\n <h4>Where are my archives saved?<\/h4>\n <p>OP Archive creates a folder 'op-archives' in your <code>wp-content\/uploads<\/code> folder. Both the compressed file and the database sql file will be located in this directory.<\/p>\n <h4>What tables are included in the .sql file?<\/h4>\n <p>For now, OP-Archive only dumps tables that begin with the wordpress prefix, as defined by <code>$wpdb-&gt;prefix<\/code>. There are plans to allow the dump of any tables inside your wordpress database.<\/p>\n <h4>How is the .sql file generated?<\/h4>\n <p>Currently, the file is generated by looping through the rows in each <code>$wpdb-&gt;prefix<\/code> table. The file will create appropriate <code>DROP TABLE<\/code> and <code>CREATE TABLE<\/code>\nblocks.<\/p>\n <p>There is a plan to be able to use the 'mysqldump' command if available on your system.<\/p>\n <h4>What format is the compressed file?<\/h4>\n <p>OP Archive currently only creates a '.tar.gz' file. There are plans to be able to choose your flavor of compressed file.<\/p>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n <ul>\n<li>added new member variables '_archiveDirectory', '_archiveUrl', and mutator 'setArchiveDirectory' to cache the location of the archive, instead of generating it each time accessor is called<\/li>\n<li>Added listing of existing archives<\/li>\n<li>Added basic styles to listing and generation of archives<\/li>\n<\/ul>\n <h4>0.0.2<\/h4>\n <ul>\n<li>BUG FIX: sql generated is now properly escaped<\/li>\n<\/ul>\n <h4>0.0.1<\/h4>\n <ul>\n<li>Created plugin structure.<\/li>\n<li>Created basic admin panel.<\/li>\n<li>Implemented basic local archive directory under '\/wp-content\/plugins\/op_archive\/archives\/' directory<\/li>\n<li>Implemented tarball compression of the current wordpress directory and move of tarball to archive directory.<\/li>\n<\/ul>","raw_excerpt":"Rest easy knowing you have an up-to-date backup of your wordpress blog files and database with the OP-Archive plugin!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12269"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dtest"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12269"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12269"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12269"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12269"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12269"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}