How to sync content between source and destination servers after migration?

Follow

Comments

13 comments

  • Avatar
    poh inah

     

    Hi
    Can you say, what does mean these asterisks in the string below?

    cd C:\\Program Files (x86)\\Plesk\\var\\modules\\panel-migrator\\sessions\\*****
    C:\\Program Files (x86)\\Plesk\\var\\modules\\panel-migrator\\sessions\\*****>"%plesk_dir%admin/plib/modules/panel-migrator/backend/plesk-migrator.bat" copy-content
    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    @poh inah thank you for the comment!**** - means directory name for the specific session, changed to <session_dir_name> to make the article more

    **** - means directory name for the specific migration session, changed to <session_dir_name> to make the article more informative.

    0
    Comment actions Permalink
  • Avatar
    Unknown User

    nice article

    0
    Comment actions Permalink
  • Avatar
    Baretto James

    I am currently using GS Richcopy 360 which provides real time file sync, which means you dont have to worry about the synchronization problem. Cheers, give it a shot!

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Baretto James,

    Hi, the article is dedicated to synchronization by Plesk means. GS Richcopy 360 was not tested for that purpose, therefore, we cannot recommend it.

    0
    Comment actions Permalink
  • Avatar
    Fran - HIS

    After the initial Migration, here is how to re-sync multiple subscriptions all at once with Plesk Migrator Version: 2.17

    As Plesk Server admin:


    Go to Plesk Extensions -> My Extensions -> Plesk Migrator -> Open
    Click on the current Migration IP address
    Click on "List Of Subscriptions" tab.
    Click on "Switch to advanced mode" tab.
    Select the subscription(s) to re-sync
    Click on the grey tab "Re-Sync"

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Fran - HIS
    Thank you, this would be really helpful for other Pleskians!

    0
    Comment actions Permalink
  • Avatar
    Rodrigo Marcos

    Hi!

    Lots of thanks for the article, It is very helpul!

    Is it possible to create a scheduled task to synchronize all the content daily in Linux from Scheduled Tasks?

    Could you explain how to do it please?

    Thank you again!

    0
    Comment actions Permalink
  • Avatar
    George Alibegashvili

    Hello Rodrigo,

    It is possible to use Plesk Scheduled Tasks.

    Create task in Tools & Settings > Scheduled Tasks > Add task with the commands from article.
    for example to sync content of all domains:
    cd /usr/local/psa/var/modules/panel-migrator/sessions/<session_dir_name>/ && /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator copy-content

    Note: migration session must be opened

    0
    Comment actions Permalink
  • Avatar
    Rodrigo Marcos

    Hello George,

    Thank you very much for your quick response.

    When I try to register the new task I receive the following message:

    "encrypted password is specified in the configuration option 'ssh-password' of section 'source'.
    encrypted passwords is not supported by CLI interface. Replace the encrypted password by plain one
    (also change the password type to "plain") or set up the plain password in the environment variable 'SOURCE_SSH_PASSWORD'. "

    Any idea about this?

    Thank you again.

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Rodrigo Marcos
    Check whether you have a /usr/local/psa/admin/sbin/modules/panel-migrator/config.ini file. If so, check if it has ssh-password specified as encrypted and change it to a plain one.

    0
    Comment actions Permalink
  • Avatar
    Rodrigo Marcos

    @Alisa Kasyanova 

    Thank you for your indications but I don't have any config.ini there

    Should I create it? what content should it have?

    Thanks again.

    Rodrigo

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request