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.