[wp-hackers] How do you guys back up Wordpress sites?

Marcell Tisdol marcell at tisdol.com
Wed Mar 12 17:59:11 UTC 2014


Usually shared host (hostmonster, hostgator) don't allow ssh access?

the script goes along the lines of

cd {website directory}
tar -zcvf httpdocs.tar.gz {website directory}
{do what I want :) Move to Amazon s3, another server, download}

I wrote a script last summer and published it

https://github.com/marcelltisdol/StashHouse.sh

We host all of out sites on mediatemple so it's geared more towards that
crowd. However, if you modify it to your system it should work. Lemme know
:)


On Wed, Mar 12, 2014 at 1:48 PM, Steve Litt <slitt at troubleshooters.com>wrote:

> Thanks Marcell,
>
> Do you ever do this on shared hosting where you're just another user?
>
> Thanks,
>
> SteveT
>
> Steve Litt                *  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
>
>
>
> On Wed, 12 Mar 2014 13:43:27 -0400
> Marcell Tisdol <marcell at tisdol.com> wrote:
>
> > Hey Steve,
> >
> > That is one way of doing it. I usually ssh into the server, tar the
> > directory, log into mysql, dump the database and do what I wish with
> > it...
> >
> >
> > On Wed, Mar 12, 2014 at 1:24 PM, Steve Litt
> > <slitt at troubleshooters.com>wrote:
> >
> > > Hi all,
> > >
> > > How do you guys back up Wordpress sites? Do you just back
> > > up the /var/www/blog (or whatever) and then use mysqldump to back up
> > > the Wordpress database?
> > >
> > > Would the preceding work on a server where you're just one of many
> > > users (like Bluehost, etc)? If not, how do you do it there, and how
> > > do you test the restorability of your backup?
> > >
> > > Thanks,
> > >
> > > SteveT
> > >
> > > Steve Litt                *  http://www.troubleshooters.com/
> > > Troubleshooting Training  *  Human Performance
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list