You can't: prometheus does not have any way to back-fill historical data.
Have a look at VictoriaMetrics instead. It can run as a simple single process like Prometheus, and supports the same prometheus/PromQL query API, but has facilities for bulk loading historical data in various formats.