Logiclord

I believe in logic

RSS
people

Backup And Move

logoThis plugin can make all the transitions of moving a wordpress blog , creating a complete backup and restoring a previous backup very simple and smooth


Download Plugin
Support
Backup And Move Plugin



Download restore.php


  • A separate backup can be created and send to users email id as attachment.
  • User can administrate backups i.e delete , download and overwrite.
  • To restore a backup simply place .zip backup file in a directory along with restore.php and visit restore.php from browser. Provide restore.php with all required credentials and wait for plugin to restore .
  • That’s it start blogging.

P.S everything will be restored like blogs, posts, links , etc.

Walkthrough

Installation :-

1. Upload `backup_and_move` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. That’s it try creating a new backup.

Usage screenshots:-

processing

 

complete

manage

restore

restore_complete

162 Responses to “Backup And Move”

  1. Ron Childress Says:

    Your plugin allowed me to back up my test site to move to the the site. I uploaded the zip file and the restore.php file, I filled out the information, however when I click on restore, nothing happened. No error, nothing that says it was restoring. I’m using godaddy with a wordpress hosting account, anything you can do to help me?

    Thanks,
    Ron

  2. Eric Taylor Says:

    HI Gaurav — I installed your plugin but it doesn’t seem to be working right. I see two backup files in the wp-backup directory, but no restore.php file. Only and index.php file. And my plugin screen which is supposed to show my two backups shows nothing. The backup screen said I made two successful backups. And the backup files seem to be in the right directory, but, as I said, I can only see them when I ftp to the site. They don’t show up through the plugin screen. And there’s no restore.php file. What did I do wrong? Thanks, Eric Taylor, administrator

  3. admin Says:

    i think there must have been some problem in creating a backup table . can u post some screen shot and if possible confirm whether a table for your prefix_backup_and_move exist in your database.

  4. admin Says:

    Did you got a screen like last screen shot on this page ?? If yes then upto which line you reached ??
    Please take note of following points :-
    1 There should be no zip file along with restore.php.
    2 In case restore process was terminated due to some reason it might have created some temporary files so please clean your directory and then try.

  5. admin Says:

    do you have multiple sites in same folder e.g
    in you blog directory say wordpress you have some folders like
    wordpress/abc
    wordpress/def

    which are of no concern with your blog and what is the size of you wordpress directory ??

  6. Dave Says:

    The restore.php is just a form and has no script.

    Where should I download it from?

  7. Guy Says:

    Hi,

    I too am having some problems getting this to work.

    I created a backup on my production server, then downloaded the zip and placed it in the /wp-backups directory. I then downloaded restore.php to my local server to wp-admin.

    I run restore.php and get the screen asking for my database and url info. I complete this and press the restore button. All fields are cleared immediately but nothing else is displayed on the screen.

    Your plugin could be incredibly useful to me, I really hope that I can get it to work.

    I am running WP 3.05 and MAMP locally. I have no other sites on the local machine.

  8. Guy Says:

    Oops, I said that I placed restore.php into wp-admin but I have actually put it in the same folder as the backup is in (wp-backups). It does not work.

  9. admin Says:

    Download link is now updated. Please try again.

  10. admin Says:

    I have made some bug fixes. Please try with updated plugin. For restoring you need to place restore.php and yourbackup.zip in a directory (no specific directory).

  11. sam Says:

    Hi Gaurav..

    This is something off-topic reply…FYI, I love playing chess too..always on Internet Chess Club or FICS. used to be on playchess.com too.. btw… this is very useful plugin one should install. Thanks ..see you again.

  12. Paul Says:

    Oooohh man, this plugin would be so handy if it worked properly… I tested this plugin on 3 sites, and I can say that it works for 90%.. The main problem I had, was it did not recognize any of my “Theme Settings” so the footer, header etc reverted back to “default” settings as did “homepage” widget settings..
    Another issue is that for some reason my sites got covered in  there is one in front of almost every other word… (I think it might be a blank space).. And another issue is that is does not migrate certain “plugin” settings.. for example it did not handle NextGen very well.

    I would like to thank Gaurav, he is very close to making what could well be the most useful WP plugin out there.

    Good Luck

  13. admin Says:

    Can u please elaborate on
    did not recognize any of my œTheme Settings
    and
    my sites got covered in Â

    your contribution can help my development a lot

  14. Paul Says:

    I sent you an email with links to an original site, and the migrated backup site.. so you can see what I mean.

    Thanks again and good luck

  15. Adam Says:

    Hi!

    From downloaded file – http://wordpress.org/extend/plugins/backup-and-move/ – is missing the restore.php

    Adam

  16. admin Says:

    http://plugins.svn.wordpress.org/backup-and-move/tags/restore.php

  17. Adam Says:

    Thanks!

  18. Doug Says:

    What a GREAT PLUGIN!, however, I am experiencing issues with getting it to run properly.
    I give each backup a unique name however I am running a “wildcard” Blog. an example is my website (Blog) is named “http://petsrfamilyto.com”, with other blogs attached. “http://petsrfamilyto.com/catlovers”, “http://petsrfamilyto.com/fishlovers”, “http://petsrfamilyto.com/birdlovers”, “http://petsrfamilyto.com/reptilelovers”, and soon “http://petsrfamilyto.com/horselovers”.
    I submit the backup job and it runs and tells me it is completed, but, nothing shows up when I go to Manage Backups. I see “No previous backup found.”. I have run two backups already with no results.
    Help?
    thank you

  19. admin Says:

    Can you check whether a file or folder with unique name of backup exists in wp-backups directory of your wordpress installation.

    if yes then please tell me the size of
    1 entire wordpress directory
    2 wp-backups
    3 backup file or folder

  20. Doug Says:

    Thanks for the quick reply. I went out to the file system for all of my blogs and found the “WP-Backups” folder it was in the “www” folder and there were two backups that I ran. they are both a bit over 40 mb.
    The entire size of my WP directory is about 244 mb and it appears that the backups worked as they should. I’ll take a look tomorrow and let you know.
    I do have another question however, I am looking for a plug-in to password my blogs with a password page that all visitors need to pass through to access the blog(s).
    The purpose of this is to attempt to keep out the spammers, etc.
    By chance do you have a suggestion or recommendation for something along those lines? I’ve been checking the plugins page, but, nothing that I saw there seemed to do what I need it to.
    I’m just looking for an idea at this time.
    Thank you again for your assistance with the backup question.

    Have a GREAT DAY!
    Doug

  21. admin Says:

    If you want to protect your blog against comment spammer use akismet and for protecting a particular post please refer to http://en.support.wordpress.com/posts/post-visibility/

  22. Andrea Says:

    Looks like a great application. Here is my problem

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /users5/domains/texashillcountryrealestateforsale.com/web/ccr/wp-content/plugins/backup-and-move/core/backup_and_move_zip.php on line 4

    I have my site updated to latest WP. Thank you for your help!/
    Andrea

  23. admin Says:

    May i know about your sever details like php version ?? mysql ??

  24. Scott Says:

    Awesome plugin!

    I’m not complaining here….. just thought you’d like to know my experience.

    I ran a backup job and plugin said it was successful.

    I tried to find the backup in the ‘Manage’ section and it wasn’t there. i went through the whole process again…..still nothing showing up in Manage section.

    Through ftp I found that the plugin created a directory called wp-backups and I found the backup folder in this directory.

    I did not try to restore yet.

    This domain was an “add-on” domain in a cpanel configuration. The backup file was over 450mb. Also, the instructions say to move the backup zip to the needed directory. Welll. the backup was not in a zip. Should I zip it?

    Also, when running the restore.php I see it asks for database info. I know this is a stupid question …. but if I have it others will. Should that database info be a new database or are you asking questions regarding the original database?

    Thanks again…… I’ll do a screencast video for you once everything is working!

    Scott

  25. admin Says:

    @scott you are helping me improve this plugin by sharing your experience so feel free to comment on this page :)

    you don’t need to create a zip file yourself. If a folder is present in that directory then there was a premature termination of backup routine. Popular reasons :-
    1 maximum execution time limit was crossed on your server (very very rare).
    2 Database permission – have you provided ALL privileges to you db user
    3 File system permissions ( rare)

    Database info should be something like this :-
    A already existing database
    A already existing db user with all privileges on given db.
    Password for that user.

    I think database permission may be an issue in your case.

  26. Peter Says:

    Thanks for this plugin ! . You saved my job.

  27. skangehes Says:

    Nice site

  28. Yandex Says:

    Работа для меня

  29. Ron Says:

    Hi There:

    I get the same error as Scott above …

    “Manage Backups

    Welcome to the Backup and Move Plugin. You can download and delete, already created backups from here.
    No previous backup found.”

    I ran a backup job and plugin said it was successful.

    I tried to find the backup in the ‘Manage’ section and it wasn’t there.

    Through ftp I found that the plugin created a directory called wp-backups and I found the backup folder in this directory.

    Plug-in came back with “successful”, so I’m thinking it’s not a server time out. There is already an existing and running database, which has a user with all privileges. What should I be looking for re file permissions??

    Thanks for all you great work!!

    Ron

  30. admin Says:

    @Ron

    Since backup zip file was not created there must have been some interruption. As i have already mention i think this error is due to execution time out. I am working on this issue. I will remove this issue in next bug fix probably after 10th april.

    May i know the size of your WordPress directory ??

  31. Elody Says:

    I just installed your plugin on my local website (EasyPhp-5.3.4.0) and managed to create a backup zip file successfully.
    I uploaded this archive and restore.php to my production site via FTP and launched the restoring by filling the form with the correct infos (my local website URL is like http://127.0.0.1:8888/DomainName) but a fatal error occured :
    “Fatal error: Cannot instantiate non-existent class: ziparchive in /homez.20/MyDomainName/www/Blog/restore.php on line 208″

    I checked my database info, I hope there is something you can do to help me ..? I can provide you with more information if needed.
    THX for help

  32. prabhu Says:

    Hi,

    While trying to install i got this error “Fatal error: Call to undefined function home_url() in D:\xampp\htdocs\hve\wp-content\plugins\backup-and-move\backup_and_move.php on line 148″.

    thanking you,

  33. admin Says:

    @prabhu

    Please make sure you are using WordPress 3.0 or above.

  34. Ron Says:

    Hi Gaurav:

    My WP Directory is approx 250 meg

    Ron

  35. Elody Says:

    I’m using WordPress 3.1 and ma WP directory < 50Mo.
    Thx for help :)

  36. eugeny Says:

    Try to restore my site:
    -put restore.php and my zip to www,
    -browsed restore.php
    -typed all info into fields, pressed “resore”
    but have no success. have messages and error:

    restoring please wait it may take few minutes …..
    Extracting files.
    Error !! Backup file is tempered

    What is wrong?
    thanks

  37. Coy Says:

    Ohh very much thanks admin.

  38. admin Says:

    @eugeny

    You have renamed the zip file.

    @elody

    “Your php installation is missing Zip Archive class (http://php.net/manual/en/class.ziparchive.php)”

    probably Easy PHP do not have this class.

  39. Bob Says:

    I ran your restore script and got no errors but when I try to nave to the site I get “Error establishing database connection” message.

    What did I do wrong?

  40. admin Says:

    @Bob
    Are you sure there was no errors ?
    Can you send me wp-config.php in your wp directory.

  41. Jimmy Says:

    This looks very useful.

    However I had the same issue as bob.

    “Error establishing a database connection”

    I checked the config file and it didn’t have the same password I put in during the restore script. I then changed the password in the config file to the correct one but the error presisits:

    Error establishing a database connection

  42. admin Says:

    @Jimmy
    I have fixed the bug reported by Bob. Please reinstall plugin and everything will be fine.

  43. Elody Says:

    Oups Sorry I just didn’t get your message about the Zip Archive …
    Well I tried to find some information about this class, and it is included and supported in EasyPhp 5.3.4 and Php 5.3.4 I’m using, and also my server production (by including a .htaccess file with the “SetEnv PHP_VER 5_TEST” code to activate Php5 and make the ZipArchive class works).
    When I try to restore my backup after filling the form, a new blank page is loaded and I just got my backup unzipped on my FTP server.
    When connecting to my new URL, I’m asked to run a new WordPress installation (wp-admin/install.php), certainly because my database is empty (Yes I doubled checked my DB infos and tried 3 times, last with your new plugin).
    What’s wrong now ? Maybe something about the database connection not working properly ..?
    THX to help

  44. admin Says:

    @Elody

    “When connecting to my new URL, I’m asked to run a new WordPress installation” It means that wp-config.php is not being saved properly.

    I think your using old restore.php. Please download and use new restore.php.

    In case problem persist we may try and get it fixed via IRC chat and screen sharing.

  45. Elody Says:

    I used the latest version of restore.php, downloaded yesterday april the 15th … but I re-downloaded it an houre ago to make another attempt, but still the same wordpress reinstallation process at the end.
    By the way, I have the following information written in my .htaccess file after unzipping :
    “# BEGIN WordPress

    RewriteEngine On
    RewriteBase /ElodesignV3/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /ElodesignV3/index.php [L]

    # END WordPress”

    I checked my new wp-config.php and the NEW infos are in place, whereas my database is still empty.

    I realize that after clicking the Restore button I never get the last screenshot “restore-complete.jpg” while the restoring is beeing processed … I only get an empty page loaded after 10 sec and the file unzipped on my FTP.
    I don’t know why I miss the database import step :-/

    I might need some direct help on this one, thanks for your time …

  46. Barb Says:

    Hi- I just moved my wordpress site successfully using this plug in, but how do I change the database name and log in information to reflect the new domain? When I go to admin it reverts back to the old information so I am not editing the new files?

  47. admin Says:

    @barb you are suppose to provide these details while restoring in restore.php

  48. Rick Says:

    Works for me. A scheduled backup feature might be a good addition.

    Thanks for great plugin!

  49. Willy Says:

    Hello, is this plugin with current WP 3.1.2 version?

    Thanks.

  50. Joe Says:

    Hello, Nice plugin, Thank you.

    However, I’m having the same or simalar problem as Scott, I suspect.

    I have several different server shared hosting accounts(different class IP), domain names, and wordpress installations and your plugin.

    The first installation run of your plugin created the correct .zip file, with .sql db backup inside. 7MB – 10MB

    However, now whenever I create a backup,(have tried several times since to create a backup, and on different servers) I get a backup copy created, but it is a complete folder/copy/directory of the entire site with NO mysql db .sql file located inside. Just all the site folders and files. NO .ZIP file. It is then very time consuming to delete this up to 10MB directory via ftp.

    “Abnormal termination of backup creation procedure without .zip file. Reported by Scott”

    In my case I don’t think it is “Abnormal termination” because I tried, without success, several times and on different servers.

    Why wasn’t the .sql file created and left in the backup directory? – even though it wasn’t zipped.

    My sites are under 10MB in size.

    I hope you can figure this one out because this can be a great plugin if it can reliably backup, “AND” zip a complete WP site.

    Cheers

  51. Ivan Ferrer Says:

    Excelent plugin. Easy and fast!!
    Thank you very much.

  52. jawaad Says:

    Hello,

    Nice plugin! Is there any feature for upload with ftp?
    So, we can send our backup files to other hosting.
    Thank you.

  53. John Pham Says:

    Hi- I would like to restore this site:
    http://loanrebateinc.com/

    to a subdomain:
    http://sandiego.mortgage.loanrebateinc.com/

    Is this possible?

    Thank you,
    -John

  54. mike Says:

    Do your plugin transfer all of a blogs wordpress plugins including their setting and any customizations?

  55. Rob Says:

    I just used your Backup and Move WordPress plugin after attempting various other methods to migrate my site to a new host. I have to say THANK YOU for a painless solution to move a WordPress site. It grabbed the pictures, themes and JS files!

    Thank you again for a jam up plugin!

  56. togrok Says:

    Hi Gaurav,

    This looks like a very nice plugin. Will this work with 3.1.3? Will an update be coming out soon?

    Thanks,

    togrok

  57. admin Says:

    @togrok
    sorry but i have not tested it on 3.1.3. Do watch out for an update next month.

    @John
    yes, it is possible please refer to screenshots for help.

    @Rob
    your welcome :)

  58. Dave Says:

    I need a hand to put the required credentials in the fields of the restore.php page. eg
    - what is the Database host?
    - what is the Database user? is the MySQL user eg. worldofm_wrdp1 that was created when I set up wordpress?
    - what is Database name? Is it the zip file that is in the directory with the restore.php file?
    - what is the Database password? is it the password I used when I set up WordPress (as I didn’t set up another passwords)

    If someone can clarify this, so the instructions where clearer, I believe this would be a valuable tool for lots of people.

  59. admin Says:

    @Dave

    For sample values open your wp-config.php in any text editor

    Database host is the server which hosts your MySQL database
    Database user is the database user which have all required permission for your database
    worldofm_wrdp1 seems to be database name but please confirm with your host
    Database password is the password for above mentioned database user.

  60. Steve Says:

    Hi, I’ve just taken my backup to a new server. When I try to restore, i get the message “Error !! a previous installation found”.

  61. togrok Says:

    Hello,

    Just to let you know this worked perfectly on 3.12, then updated to 3.14. You have to make the database and put the restore.php and backup in the root of the new site.

    Thank you very much!

    Bob

  62. admin Says:

    @steve you might have a previous copy of wp in same directory. Try deleting wp-config.php.

  63. victoria Says:

    Hey,

    Just ran this – made a new db and did all your instructions. It was successful, but aside from my homepage, all my links point to the old blog location rather than having made new ones.

    To see what I mean, the move was to divinacommunications.com/test
    the original was divinacommunications.com/Playground

    All of the actual blog content is being linked to the original – go to the first link and see what i mean. How do I fix that?

  64. Paul Says:

    Hello

    Installed the plugin, getting the “No previous backup found.” There was no wp-backups dir (would have been under www) can you advise as to how to debug?

    Thanks!

    Paul

  65. adel Says:

    when i run a backup it
    says it was succesfull but when i click on manage backups it says there
    is no backup, in the ftp logs under wp-backups there is a folder with
    the backup name. what can i do to resolve

  66. nikita Says:

    I couldnt get this to work. I had an error … so I am trying to install it to another account. Should I not install wordpress platform first? Or should I just the restore.php and backup.zip in a black hosting account. Also is the DB host, username,password from the one I want to restore it to … or from the old site?

  67. admin Says:

    @vistoria
    I couldn’t get you

    @nikita
    no just place restore.php and backup .zip file in same directory and follow instructions.

    @Paul
    wp-backup dir will be created when you enable the plugin. If you are getting any error in doing so please report it.

  68. Maverick Says:

    Like to say a big thank you for the purpose of this plugin along with the constant effort of coding it to perfection.

    As what some have reflected before, i am encountering the same situation: backup went on fine. No backup found. No backup folder found as well.

    My spec in short:
    PHP Version: 5.3.2
    MySQL Version: 5.0.92-community
    WordPress: 3.2
    WordPress Installtion: no via CPanel but ftp and manual install
    Active Plugins: Ultimate tag cloud widget, wp-dropcaps and Backup and Move Plugin

    I cannot figure out what went wrong. No backup folder created when activated. No error message when installing and activating your plugin.

    Please help…

  69. Rich Webster Says:

    This seems like a great tool, unfortunately my host (DreamHost) also doesn’t seem to have compiled PHP with the ZipArchive class… maybe a security measure? Anyway, it would be great to just have an override where we can expand the archive however necessary and just run the configuration part.

  70. JesterRaiin Says:

    Just tried your plugin.
    Man, it’s awesome. First of it’s kind that do the job without any error.
    THANK YOU !!!

    btw : link to ‘restore.php’ should be better exposed i guess. ;)

  71. neil Says:

    Everything seems to work until I try to restore the backup O get an error message saying ‘Error !! Backup file is tempered’

    have re-uploaded several times, I am now trying to unzip it manually

    thanks for any help

  72. Abhijit Raj Says:

    Hey there! Always thought you had a lot of potential but didn’t know you were using it to this extent. Got to know about this only today, and loved it!
    Keep up and keep inspiring! :)

  73. Lindsey Says:

    Help- I put in the correct folder, went to activate, and got this error message:
    Fatal error: Call to undefined function home_url() in /home/content/73/5726673/html/wp-content/plugins/backup-and-move/backup_and_move.php on line 144

    And worse… now that’s appearing every time I click ANYTHING. I can’t even uninstall.

  74. Andrea Says:

    Submitted on 2011/08/09 at 11:16 PM

    I know this is a still in beta release, but I’d like to add a suggestion (or feature request, if you prefer).

    - Add an environments table (e.g. Development, Test, pre-production, production, etc.) that contains FTP and DB credentials and everything needed to install a package (Website name, folders, …)
    - To the packages manager, add a feature that automatically uploads a package to one of the environments above
    - Add an additional feature that, once packages are automatically uploaded, they’re also automatically installed

    This would made even easier migration from development to test environments and, with another additional option that allows to not upload the DB, it would be easier to migrate from test, to (pre)production.

    Besides that: thank you very much for this really awesome plugin!

  75. David Says:

    Hello..

    I have a site.. medlem.dhb-pics.dk..

    Where i have installed your plugin..

    I want to move it all from that site to eventfotograf.dk

    But i get this error.. And i have not renamed the backup at all.

    restoring please wait it may take few minutes …..

    Extracting files.

    Error !! Backup file is tempered


    Can you please help me.

  76. Paul Says:

    Thank you for this plugin, I find it extremely useful.

    I am restoring a copy of my production site into a dev environment and I am getting the following error now.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11079334 bytes) in /home/cblived2/public_html/restore.php on line 238

    On my production site I have allocated 256MB of memory to PHP by editing the WP_Config file. So my assumption is that I am running out of memory restoring the site and that somehow I need to figure out how to allocate more memory to PHP, but doing so outside of the wp-config file as the restore process is in effect writing it out. I have root access on the dev server if the change needs to occur at the Apache, I am just not sure where to begin or if I am even thinking about this problem correctly.

    Thanks,
    Paul

  77. Ryan K Says:

    What I don’t get is how I get to the screen shown above where I imput my last domain and the new domain and login…? How do I get to that step? I have backed up the site and downloaded it to my hd and also downloaded the Restore text file.

    The steps above show restore screens, but nothing saying how you got those screens up. Do you need to type in the new domain.com/restore.php or something like that? Or is there another script that I should be running?

    Please help by sending me an email.

    Thanks!

  78. Paul Says:

    Resolved the issue and wanted to follow up:

    1.) Default installations of php has too little memory allocated to it. In some instances only 8MB.

    2.) There are generally a handful of ways to increase the memory, most of the time folks describe it at the app level. So for WP that is in the WP-Config file. However, if you have a fatal error during a restore you can see the problem as the wp-config file has yet to be written. Solution, allocate more memory at the web server level.

    3.) Create a test.php file with phpinfo() method in it to see how much memory you have allocated by default. My setup had 32M and I was allocating 256M in the wp-config file.

    4.) Steps to edit the php.ini file when you have root access.

    - Log in as root.
    - Type the following and hit enter: vi /usr/local/lib/php.ini
    - Now that you’re in vi, hit escape a few times then type the following and hit enter: /memory_limit
    - That basically does a “find” in the file you’re editing.
    - Press the “i” key. This puts you in “insert” mode, which basically allows you to edit things.
    - Change the current setting (probably 8M) to 128M.
    - Press escape, then type :wq and hit enter. That says “save the file and quit.”

    5.) Restart apache
    6.) Visit the test.php file to see that your new allocation of memory has actually been configured
    7.) Try restore process all over again (don’t forget to delete any DB tables created and all files accept restore.php and yourback.zip in your restore destination.

  79. Terry-Anne Says:

    Thanks for this plugin. I appreciate all your hard work. I found the backup zip in the wp-backups folder and added the restore.php file that you provided in the link above. When I open it in the browser, it shows all the code overlapping the proper restore screen. All that’s in the backup folder is the restore.php and backup.zip. Help!

  80. katrina Says:

    I moved a wordpress site successfully with this plugin but have an error now in my admin area saying the the uploads folder is not writable. I then set the settings to 755 but still not working.
    Thanks,

  81. katrina Says:

    further to last post – just fixed it thanks, it was pointing to the old sites upload folder. set this to the default upload dirrectory under the settings/media page in admin and all good.

  82. katrina Says:

    On first site worked great, loved it. On second site (three column theme) it doesn’t show any widgets or contents that should be in the third column.
    Thanks,

  83. togrok Says:

    Hello,

    I tried to restore to a different domain name, but all the menu links are still at the old url. The http://www.ark26.com is the new domain name. Is there a way to do this? This is an awesome plugin otherwise!

    Thanks,

    Bob

  84. mark Says:

    is this possible to use to install to a MAMP wordpress installation….

    M

  85. admin Says:

    @mark
    yes it will work with mamp.

    @togrok
    I have made a primitive procedure for that as well. Suppose your previous domain was http://www.abc.com and your new domain is http://www.ark26.com.
    I have made an assumption that all you plugin will have a link like http://www.abc.com so in

    Previous url fill abc.com
    New url fill ark26.com

    @Terry-Anne
    Use backup .zip file and restore only when you need to restore. Place both of them in same directory and follow instruction.

    @paul
    Thanks :)

    @Ryan K
    You need to visit that restore.php in a browser suppose you have placed it in htdocs in xampp visit http://localhost/restore.php

    @David
    Can you mail/post wp-config.php in .zip file ?

    @Andrea
    Thanks for suggestions most of them are on my list for next release.

    @Lindsey
    Please make sure that you are using WP 3.0 or higher.

    @Abhijit Raj
    Thanks dude :)

    @neil
    Have you renamed .zip file ??

    @JesterRaiin
    Thanks :) …. I am planning to move this project to code.google.com

    @Rich Webster
    I will try to improve on this in next release.
    Thanks

    @Maverick
    I think runtime of php script is too low for your backup size. Plz try and follow what paul has done.

  86. Paul Says:

    Hi all, wanted to ask if anyone is having a similar problem or ideas on how to resolve.

    1.) I run the backup and I get the message that the backup has been completed.
    2.) When I visit the Manage Backups section no backups are there and when I view the wp-backups folder as root or the account owner I do not see anything in the folder.

    I believe that I am having a permission issue but I am not sure where to begin, here are a few lines from the log file.

    I have replaced the IP numbers in this log file with xxx:

    [Thu Aug 18 11:42:26 2011] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘DirectoryIterator::__construct(/home/testsite/public_html/wp-backups/08182011) [directoryiterator.--construct]: failed to open dir: No such file or directory’ in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_zip.php:27\nStack trace:\n#0 /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_zip.php(27): DirectoryIterator->__construct(‘/home/testsite/…’)\n#1 /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_zip.php(19): backup_and_move_ZipFolder->zip(’08182011′)\n#2 /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_core.php(19): backup_and_move_ZipFolder->__construct(‘/home/testsite/…’, ‘/home/testsite/…’, ‘.svn’)\n#3 [internal function]: backup_and_move_create(”)\n#4 /home/testsite/public_html/wp-includes/plugin.php(405): call_user_func_array(‘backup_and_move…’, Array)\n#5 /home/livec in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_zip.php on line 27, referer: http://abc.com/wp-admin/admin.php?page=backup_and_move-plugin
    [Thu Aug 18 11:42:26 2011] [error] [client xxx.xxx.xxx.xxx] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_functions.php on line 46, referer: http://abc.com/wp-admin/admin.php?page=backup_and_move-plugin
    [Thu Aug 18 11:42:26 2011] [error] [client xxx.xxx.xxx.xxx] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_functions.php on line 45, referer: http://abc.com/wp-admin/admin.php?page=backup_and_move-plugin
    [Thu Aug 18 11:42:26 2011] [error] [client xxx.xxx.xxx.xxx] PHP Warning: fopen(/home/testsite/public_html/wp-backups/08182011/database.sql) [function.fopen]: failed to open stream: No such file or directory in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_functions.php on line 44, referer: http://abc.com/wp-admin/admin.php?page=backup_and_move-plugin
    [Thu Aug 18 11:42:23 2011] [error] [client xxx.xxx.xxx.xxx] PHP Warning: copy(/home/testsite/public_html/wp-backups/08182011/wp-config.php) [function.copy]: failed to open stream: No such file or directory in /home/testsite/public_html/wp-content/plugins/backup-and-move/core/backup_and_move_functions.php on line 70, referer: http://abc.com/wp-admin/admin.php?page=backup_and_move-plugin

    Thoughts?

  87. admin Says:

    @Paul

    Yes, I think php scripts do not have sufficient permission to read and archive your wp installation. Try with 721 and 755 (if required).

  88. Paul Says:

    After changing the permissions on the scripts to 755 and running the backup process, I am sent to a blank page wp-admin/admin.php?backup_name=08222011&submit=Backup and the backup does not show up in manage backup. Prior to changing the permissions the backup would return the message “backup is complete.” Perhaps it is the permission of other files?

  89. admin Says:

    @Paul

    I think your wp-backups directory is not writable. Try to change permission manually. Let me know if this works. I have made some bug fixes in restore.php and plugin so please use updated version.

  90. Paul Says:

    Lastly, here are the last few lines of error log.

    [Mon Aug 22 11:35:44 2011] [error] [client xx.xx.xx.xx] (13)Permission denied: file permissions deny server access: /home/test/public_html/wp-content/plugins/backup-and-move/js/delete.js, referer: http://test.com/wp-admin/admin.php?page=backup_and_move_previous
    [Mon Aug 22 11:35:41 2011] [error] [client xx.xx.xx.xx] (13)Permission denied: file permissions deny server access: /home/test/public_html/wp-content/plugins/backup-and-move/js/delete.js, referer: http://test.com/wp-admin/admin.php?page=backup_and_move-plugin

    @admin – set the wp-backup folder to 777 and still the same error.

  91. admin Says:

    @Paul

    I doubt you managed to change permissions in .js and wp-backups directory.

    Can you join #logiclord on freenode IRC ?
    If yes please do so i will directly help you out.

  92. Paul Says:

    @admin, I am in #logiclord using the nick ruprick.

  93. Mihai Says:

    I’ve got an error after trying to restore a website:

    Fatal error: Class ‘ZipArchive’ not found in /home/wordpress/public_html/restore.php on line 207

    What is the problem on line 207 ?!

  94. admin Says:

    @Mihai
    Your host doesn’t have ZipArchive Class in PHP. Contact technical staff of your host.

  95. Matt Caswell Says:

    I”m frustrated beyond belief.. this appears to be a great plug-in, but I can’t get it to work. I’m using a mac and I get the file uploaded (It’s not renamed.) I named it “Backup” when I did the backup. I put restore.php in the same folder and every time it ends installation with “Error !! Backup file is tempered”

    WRONG.. I don’t touch the backup file or the name. What filename is restore.php looking for? Please help..

    Thanks,
    Matt

  96. admin Says:

    @Matt

    Name of .zip file should be same as name of directory created after extracting it.

  97. gail Says:

    hi–love your plugin, worked great on 2 sites, then just hangs at “processing” on another site. no backup. tried in ie and firefox too…reinstalled and still hangs. Not very techie, what can I try?

  98. admin Says:

    @gail
    1 What is there in you wp-backups directory ? (use ftp client to check that)
    2 Permission for wp-backups directory

  99. gail Says:

    Well there they are, sitting there in that file.So it is making them but says there aren’t any. Any idea why they don’t show up in WordPress? I am admin. thanks!!!

  100. Rick S Says:

    WHen I run the restore.php all I see is the php code for the web page in the browser, not the web page itself. Any thoughts?

  101. David Says:

    keep getting:

    restoring please wait it may take few minutes …..

    Extracting files.

    failed in extracting

    any ideas?

  102. admin Says:

    @David

    Please confirm that your host supports ZipArchive

  103. admin Says:

    @Rick
    You need to place that file on a server e.g. Apache. Pls refer to video Walk through.

  104. ammar Says:

    Can you please explain what do you mean by the 4 field required for the restoration, Database host, user, name, password. Thanks.

  105. admin Says:

    @ammar

    How to get these ?

    1. If you are restoring on a new server/shifting something use online support of you hosting provider
    2. If you are restoring on same server, you can find all these details in wp-config.php

    Database host : Name of the host on which your new database will be hosted (mostly localhost )
    user : username for your database
    name : name of the database which will be user for restoring
    password : password for above user on your database

  106. Michele Says:

    I successfully restored to a new location but now when I try to login to wp-admin I get redirected to the original location. How can I fix this? Thanks!

  107. Dan Says:

    I was having the problem where it would say everything was successful, and the server files were copied to the backup directory, but no .zip was created, and no database file was made. I found the problem to be that there was a large table (50k rows of data) in the same database as my WP tables, which it was trying to back up and caused a memory error.

    I fixed it by adding a condition to the backup_and_move_backup_tables function:

    foreach($tables as $table) {

    //ONLY BACKUP THIS SITE’S TABLES!
    if(strpos($table, $wpdb->base_prefix) !== false){

    This ensures that only the table in the current site are backed up, and avoided my memory issue. Hope this helps someone!

  108. admin Says:

    @Michele

    Follow the video tutorial. Just go to permalinks and save your settings as shown.

  109. Kat Says:

    After back up says it’s completed, it still doesn’t show on WP, Manage Backup :(

  110. Sarah Says:

    Hi, I’ve successfully used this for moving 2 sites to new hosting but I’m having trouble with a third. I install and activate the plugin, which says it’s successful but when I try to make a backup, the status says: Please wait. It may take a few minutes. processing … and ermm… that’s all that happens. It won’t make a backup :( I’ve tried deleting and re-installing. Deactivating all the other plugins. Logging in as a different user. Nothing works! Any ideas what’s wrong? Thanks for you help :)

  111. Sarah Says:

    Hi, I’ve successfully used this for moving 2 sites to new hosting but I’m having trouble with a third. I install and activate the plugin, which says it’s successful but when I try to make a backup, the status says: Please wait. It may take a few minutes. processing … and ermm… that’s all that happens. It won’t make a backup :( I’ve tried deleting and re-installing. Deactivating all the other plugins. Logging in as a different user. Nothing works! Any ideas what’s wrong? Thanks for you help :)

  112. Sarah Says:

    Aha! I’ve just managed to get it to work – maybe it was my crappy internet connection! Delete my comment :) and thank you for all your hard work on this amazing plugin!!!!

  113. Cata Says:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘flashmob_wp2′@’localhost’ (using password: YES) in /home/flashmob/public_html/restore.php on line 193
    Error !! Could not connect to databse: Access denied for user ‘flashmob_wp2′@’localhost’ (using password: YES)

    please help me, i’m half dead…i get that error above

  114. Cata Says:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘flashmob_new’@'localhost’ (using password: YES) in /home/flashmob/public_html/restore.php on line 193
    Error !! Could not connect to databse: Access denied for user ‘flashmob_new’@'localhost’ (using password: YES)

    this is the message i’m gettin after creating a new DB with a new user,

    pls help

  115. Cata Says:

    it worked, i’m a dumb moron, ignore me

  116. Albert Says:

    Gaurav, your plugin is very helpful for me.
    Thank you very much.
    Now backup and moving really easy for me!

  117. Wayne Says:

    Hello,
    Thanks for a great plugin. I have successfully used it many times. However, I am having trouble for the first time on a new site. I am getting the ‘No previous backup found’ message after a successful backup is reported. I find a folder under the wp-backups for my backups, but not zip file. What can i do?

  118. Cecil Says:

    Please help.

    Having an error and I’m using a Godaddy Host.

    restoring please wait it may take few minutes …..

    Extracting files.

    Fatal error: Cannot instantiate non-existent class: ziparchive in /home/content/m/o/d/modmex/html/restore.php on line 207

  119. admin Says:

    @Cecil
    Your hosting doesn’t seems to have Ziparchive class

    @Wayne, Kat and Sarah
    Can you confirm chmod value of wp-backups directory ?

  120. Tanya Peila Says:

    I THINK this worked. When I try to back up it says “Please wait. It may take a few minutes. processing …” for a LONG time.
    BUT there is a a .zip file in the wp-backups folder 41,340,760 bytes according to Filezilla.
    Did it work? I want to make sure before I update wo new WordPress version.

  121. Tanya Peila Says:

    Oops just got am email saying it was done. and it shows up in the manage backup list. SoI think I’m good

    If I can get this to move to a new site and change all the links I think this will be the BEST plugin EVER created!

  122. rick Says:

    What does this mean???
    Name of .zip file should be same as name of directory created after extracting it.

  123. admin Says:

    @rick
    There is a directory inside .zip file. Name of that directory is same as .zip file unless you manually try to rename it.

  124. Alex Says:

    Might be worth mentioning that the directory you put replace.php is the directory that all of the backup files will end up. Not the root directory (which is a common desired location). So place the restore.php in whatever directory you want your URL to be…

  125. Martin Says:

    Hi! looks like an awesome tool – just one question: is it possible to use it to liberate single blogs out of a WP multisite network? I am desperately looking for a solution to get my subdomain blogs with all settings, themes, uploaded media, etc. and convert them to single WP installs on the same subdomain… Any chance to to this with your plugin? cheers and thanks
    Martin

  126. seo Says:

    Heya! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no data backup. Do you have any solutions to protect against hackers?

  127. Cecil Says:

    hi,

    I’m receiving the same error as Cata

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘flashmob_new’@’localhost’ (using password: YES) in /home/flashmob/public_html/restore.php on line 193
    Error !! Could not connect to databse: Access denied for user ‘flashmob_new’@’localhost’ (using password: YES)
    this is the message i’m gettin after creating a new DB with a new user,

    please help

  128. Tanya Peila Says:

    I’m hoping you can help me. I have issues often with trying to backup databases. Often times it just sits there saying “Please wait. It may take a few minutes. processing …” and never creates a backup. I would LOVE LOVE LOVE to ultilize this plugin but cannot figure out why sometimes it backs up and sometimes not. Any help would be greatly appreciated! These are NOT big sites either. Very small.

  129. Tanya Peila Says:

    I should mention I do have three installtions of WordPress on my site one is in the root directory, and the other two are in seperate folders. I don’t know if that is causing an issue. I hope not.

  130. Tanya Peila Says:

    So I’m moving a backup to an exsiting site and I want to make sure I have the directions correct before I take down their site.

    I am going to run a fresh install of WP, then I place the zip file and the restore file in the root directory? And then how to do I get the restore form to come up? HELP!

  131. admin Says:

    @Tanya

    No, you don’t need to get a fresh WP installation while restoring. Just place restore.php and .zip file in a directory and visit restore.php via proper path in browser.

    I might be trying to zip complete root directory for root installation.

  132. Tanya Peila Says:

    Ok so I have the zip file and the restore file in the root directory. I went to http://www.freecakesforkidssouthsound.com/restore.php, it then asks for my FTP user name and password and then just downloads the restore.php file as a text file. No form comes up.

  133. Tanya Peila Says:

    LOL please disreguard my previous comment. When I click on my link it works!

  134. Tanya Peila Says:

    So I restored the database to http://www.freecakesforkids.com. But when you go to that site it redirectcs you back to the site I was built on?

  135. Tanya Peila Says:

    When I restored the database I entered the Host, User, Name and password from the OLD database. If in fact it was incorrect how do I find the information for the NEW database since it already overwrote the wp-config file.

  136. Tanya Peila Says:

    Ok this is what I got:
    restoring please wait it may take few minutes …..

    Extracting files.
    failed in extracting
    Warning: file_get_contents(wp-config.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/content/00/8944000/html/restore.php on line 223

    Creating configuration files.

    Warning: file_get_contents(database.sql) [function.file-get-contents]: failed to open stream: No such file or directory in /home/content/00/8944000/html/restore.php on line 240

    Importing database.

    Removing temporary files.

    Warning: unlink(database.sql) [function.unlink]: No such file or directory in /home/content/00/8944000/html/restore.php on line 264

    Process completed.

    Delete restore.php to complete process.

  137. admin Says:

    @Tanya
    Could you cross check whether database.sql and wp-config.php exists in .zip file.

  138. Tanya Peila Says:

    Yes there is a wp-config file and a database.sql file in the zip folder. I just uninstalled WordPress and am reinstalling. I thought it would just be easier to start from scratch. Before I do the restore again though when I enter the Host, User, Name and password should it be for the NEW site?

  139. admin Says:

    @Tanya
    yes these must be new details.

  140. Tanya Peila Says:

    Dang did not work. First I got the “already installed” error so I deleted the wp-config file.
    Then I got this:

    restoring please wait it may take few minutes …..

    Extracting files.
    failed in extracting
    Warning: file_get_contents(wp-config.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/content/00/8944000/html/restore.php on line 223

    Creating configuration files.

    Warning: file_get_contents(database.sql) [function.file-get-contents]: failed to open stream: No such file or directory in /home/content/00/8944000/html/restore.php on line 240

    Importing database.

    Removing temporary files.

    Warning: unlink(database.sql) [function.unlink]: No such file or directory in /home/content/00/8944000/html/restore.php on line 264

    Process completed.

    Delete restore.php to complete process.

  141. Tony Says:

    Hi, I’m trying to move this site to another server. I was able to run the script successfully but after complete only 2 empty php files were created and a directory for the backup.

    wp-config.php and wp-backups\index.php are created but empty. The folder wp-backups has the original zip file.

  142. jagbo Says:

    Thank you for your work on this plugin.

    I installed it and ran the backup twice. No database ever . But there were two folders under “manage databases” in wp-backup. Neither one was zipped. SO I zipped one and brought it over to my new server. I followed your instructions and placed the zip file and restore.php in a folder and ran the restore script.

    what I received was the following error.

    restoring please wait it may take few minutes …..
    Extracting files.
    Error !! Backup file is tempered manage databases

    I noticed in one of your replies above that you said the restore.php and the *.zip file should not be in the same folder.

    On your WordPress plugin page your instructions state to put the zip file and restore.php in the same folder.

    Any insight?

    Thank you

  143. admin Says:

    @Tony
    there must be a .zip file in your wp-backups directory. If this zip file is missing could you list files/directory in wp-backups

    @jagbo
    You need to put the zip file and restore.php in the same folder.

  144. Samira Says:

    Hi,

    I started the restore.php an hour ago and I am still wating for any progress:

    restoring please wait it may take few minutes …..
    Extracting files.

    The size of the zip file is 25mb.

    Any ideas?

  145. John Says:

    I’m having problems with this plugin.

    Firstly I can see zip files in my wp-backup folder but nothing is appearing in dashboard / backup move / manage backups.

    Yesterday I ran two backups as a test and received emails, today I am tring to run a final backup and not receiving any emails. I have checked SPAM.

    I cannot work out how to download the restore.php file. If I click download, it just opens a new browser with code.

    Many thanks.

  146. John Says:

    The backup & restore seems to have partially failed.

    I attempted to backup the following site which was created and changed using a template with demo data

    http://www.saffuze.com/sandbox2

    I attempted to restore it to

    http://www.saffuze.com/bqchocolate

    The plugin appears to have backed up the previous demo data and excluded some of the modifications and new pages / posts / widgets etc.

    Have I done something wrong ?

  147. admin Says:

    @John
    Save restore.php file. You might have used an old backup file. Did you interrupted restore process ?

    @Samira
    One hour is just too much for this sized backup. What was the status of you directory ? all content was extracted ? pls check via ftp.

  148. Tammera Feldkamp Says:

    Website Online Backup Review are reporting that this information is incorrect, as they got the following email from Mozy: Mozy supports

  149. Mara Says:

    I’m trying to backup my current site and have used your plugin twice before without problems. However, in the last few days I haven’t been able to see if the backups are working. In the dashboard under “manager backups” there are no files. And for the current site I don’t have access to see if there is a zip file under wp-backup.

  150. Chris Says:

    Once I got it to work, it worked perfectly. Thanks!!

  151. Khairun Says:

    Dear Sir,

    I have done the restoration and an error message appear (but I forgot to write it down). I try to re restore, this message appear “Error !! a previous installation found.”

    What should I do ?

  152. Khairun Says:

    My problem solved. I delete all file except restore.php and the zip file, did re restoration, and done.

    Thank you for the awesome plugin

  153. sabine Says:

    hi,
    backup an move fails…i get a file created called 080412.zip.V_a4n2
    and a directory called 080412 with all files inside…
    any idea?
    thanks a lot

  154. hakan Says:

    A very nice plugin, thank you. I have just a little problem. After completing the process, some characters are broken (i.e. appears “?” instead of “ı” or “ş” in Turkish language). I’m doing something wrong?

  155. Steve Says:

    I got this when trying to restore…. Error !! Backup file is tempered

  156. Ross Says:

    hi,

    i have followed your steps and have got to the final stage now where it is asking for the database information at the restore.php part. However i am unsure how to create a new database in php like you did because i think im using a newer version and the layout looks different.

    the control panel i use has already created one when i installed wordpress but im unsure how to obtain the username password and database name etc

  157. Khairun Says:

    Dear sir,
    I did back up on 16 Apr, it was successful (zip file created). But when I did backup subsequently on 22, 23 Apr, it did not finished though I waited for hours, and no zip file created.

    I did deactivate the plugin, delete it and then reinstall, and try to do backup, still no response.

    What went wrong and what should I do ?

    Thank you

  158. Vladimir Shelukhin Says:

    Thank you for this little gem.
    Backup works excellent on WP 3.3.2; interface is strikingly laconic and minimalistic, but still intuitive and usable.
    Fortunately, I have not had a chance to experience emergency restore yet! :-)
    A suggestion: why not to include a full HTML manual and restore.php right into the downloadable archive?

  159. J Wilson Says:

    Hi, I installed your plug-in and it was working fine in creating backups. For some reason it has stopped working.

    I go to run a backup and it works too quickly, it then says

    Backup created successfully

    When I go to manage backups it says

    No previous backup found.

    You can see what happens in this video

    http://screencast.com/t/zZn30e1nFD

    any help would be appreaciated

  160. J Wilson Says:

    OK more of a clue about where this backup process is failing.

    I FTP’d to the site and there IS a folder there using the backup name, there are files in that folder.

    I have no way of knowing if the backup did backup all the files or got stuck somewhere and bombed out.

    No Zip file was created

    Tried moving all of the backups out but still does not work.

    Do you have any code that will give put up labels so that as it gets past each task it can say where it was when it crashed?

  161. admin Says:

    @J Wilson
    Compare size of backup folder and your wordpress installation folder…. If you have shell access you can compare more easily

    @Vladimir
    Will surely consider that :)

    @Khairun
    Are trying to use same name as any previous backup ?

    @Ross
    For creating database please refer to http://www.youtube.com/watch?v=nBz2lG_jm-A and for passwords use wp-config.php in wordpress directory

    @steve
    Please follow steps as shown in tutorial. Most common mistakes :-
    You should not rename .zip file
    You should not have any other file or folder except restore.php and backup zip file

    @hakan
    Must be some encoding issues sorry will try and fix them :)

    @sabine
    Compare size of backup folder and your wordpress installation folder…. If you have shell access you can compare more easily

  162. sabine Says:

    090412.zip.Z8aOsF file has got exactly 30 MB
    the installation folder 61.26 MB
    thnx for reply

Leave a Reply