Articles in this section

Can Plesk Migrator delete files on the target server?

Plesk for Linux kb: technical ext: migrator

Applicable to:

  • Plesk for Linux

Question

Is it possible to remove content that doesn't exist in the source server from the destination server using Plesk Migrator?

Answer

Plesk Migrator doesn't yet have this option, but it can be voted for in its feature request page. As a workaround, the rsync (tool used to transfer data) option to delete files on the target server can be enabled manually.

Note: This doesn't apply to databases, only to virtual hosts files

  1. Connect to the target server via SSH

  2. Edit /usr/local/psa/var/modules/panel-migrator/sessions/session_id/config.ini

  3. Add the --delete option to the [GLOBAL] section:

    [GLOBAL]
    rsync-additional-args: "--delete"

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.