FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Command line operations (FUDforum 3 new feature of the day)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Command line operations [message #161169] Sat, 21 November 2009 02:57
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Some of FUDforum 3.0.0's admin control panels can be executed from the console (command line) as well as from a browser. This allows administrators to automate repetitive tasks like taking backups or performing consistency checks. Administrators that operate huge forums may also prefer to execute long running jobs (like restores) from command line to prevent possible web server time-out scenarios.

To see what options are available, run these script without any arguments. Some examples:

Backup the forum:
$ php admdump.php
Usage: php admdump.php /path/to/dump_file [compress]
 - 'compress' is optional; specify only if you want to compress the dump_file.


Restore the forum:
$ php admimport.php
Usage: php admimport.php /path/to/dump_file


Rebuild themes:
$ php admthemes.php
Usage: php admthemes.php compileall
 - specify 'compileall' to confirm execution.


Run the consistency checker:
$ php consist.php
Usage: php consist.php check|optimize
 - specify 'check' to run the consistency checker.
 - specify 'optimize' to run the SQL optimizer.


Reindex the forum:
$ php indexdb.php
Usage: php indexdb.php yes
 - specify 'yes' to confirm execution.


Compact messages:
$ php compact.php
Usage: php compact.php yes
 - specify 'yes' to confirm execution.

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: XML Feeds
Next Topic: XML Aggregation
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Oct 19 07:08:17 EDT 2017

Total time taken to generate the page: 0.00535 seconds