• Resolved RaymondDay

    (@raymondday)


    I run my WordPress at home on a small server. I can get to it with it’s LAN IP. I set up another server and with Webmin backup the database and open it with TextPad and did a search and replace of the IP to the other IP. It works the URL stays as the same IP for both servers. So it has 2 IP’s for each one.

    I can copy and then paste the days text in the other one. But if there a way to have this auto do it? Along with the Media too that would make it a lot easier.

    It will be a nice backup if something goes wrong on one.

    -Raymond Day

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter RaymondDay

    (@raymondday)

    I backed up WordPress up with this command:

    root@ubuntu-i3:/boot# rsync -av --progress /usr/share/wordpress root@192.168.2.125:/media/256GB_as_One

    It said this:

    sent 35,561,317,765 bytes  received 233,194 bytes  9,535,206.05 bytes/sec
    total size is 35,551,744,255  speedup is 1.00

    Like I said with the data base I used Webmin. So easy to save it. Then I open that file with TextPad and did a find replace off all the http and then restored that on my other server on the 192.168.2.125 on my LAN. I can go to http://192.168.2.125/blog now and it works just like my other one now. So I love to keep it all the same as I type in my main WordPress. It be a nice backup for it.

    This would be a easy way to move WordPress to some other URL. TextPad does it fast replacing to a new URL.

    -Raymond Day

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This would be a easy way to move WordPress to some other URL. TextPad does it fast replacing to a new URL.

    Textpad doesn’t handle data serialization.

    PLEASE read http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite

    There’s a PHP script to search/replace properly.

    Thread Starter RaymondDay

    (@raymondday)

    Been testing out the copy to the other server with another IP address and it all works and nothing is pointing to the old IP that I can see.

    Did install some plug in for search/replace and I did it and the screen just went wight and stayed there. I got years of WordPress so my database is big. I guess it could not handle it.

    Seems like TextPad worked real good. Because it’s big it took it a little time to load in TextPad. Like 30 sec. I guess.

    Now if I could just auto have it copy each days post to the other server for a very nice backup.

    Right now I can do it by hand just copy and paste each day.

    -Raymond Day

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Copy of WordPress on 2 sites.’ is closed to new replies.