PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 03-25-2004, 08:55 PM   #1
Mindrot
Awaiting Email
 
Join Date: Mar 2004
Location: I live in the USA
Posts: 2
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
Mindrot is offline   Reply With Quote
Old 03-25-2004, 10:07 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing variables through crons CrazyPhil Coding & Tutorials 0 05-13-2007 08:43 AM
Questions jamkel How-to Forum 0 12-14-2005 07:59 AM
A few questions Dave A How-to Forum 1 08-20-2004 03:33 AM
Not troubleshootings just questions phoenix How-to Forum 0 05-04-2004 11:30 PM
PHP Questions Charter Coding & Tutorials 0 11-25-2003 07:36 PM


All times are GMT -8. The time now is 07:04 AM.


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