PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   2 how-to questions backups, and Crons (http://www.phpdig.net/forum/showthread.php?t=723)

Mindrot 03-25-2004 08:55 PM

2 how-to questions backups, and Crons
 
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 thread.

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


All times are GMT -8. The time now is 03:23 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.