cdc

What's the best way to back up your website?

I've just been tarring up the directory and downloading it to my home PC. Then I back up the database through

php

 MyAdmin Export and save that to my home PC as well.

Is there a better way that I'm missing?

thedarkness

I use "mysqldump -A" to copy the database then "tar czvf backup.tgz /var/www/html/*" or whatever so pretty much the same.

Cheers,
td

perkiset

I cron the tar.gz ing of my sites, but I have a master/slave relationship between my production database and a backup

mac

 hine offsite. A cron job halts the slave, then backs IT up, then restarts the slave - so my production database is never offline and my backup is copisetic. Because of this arrangement I also have a backup that is always right up to date.

/p

nutballs

get a server that has free backup space Applause

1and1

but yea, the way your doing it works. if its too slow, and you have multiple servers, you can backup 1 server to another, and vice versa. the likelyhood of 2 servers blowing up at the same time is close to 0.

thedarkness

quote author=perkiset link=topic=160.msg913#msg913 date=1178289084

my backup is copisetic


Sorry to hear that, hope you get better soon  Applause  Applause

Cheers,
td


Perkiset's Place Home   Politics @ Perkiset's