Thursday, April 17, 2025

postgres restore from backup - 2 minutes

A quick note on time taken - 


rclone config

then rclone copy

rclone copy *.sql remotename2024:/home/theuser

psql -h 127.0.0.1 -U username -d databasename < dbdump-noowner.sql -W ThePassWord

This took just two minutes.

No comments:

Post a Comment