How can i copy files from the ubuntu server (24.04) to a usb drive, then use those copied files and put it in the new install of ubuntu server?

OS Name/Version: Ubuntu server (24.04)

Product Name/Version: Ubuntu 24.04.2 LTS

Problem Description: Currently, my ethernet port isnt working and networkd-wait-online.service is holding on me, i cant access the internet to no luck

If you're sharing console output, logs, or commands you have run, please make sure to use code tags 
(3x backticks for blocks, 1x backtick for a single line) to help make posts readable. This also
provides syntax highlighting.

Steps to reproduce:

  • update the routers i currently have (Asus zenwifi)
  • turn off the server for maintenance
  • see that the networkd-wait-online.service is hanging and get stuck with it on every boot

Actions taken to resolve so far:
tried using netplan, “sudo netplan apply command is not found”
tried using wpa_supplicant “Status: Failed, wpa_supplicant@wlan0.conf not found” (using wlan0 as an example)
tried copying all files over to usb with no success cause i have no clue in what im doing.

Replied in Discord with the following:

You could copy the individual backup zips, or the entire ampdata folder, then restore the ampdata folder on a new install (personal preference).
You’ll find all of AMP’s files under /home/amp/.ampdata
And you can restore/migrate an AMP install following this guide:
https://discourse.cubecoders.com/t/migrating-instances-to-a-new-machine/532/8
Or if you’re just migrating a couple instances, you could follow this and adapt it a tad by adding the “new” instances to the existing instances.json:
https://discourse.cubecoders.com/t/migrate-instance-to-new-datastore/25340