{"id":135,"date":"2008-10-13T22:13:10","date_gmt":"2008-10-13T16:43:10","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/?p=135"},"modified":"2008-10-13T22:13:10","modified_gmt":"2008-10-13T16:43:10","slug":"remote-database-backup-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2008\/10\/remote-database-backup-wordpress-plugin\/","title":{"rendered":"Remote Database Backup WordPress Plugin"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/10\/wordpress_logo-1-1.png\" alt=\"\" title=\"Wordpress Logo\" width=\"183\" height=\"145\" class=\"alignnone size-full wp-image-136 intro\" align=\"right\" \/><\/p>\n<p class=\"intro\">I have released my second WordPress Plugin &#8211; <a href=\"http:\/\/www.bin-co.com\/tools\/wordpress\/plugins\/db_backup\/\">Remote Database Backup<\/a>. Its is based on the <a href=\"http:\/\/www.ilfilosofo.com\/blog\/wp-db-backup\">WordPress Database Backup plugin<\/a>. If you are a regular wordpress user, you might be better off using WordPress Database Backup plugin instead of my version. But if you, like me, have a local server on your system and has a copy of your site on the local server as well as the online server, you will find great use for my plugin.<\/p>\n<p>My plugin is designed to make it possible to remotely create and download wordpress database backup in form of SQL dumps. You can then use these dumps to sync the local version of your site with the online version.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.bin-co.com\/tools\/wordpress\/plugins\/db_backup\/db_backup.png\" alt=\"Remote Database Backup Screenshot\" \/><\/p>\n<h2>Backuping your WordPress Database<\/h2>\n<ul>\n<li>Install Remote Database Backup Plugin in WordPress<\/li>\n<li>Login to WordPress site<\/li>\n<li>Go to the Backup Page(Manage &gt; DB Backup)<\/li>\n<li>Create a backup<\/li>\n<li>Download the backup file to your system<\/li>\n<\/ul>\n<h3>Sync With Local Server<\/h3>\n<p>And if you have a local version of your site, you can sync it with the online site using the backup file. Just follow these steps&#8230;<\/p>\n<ul>\n<li>Extract the backup file(its in the tar.gz format)<\/li>\n<li><a href=\"http:\/\/txt.binnyva.com\/2007\/03\/mysql-database-backuprestore\/\">Import it into your mysql database<\/a>.<\/li>\n<li>Make some changes to the database(like set the home url) so that wordpress works locally<\/li>\n<\/ul>\n<h2>Automation Script<\/h2>\n<p>You can do all these steps manually &#8211; or you can use the <a href=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/10\/backup.txt\">automation script<\/a> I have cooked up. You need PHP installed in your system for this to work(I assume you already have PHP if you have a local version of wordpress).<\/p>\n<p>To use the script, first install the plugin. Then download <a href=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/10\/backup.txt\">the script<\/a> and rename it to &#8216;backup.php'(the extension must be &#8216;php&#8217; instead of &#8216;txt&#8217;. Now open it in your favorite editor and change the variables to match your site. You can run it by opening a terminal\/command prompt and navigating to that folder and executing the command &#8216;php backup.php&#8217;. This will automatically make a backup and sync it with your local database.<\/p>\n<h2>Need Feedback<\/h2>\n<p>Let me know how it works for you if you are installing the plugin &#8211; its the first release &#8211; so I need some feedback.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>My second WordPress Plugin &#8211; <a href=\"http:\/\/www.bin-co.com\/tools\/wordpress\/plugins\/db_backup\/\">Remote Database Backup<\/a>. Its is based on the <a href=\"http:\/\/www.ilfilosofo.com\/blog\/wp-db-backup\">WordPress Database Backup plugin<\/a>. If you are a regular wordpress user, you might be better off using WordPress Database Backup plugin instead of my version. But if you, like me, have a local server on your system and has a copy of your site on the local server as well as the online server, you will find great use for my plugin.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,10,17,21,25,31],"tags":[52,88,210,212,237,245,304],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-blogging","category-database","category-mysql","category-php","category-scripts","category-wordpress","tag-backup","tag-database","tag-php","tag-plugin","tag-remote","tag-script","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}