Skip to main content
Version: 1.7.50

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]

IPs

Updates IPs for users - used on OpenPanel UI to dispaly dedicated IP addresses to user.

For all users:

opencli server-logrotate

For a simgle user:

opencli server-ips <USERNAME>