PDA

View Full Version : 2 how-to questions backups, and Crons


Mindrot
03-25-2004, 08:55 PM
ok Im starting to get teh handle of this. The dig site I have has Now over 2 million indexed entries and almost 100,000 keywords on file.. although it seems like Im not getting anything else in life acomplished other than spidering....

Now I have two delemas.

1. how to back up the engine,

2. I have heard mention a few times about running a cron job to spider and update lists of urls. I just never seen any specifics.

I have a cron tasker, asks me what command to run and when, it also has an advanced unix button to, but experience has taught me if it says advanced and I know nothing about it I dont click it.

Any help would be greatly appricated...

Also, Charter.. on the comemrcial version you sell that has ads on the side thats not targeted is it? I just like how you can add ads to the side like that.

thanks,

Mindrot

Charter
03-25-2004, 10:07 PM
Hi. At least one of the following shell commands should backup your database:

mysqldump -h HOST -p DATABASE > BACKUP.sql
mysqldump -h HOST -p --opt DATABASE > BACKUP.sql
mysqldump -u USER -p PASSWD DATABASE > BACKUP.sql
mysqldump -u USER -p PASSWD --opt DATABASE > BACKUP.sql

You can also gzip the backup like so:

mysqldump -h HOST -p DATABASE | gzip > BACKUP.sql.gz

Otherwise, maybe use phpMyAdmin to make a backup.

As for cron jobs, there is a tutorial in this (http://www.phpdig.net/showthread.php?threadid=323) thread.

The ads showing in the commercial script are not targted; they are just HTML examples of ads.