Skip to the content
Documentation

exp:clusterize

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Move var files into the database cluster storage (-u moves them back)

Usage

./console exp:clusterize [options]
php bin/php/clusterize.php [options]

Help

The output of ./console help exp:clusterize (the script run with --help), without the standard options:

Usage: bin/php/clusterize.php [OPTION]...
Exponential (un)clusterize
Script for moving var_dir files from filesystem to database and vice versa

./bin/php/clusterize.php


Options:
  -u                   Unclusterize
  --skip-binary-files  Skip copying binary files
  --skip-media-files   Skip copying media files
  --skip-images        Skip copying images
  -n                   Do not wait

Options

Option Value Description
-u - Unclusterize
--skip-binary-files - Skip copying binary files
--skip-media-files - Skip copying media files
--skip-images - Skip copying images
-r - Remove files after copying
-n - Do not wait

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/clusterize.php, kernel/private/classes/commands/clusterize.php

See also

Generated example: exp:clusterize

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.