I want to move my local Postgresql database (preloaded with data) into my digitalocean droplet.
2 challenges I'm facing:
- the /data/base/25760 is the folder with my data, do I SCP this directly into Digital Ocean Root/home/django/django-project?
- How do I link the database to the droplet using the settings.py file? I'm getting errors: FATAL: password authentication failed for user "root"
From my search, it looks like users are not advised to load their local databases directly into their VPS, maybe I'm wrong about this. thanks very much!