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 :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Command line operations [message #161169] Sat, 21 November 2009 07:57
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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.

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

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

Current Time: Sun Nov 24 14:16:58 GMT 2024

Total time taken to generate the page: 0.02809 seconds