Skip to main content
Version: 1.7.55

Server

Scripts for managing the server.

Logrotate​

Reads configuration: logrotate_enable logrotate_size_limit logrotate_retention logrotate_keep_days and configures logrotate for caddy, openpanel, syslog.

opencli server-logrotate

Migrate​

Migrates all data from this server to another.

Usage:

opencli server-migrate -h <DESTINATION_IP> --user root --password <DESTINATION_PASSWORD>

All available flags:

opencli server-migrate -h <remote_host> -u <remote_user> [--password <password>] [--exclude-home] [--exclude-logs] [--exclude-mail] [--exclude-bind] [--exclude-openpanel] [--exclude-mysql] [--exclude-stack] [--exclude-postupdate] [--exclude-users]