Skip to main content

Migrating files between machine learning workbenches

This process covers how to migrate files from an existing or source machine learning workbench (MLWB) to a new version of the workbench. Migrating an existing MLWB to a new workbench allows you to take advantage of the upgraded functionality in the newer workbenches. Existing workbenches cannot be upgraded to the newer versions, so migrating is the easiest way to get your files into a newer workbench.

Create a new archive

  1. Open the terminal in the source machine learning workbench by going to File > New > Terminal or clicking the terminal icon in the launcher.

  2. In the terminal, enter the following to create an archive:

    tar -czf migration_archive.tar.gz file1 file2 folder1/ 

    Replace file1 file2 folder1/ with the names of the actual files and directories you want to migrate.

    Note

    To list multiple files or folders, separate each file or folder name with a space.

  3. Press Enter when done to create the archive file.

  4. Locate the archive file in the file explorer in the left sidebar. If you do not see the new file, click the Refresh icon at the top.

  5. Right-click on the archive file and select "Download". The migration_archive.tar.gz.html file is downloaded.

  6. Open the download file.

  7. In the Security Checkpoint window, select the security checkbox and then click Download file.

  8. Go back to the machine learning workbench and right-click on the file file to download again.

    The migration_archive.tar.gz file is now available on your local machine.

Upload archive to the new machine learning workbench

  1. Log in to the new machine learning workbench.

  2. Upload the tar.gz file by dragging-and-dropping it from the file explorer or clicking the Upload button.

  3. To extract the archive into the new workbench, open a new terminal and run the following extraction command:

    tar -xzf migration_archive.tar.gz

    The files from the archive will be extracted to their original file and folder structures.

Troubleshooting the migration

  • If the file explorer does not show your new files, click the Refresh button.

  • Check your available space before compressing or extracting large archives.