Replies: 1 comment
-
UPDATE: 30/12/22
under the
So a created a new database
I had to create the new role or the following command would kick errors complaining the
Everything seemed to work and got no errors from I then shut down the container (
I then did I then pulled the container up with I'm a bit lost now. I thought that uploading postgres with the working database and copying over the Any thoughts? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've been using Paperless for a few years now and I'm really please with my workflow and this great piece of software. I have 1.5.0 installed on my Debian 11 server bare metal with Postgres as main DB. Data/media is stored on /mnt/share/paperless on the same machines. The time has come to wipe out the server and more to something more appropriate for may day to day usage model but before doing so I need to migrate services off this server. One is paperless that I want to move to a VM where I have successfully installed the Docker versions of Paperless 1.5.0.
There is a media folder in /var/lib/docker/volumes/paperless_media for the VM. I suppose a simple rsync between the bare metal media folder to the VM media folder will sort out the migration of the data. Given my poor understanding of Docker, I'm also struggling to understand how I migrate the database. I know how to dump postgress but how do I get it into the VM container that is running postgress (BTW, I downloaded the correct yml file) so that I can upload the database?
I did the following:
This suggests to me that the
docker compose pull
I did, actually pulled a redis and postgress image too from the Docker hub. So Paperless-ng container must be connecting to the postgress container somehow.Any help on this please?
Once I get this step done, is that all that would be necessary for the migration?
Beta Was this translation helpful? Give feedback.
All reactions