Topic awaiting preservation: Database backups |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: under the bed |
posted 03-21-2004 00:26
Something I haven't had to worry about really, and have no idea where to start looking - |
Maniac (V) Inmate From: out of a sleepy funk |
posted 03-21-2004 02:09 |
Maniac (V) Inmate From: under the bed |
posted 03-21-2004 03:40
quote:
|
Maniac (V) Inmate From: out of a sleepy funk |
posted 03-21-2004 04:13
I see your host is running Linux, so if you have shell access you're set. Stolen from my host's knowledgebase: quote:
code: 23,53 * * * * lynx -dump [url=http://yourdomain.com/mysql_dump_script.php]http://yourdomain.com/mysql_dump_script.php[/url]
|
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 03-21-2004 13:56
note that the php version usually only works if safe mode isn't turned on and you can extend the timeout.(*) |
Maniac (V) Inmate From: under the bed |
posted 03-21-2004 17:00
Thanks guys - that gives me plenty to work with =) |
Maniac (V) Inmate From: out of a sleepy funk |
posted 03-21-2004 19:46
thanks TP! I recommended the php script based on my success with using cron to fire php scripts that cache news feeds, I've never actually used it to backup a DB. Your suggestion got me to looking into doing it with shell scripting and I think I might be able to dump DBs, name them sequentially, gzip them, mail them to me, whatever and etc, excellent! |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 03-21-2004 20:13
just remember: mysqldump can also dump all of your dbs into a dumb, though you'll have to look up the switch for that yourself. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 03-22-2004 12:59 |