Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
engineering:computer_science:windows:server:fileserver:migrate_windows_fileserver [2024/08/16 13:56] – removed - external edit (Unknown date) 127.0.0.1 | engineering:computer_science:windows:server:fileserver:migrate_windows_fileserver [2024/08/16 13:56] (current) – ↷ Page moved from refractor_computer_science:windows:server:fileserver:migrate_windows_fileserver to engineering:computer_science:windows:server:fileserver:migrate_windows_fileserver carlossousa | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Migrate Windows Fileserver using Robocopy ====== | ||
+ | |||
+ | Migrate [[: | ||
+ | |||
+ | * In your new server. | ||
+ | |||
+ | - Go to your C:\ | ||
+ | - Make a folder called " | ||
+ | - Inside " | ||
+ | - Inside " | ||
+ | |||
+ | * As filename I usually use the folder / drive I'm migrating. | ||
+ | |||
+ | - Insert the following code into the *.ps1 | ||
+ | < | ||
+ | |||
+ | $source = < | ||
+ | $destination = < | ||
+ | |||
+ | robocopy $source $destination /e /zb / | ||
+ | |||
+ | </ | ||
+ | |||
+ | **What are those switches doing?** | ||
+ | |||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | * **/ | ||
+ | |||
+ | - After the first run, run the following code to mirror just changes from the old to the new server, usually doing off-work hours. | ||
+ | |||
+ | < | ||
+ | robocopy $source $destination /e /zb / | ||
+ | |||
+ | </ | ||
+ | |||
+ | - Afterwords, don't forget to re-share the folder / drive, and change the source on the DFS. | ||
+ | |||