The methods for creating a mirror are well described at https://wiki.ubuntu.com/Mirrors -- If you want to just have the entire mirror, follow the link under https://wiki.ubuntu.com/Mirrors#Country_mirror_requirements to https://wiki.ubuntu.com/Mirrors/Scripts to find the recommended method for a complete mirror.
The methods for creating a mirror are well described at https:/ /wiki.ubuntu. com/Mirrors -- If you want to just have the entire mirror, follow the link under https:/ /wiki.ubuntu. com/Mirrors# Country_ mirror_ requirements to https:/ /wiki.ubuntu. com/Mirrors/ Scripts to find the recommended method for a complete mirror.