Logout

Alt-N Discussion Groups > Discussions > Mdeamon transfer to new Server

 [F] Alt-N Discussion Groups  / Discussions  /

Mdeamon transfer to new Server

[Karpas, Andrius]
Andrius Karpas
Newbie
Newbie
Posts: 19
Andrius Karpas - 03:07am, Aug 16 2018

Hello it's me again
This time i want to discuss about mdeamon transfer to new server. I got to read papers i know i have to take away service i have deactivate mdeamon along with security and then to copy entire Mdeamon structure to new server to the identical location. My problem is that following those steps the downtime of the mail server will be too long as we gave around 300Gb on user folder.
Is where a way to speed it up, let say what if i copy all to new server without stopping service and deactivating software, so that i have copy on new server and those deactivations and reactivations will take a couple of min, or its not going to work and i have to proceed the proper recommended steps.
Your help is much appreciated.

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Arron.Caruth@mdaemon.com - Aug 16, 2018 7:16 am (#1 Total: 6)  

Guest User  

Photo of Author
Posts: 1

My recommendation would be to use a tool that has the ability to mirror a directory structure, such as RoboCopy, to copy the data from one server to the other. 

 

Here are the basic steps:

 

-While MDaemon is running mirror the MDaemon\Users, MDaemon\Gateways, and MDaemon\Public Folders\ directory structure to the new server.

-When you are ready to make the move, copy the rest of the MDaemon data structure to the new server.  You may want to exclude the MDaemon\Backup directory if its taking up a lot of space.

-Deactivate and shut down MDaemon on the current server  (it is important to shut down MDaemon before the next step so that files will no longer be getting changed on the server)

- Run the mirror again.  This will update any files that have been moved, deleted, added, since the last time the mirror ran. (It should run much faster this time, assuming that not much has changed since the first run of the mirror.)

- When the mirror completes run the MDaemon install on the new server and then start MDaemon.

 

I hope that helps.

--
Arron Caruth
Director of Product Development
o: 817-601-3222    e: arron.caruth@mdaemon.com

MDaemon Technologies
Simple Secure Email
Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
Sent using the MDaemon Email Server

 

From: discuss@mdaemon.com [mailto:discuss@mdaemon.com] On Behalf Of Andrius Karpas (lists-discuss@mdaemon.com)
Sent: Thursday, August 16, 2018 3:08 AM
To: discuss List Member <discuss@mdaemon.com>
Subject: [discuss] Mdeamon transfer to new Server

 

Hello it's me again
This time i want to discuss about mdeamon transfer to new server. I got to read papers i know i have to take away service i have deactivate mdeamon along with security and then to copy entire Mdeamon structure to new server to the identical location. My problem is that following those steps the downtime of the mail server will be too long as we gave around 300Gb on user folder.
Is where a way to speed it up, let say what if i copy all to new server without stopping service and deactivating software, so that i have copy on new server and those deactivations and reactivations will take a couple of min, or its not going to work and i have to proceed the proper recommended steps.
Your help is much appreciated.


View/reply at Mdeamon transfer to new Server

 
 
--DISCUSS--------------------------------------------------------------
This mailing list is for questions and discussion regarding Alt-N
products.  To unsubscribe from this mailing list send an email to
discuss-unsubscribe@mdaemon.com .
--DISCUSS--------------------------------------------------------------
 
 
-----------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
-----------------------------------------------------------------------

--DISCUSS--------------------------------------------------------------
This mailing list is for questions and discussion regarding Alt-N
products.  To unsubscribe from this mailing list send an email to
discuss-unsubscribe@mdaemon.com .
--DISCUSS--------------------------------------------------------------


-----------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
-----------------------------------------------------------------------

Replies to this message
  • Andrius Karpas (Aug 16, 2018 8:04 am)


  • Andrius Karpas - Aug 16, 2018 8:04 am (#2 Total: 6)  

     

    Photo of Author
    Andrius Karpas
    Newbie
    Newbie
    Posts: 19
    Replying to: Arron.Caruth@mdaemon.com (Aug 16, 2018 7:16 am)
    My recommendation would be to use a tool that has the ability to mirror a directory structure, such as RoboCopy,...

    Thank you kindly i'll take a look into your recommendations

    Andrius Karpas - Aug 16, 2018 8:10 am (#3 Total: 6)  

     

    Photo of Author
    Andrius Karpas
    Newbie
    Newbie
    Posts: 19
    you might have robocopy script that will mirror and monitor for the changes and will run itself to synch changes?

    Arron.Caruth@mdaemon.com - Aug 16, 2018 8:21 am (#4 Total: 6)  

    Guest User  

    Photo of Author
    Posts: 1

    I don’t have a script, but I don’t think a script is needed. 

     

    According to https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx you can do it with a command line like the following:

     

    #6 Mirror directories

    The following command will mirror the directories using Robocopy:

    Robocopy \\SourceServer\Share \\DestinationServer\Share /MIR /FFT /Z /XA:H /W:5

    Explanation of the switches used:

    • /MIR specifies that Robocopy should mirror the source directory and the destination directory. Note that this will delete files at the destination if they were deleted at the source.
    • /FFT uses fat file timing instead of NTFS. This means the granularity is a bit less precise. For across-network share operations this seems to be much more reliable - just don't rely on the file timings to be completely precise to the second.
    • /Z ensures Robocopy can resume the transfer of a large file in mid-file instead of restarting.
    • /XA:H makes Robocopy ignore hidden files, usually these will be system files that we're not interested in.
    • /W:5 reduces the wait time between failures to 5 seconds instead of the 30 second default.

     

     


    --
    Arron Caruth
    Director of Product Development
    o: 817-601-3222    e: arron.caruth@mdaemon.com

    MDaemon Technologies
    Simple Secure Email
    Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
    Sent using the MDaemon Email Server

     

    From: discuss@mdaemon.com [mailto:discuss@mdaemon.com] On Behalf Of Andrius Karpas (lists-discuss@mdaemon.com)
    Sent: Thursday, August 16, 2018 8:10 AM
    To: discuss List Member <discuss@mdaemon.com>
    Subject: [discuss] Mdeamon transfer to new Server

     

    you might have robocopy script that will mirror and monitor for the changes and will run itself to synch changes?


    View/reply at Mdeamon transfer to new Server

     
     
    --DISCUSS--------------------------------------------------------------
    This mailing list is for questions and discussion regarding Alt-N
    products.  To unsubscribe from this mailing list send an email to
    discuss-unsubscribe@mdaemon.com .
    --DISCUSS--------------------------------------------------------------
     
     
    -----------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user 
    support and discussion.  MDaemon staff members may participate in the 
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical 
    support please use the form here:
    http://www.mdaemon.com/Support/RequestSupport/
    -----------------------------------------------------------------------
    
    --DISCUSS--------------------------------------------------------------
    This mailing list is for questions and discussion regarding Alt-N
    products.  To unsubscribe from this mailing list send an email to
    discuss-unsubscribe@mdaemon.com .
    --DISCUSS--------------------------------------------------------------
    
    
    -----------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user
    support and discussion.  MDaemon staff members may participate in the
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical
    support please use the form here:
    http://www.mdaemon.com/Support/RequestSupport/
    -----------------------------------------------------------------------
    

    Andrius Karpas - Aug 16, 2018 8:27 am (#5 Total: 6)  

     

    Photo of Author
    Andrius Karpas
    Newbie
    Newbie
    Posts: 19
    Great i have those as well but i was thinking about to automate the process
    Thanks again. You are great.

    Dave Warren (apparently) - Aug 21, 2018 9:45 pm (#6 Total: 6)  

    via email  

    Photo of Author
    Dave Warren
    Novice
    Novice
    Posts: 112
    A couple (belated) notes. /Z has a huge performance impact, and MDaemon
    likely has no files big enough to matter. Re-copying a 50MB file isn't a
    big deal, resuming is more useful for files in the GB range.

    /FFT is an interesting one. It shouldn't be needed, but if it is needed
    then you might have another problem: Your timestamps are changing enough
    that MDaemon might notice and generate new POP3 UIDLs & IMAP UIDs, which
    causes all messages to appear as unread and all other flags are lost.
    The switch itself won't hurt, just that the problem it solves might have
    other side effects as well.

    If copying over a network, experiment with /MT as the overhead of small
    files is considerable. /MT:4 is a good starting point, /MT:16 is better
    if you have higher latency.

    I'd suggest starting by adding "*.msg" for the first sync since MSG
    files never change (they are only added, copied, moved or deleted),
    whereas IMAP.MRK, MESSAGES.IDX and various other files files are written
    constantly and will therefore need to be re-copied each time you re-run
    robocopy.

    Once the files are initially copied, run it again to catch up, then
    remove the *.msg parameter to include all the other content.

    When you are finally ready to do the changeover, shutdown MDaemon, run
    robocopy yet again to bring things fully up to date and proceed.



    --DISCUSS--------------------------------------------------------------
    This mailing list is for questions and discussion regarding Alt-N
    products. To unsubscribe from this mailing list send an email to
    discuss-unsubscribe@mdaemon.com .
    --DISCUSS--------------------------------------------------------------


    -----------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user
    support and discussion. MDaemon staff members may participate in the
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical
    support please use the form here:
    http://www.mdaemon.com/Support/RequestSupport/
    -----------------------------------------------------------------------






      All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



     Content:

    Read New | Search

     Guest:

    Email to Admin



    You are visiting as a Guest user.