How do I securely transfer my database to FYI to review?

Plan: Available: All plans 

Users: Not Available: All users, User Group Permissions Available: FYI Admins

Practice Management Source: Available: All sources

FYI Support may request your practice to upload a database snapshot when investigating issues with data synced via the FYI Practice Sync Desktop App or during a document migration for database systems.

This process uses SSH key authentication and SFTP to securely transfer the requested database snapshot to FYI.

These steps must only be completed by a practice’s IT team or another person responsible for managing a practice’s database and network access. The FYI Support Team cannot complete these steps on behalf of a practice.

Important Note: This process must only be followed when requested by the FYI Support Team.

Before you Begin

Before you begin, you must have the following:

  • Access to the running Windows operating system. This will be used to upload the database snapshot.
  • Permission to generate and store an SSH key on that computer. This should be discussed with IT before proceeding.
  • Permission to make outbound connections using port 22. This should be discussed with IT before proceeding.
  • A written email request from FYI Support to complete the database upload.

Step 1 - Generate an SSH key

The SSH key is used to verify your computer when connecting to the secure server and consists of a private key and a public key. 

Generate the key on the same computer that will be used to upload the database snapshot. 

  1. Open Windows PowerShell
    Important: Windows PowerShell ISE or the x86 version cannot be used for this step.
  2. Run the following command, replacing "the-growth-partners" with your practice name:

    ssh-keygen -t ed25519 -C "the-growth-partners"
     
  3. When prompted to enter the file in which to save the key, press Enter to accept the default location.
  4. When prompted to enter a passphrase, enter a secure passphrase and store it safely.

The keys are typically saved in "C:\Users\YourName\.ssh\". The file ending in .pub is the public key to send to FYI Support.

Important: Do not send the file without the .pub extension to the FYI Support Team. This is your private key and must remain secure.

Step 2 - Send the public key to FYI Support

The FYI Support Team will use your public key to set up secure access for your computer. Only send the public key with the .pub extension.

  1. Locate the "id_ed25519.pub" file in the directory from Step 1. This is typically located in "C:\Users\YourName\.ssh\".  
  2. Send the ".pub" file to FYI Support with the following information:
    • Advise the name of the person and/or computer associated with the key, for example, "John Smith - SQLServer".

After the FYI Support Team receives and processes the public key, the SFTP server address and username will be provided.

Important: Do not send the file without the .pub extension to the FYI Support Team. This is your private key and must remain secure.

Step 3 - Connect with Cyberduck

After the FYI Support team confirms that your public key has been processed, the server address and username will be provided to create theSFTP connection in Cyberduck.

Cyberduck is an SFTP client available for Windows and can be downloaded here.

  1. Open Cyberduck.
  2. Click Open Connection in the toolbar.
  3. Choose SFTP (SSH File Transfer Protocol) from the drop-down.
  4. Enter the Server provided by FYI Support.
  5. Port: Do not change the Port number from 22.
  6. Enter the username provided by FYI Support.
  7. From SSH Private Key, select the private key file: "~/.ssh/id_ed25519"
  8. Leave the Password field blank.
  9. Click Connect.

Note: When connecting for the first time, Cyberduck will ask you to verify the server fingerprint.

Step 4 - Save the Connection (Optional)

Saving the connection as a bookmark stores the server details in Cyberduck so you can reconnect without entering them again. This step is optional:

  1. Select Bookmark, then New Bookmark.
  2. Enter a descriptive name, for example, "FYI SFTP Upload".
  3. Save the bookmark.

Note: To reconnect, double-click the bookmark.

Step 5 - Upload the Database Snapshot

Once connected, transfer the requested database snapshot to the upload folder provided for your practice. 

Important: Large files can take some time to transfer. Ensure you prevent your computer from entering sleep mode and do not close Cyberduck.

  1. Upload the database snapshot using one of the following methods:
    • Drag and drop the file into the Cyberduck window, or
    • Select File, then Upload, and browse to the file.
  2. Keep Cyberduck open and prevent the computer from entering sleep mode while the upload is in progress.
  3. Confirm that the transfer has completed in the Transfers window.
  4. Notify the FYI Support Team that the upload is complete.

The file will then be processed, and the team will be in contact with any further details.

Troubleshooting

Review the relevant troubleshooting steps below based on the errors received. If the issue continues, contact the FYI Support Team and include the complete error message displayed in Cyberduck.

“Authentication failed” or “Permission denied”

The public key may not have been added to your SFTP account.

Solution

  1. Confirm that FYI Support received the complete public key.
  2. Ask FYI Support to confirm that the public key has been processed and associated with your account.
  3. Try connecting again.
“Identity file not accessible” or “No such file or directory”

Cyberduck cannot locate the private key file.

Solution

  1. Check the path selected in SSH Private Key.
  2. Confirm that the selected file is the private key and does not have the .pub extension.
  3. Select the correct private key file and try connecting again.
A passphrase is requested

A passphrase was set when the SSH key was generated.

Solution

  1. Enter the passphrase created when generating the SSH key.
  2. Contact your practice’s IT team if the passphrase is unavailable.
The connection times out

Your network or firewall may be blocking outbound connections on port 22.

Solution

  1. Ask your practice’s IT team to confirm that outbound connections on port 22 are allowed.
  2. Ask your practice’s IT team to allow the server address provided by FYI Support, where required.
  3. Try connecting again.
Was this article helpful?
0 out of 0 found this helpful

Stay Up-To-Date

  • Events

    We host a range of product demos, training webinars, workshops and more.

  • Service Status

    Check for updates on the FYI Platform

  • What's New

    Round-up of new features, fixes, and other important announcements.