Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Using drop path vs copying packages during migration to new server

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 9 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      itinfrastructure_7135
      last edited by

      Hi,

      During the migration, the ProGet article says "Copy your packages to the new server. You should copy these to the exact same directory path that the old server used."

      What's the difference between the above mentioned method vs using a drop path as described by this article?

      I have both, nuget and npm packages to migrate.

      Regards,
      K>

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @itinfrastructure_7135
        last edited by

        Hi @itinfrastructure_7135 ,

        The first article refers to migrating a ProGet, including the SQL Server database. The database contains things like users, feeds, and package metadata. When that information is in the database, ProGet will expect the file to be in a specific location on disk, so that's files must be moved.

        The second article refers to importing packages into ProGet, and it's effectively uploading new packages.

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 0
        • I Offline
          itinfrastructure_7135
          last edited by

          Hi Alana,

          Thanks for yours previous explanation.

          I completed the migration of ProGet from one server to another in two stages.

          1. I set up ProGet on a new server connecting to a cloned database and moved all Nuget and NPM packages to the same location on the new server.
          2. A week later, I run a final one way sync of modified packages to the new server using a separate drop path for each package type. All packages were bulk imported and removed from the drop path so I assume it went well.

          Can you see any issues arising out of migrating this way? Do you have any advice / recommendation of what to check and watch out for?

          Should I still manually move modified packages as an extra precaution even I imported them via drop path? I already had one user reporting she couldn't find a package.

          Thanks,

          1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer
            last edited by

            Hi @itinfrastructure_7135 ,

            The easiest approach is this:

            1. Notify users of downtime
            2. Shutdown old server
            3. Migrate database, files
            4. Start the new server
            5. Edit DNS to the new server

            Using the drop-path isn't required, and that whole process probably wouldn't take too long.

            There are ways to reduce downtime, but that mostly involves using something like "robocopy" or another tool to mirror the package files across servers. The database is relatively small to backup/restore.

            Otherwise it sounds like you're on the right track!

            Cheers,
            Alana

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation