
![]() |
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 phpMyAdmin 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
machine 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
![]() 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 ![]() ![]() Cheers, td |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads