cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dynatrace-migration to create a migration archive - Can we create this archive directly to new server?

abari
Newcomer

Please review the following word document for understanding our concern.

command-for-archive-file.docx

3 REPLIES 3

shane_korbel
Dynatrace Pro
Dynatrace Pro

You can create the file and upload it to the new server at the same time, in this case you would run the command on the old server and specify the new server in the path -targetArchiveDir "<ARCHIVE_DIR>". Note is not recommended to do the migration directly (to skip creating the file and putting the old configuration to the new configruation). The migration tool output will auto generate a file that ends in .dtma

Depending on permissions it may just be easier to copy the output to the new host.
scp -3 user@server1:/path/to/file user@server2:/path/to/file

I am unsure of the rest of the contents of that word document but the migration guide can be found here.

BabarQayyum
Leader


Hello Anis,


As @Shane K. already mentioned about the recommended way to migrate.


There is no harm to archive on your old server and then copy that achieve anywhere on your new server and use the following command to migrate.

java -jar dynatrace-migration.jar -migration -sourceArchive "<ARCHIVE_DIR>/<MIGRATION_ARCHIVE>" -targetDTHome "<DT_HOME_NEW>"
Here are some usage examples beyond the basic one- or two-step procedures in Upgrade and Migration:

https://community.dynatrace.com/community/display/...

Regards,

Babar

Thanks Shane and Baber for your kind advices.