Файловый менеджер - Редактировать - /usr/local/man/man1/cpmigrate.1
Ðазад
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.1. .TH cpmigrate.PY "1" "April 2021" "cpmigrate.py 1.2.0" "User Commands" .SH NAME cpmigrate.py \- manual page for cpmigrate.py 1.2.0 .SH DESCRIPTION usage: cpmigrate.py [\-h] [\-H HOST] [\-p [PORT]] [\-L [LOGPATH]] .IP [\-\-bwlimit [BWLIMIT]] [\-\-skiprepair] [\-\-skipenv [{all,apacheincludes,backups,cpanel,disk,dns,easyapache3,easyapache4,firewall,memcache,mysql,nginx,postgresql,redis,softaculous} [{all,apacheincludes,backups,cpanel,disk,dns,easyapache3,easyapache4,firewall,memcache,mysql,nginx,postgresql,redis,softaculous} ...]]] [\-\-debug] [\-\-noenvconfirm] [\-\-delete] [\-\-stage [{pkg_xfer,pkg_restore,rsync_home,acct_verify}]] [\-\-load [LOAD]] [\-u USERS [USERS ...]] [\-\-resync\-databases] [\-\-resync\-homedirs] [\-\-resync\-mail] [\-\-skip\-resync\-db\-backup] .PP cPanel migration tool .PP This is meant to be ran on the destination (new) server. .PP The tool will perform the migration in stages. All environment checks will be ran first, to find out what needs to be changed. The end\-user will need to wait for the Environment confirmation dialog to show up to confirm the changes. After Environment changes are complete, the user migration stage begins. cPanel packages will be transferred and restored first for all users. Once all packages are completed, all home directories will be rsynced over. .PP Stages in order: .RS .nf \fBpkg_acct\fR \- Package up accounts. \fBpkg_xfer\fR \- Transfer account packages to this server. \fBpkg_restore\fR \- Restore account packages on this server. \fBrsync_home\fR \- Rsync home directory to this server. \fBacct_verify\fR \- Perform checks to ensure integrity of transfer. .RE .PP Choosing a stage to start on will skip all previous stages. Only do this if you know what you are doing. .PP If you want the tool to re\-check all of the domains, you can give the following arguments: .HP \fB\-\-skipenv\fR all \fB\-\-stage\fR acct_verify \fB\-\-skiprepair\fR .PP The tool will also perform a mass MySQL database check with auto\-repair on the origin server. The reason for this is due to a common issue where databases are failing to transfer due to crashed tables or other errors. .PP In the event of catastrophic migration failure, it can be resumed by providing the full path to the journal.json in the migration folder. .HP \fB\-\-load\fR /var/log/cpmigrate/migration\-##############/journal.json .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .SH OPTIONS .IP mostly optional options .TP \fB\-H\fR HOST, \fB\-\-host\fR HOST hostname of the server to migrate from .TP \fB\-p\fR [PORT], \fB\-\-port\fR [PORT] ssh port of the original server .TP \fB\-L\fR [LOGPATH], \fB\-\-logpath\fR [LOGPATH] override log path output location .TP \fB\-\-bwlimit\fR [BWLIMIT] changes the bwlimit used for rsync, default is 10000 .TP \fB\-\-skiprepair\fR skips mass mysql database check+repair .TP \fB\-\-skipenv\fR [{all,apacheincludes,backups,cpanel,disk,dns,easyapache3,easyapache4,firewall,memcache,mysql,nginx,postgresql,redis,softaculous} [{all,apacheincludes,backups,cpanel,disk,dns,easyapache3,easyapache4,firewall,memcache,mysql,nginx,postgresql,redis,softaculous} ...]] skips the given environments from being migrated .TP \fB\-\-debug\fR enables debug .TP \fB\-\-noenvconfirm\fR skips confirmation of environment changes .TP \fB\-\-delete\fR use \fB\-\-delete\fR in rsync commands (will delete emails/files not present on receiver) .TP \fB\-\-stage\fR [{pkg_xfer,pkg_restore,rsync_home,acct_verify}] declare migration stage to start on .TP \fB\-\-load\fR [LOAD] continue migration from provided journal.json .TP \fB\-u\fR USERS [USERS ...], \fB\-\-users\fR USERS [USERS ...] declare explicit users to migrate instead of all .TP \fB\-\-resync\-databases\fR resync mysql databases for specified users .TP \fB\-\-resync\-homedirs\fR resync home directories for specified users .TP \fB\-\-resync\-mail\fR resync mail for specified users .TP \fB\-\-skip\-resync\-db\-backup\fR skips local db backup if resyncing databases .SH "SEE ALSO" The full documentation for .B cpmigrate.py can be found on the git project. .IP .B .UR https://git.imhadmin.net/tier3/cpmigrate .UE
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка