migrate data to new server #319
-
Hello - Can someone help me migrate Spoolman data to a new server? What are the files/directories to copy over? Apologies if this has been discussed, didn't find anything. |
Beta Was this translation helpful? Give feedback.
Answered by
smithmarcw
Feb 20, 2024
Replies: 1 comment
-
I was able to find and migrate the data. Here is how I did it and hope it helps someone else. The following is done on the NEW server command line, of course make sure the existing server is up to migrate the DB. This assumes you used default installation directories... Good luck
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
smithmarcw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to find and migrate the data. Here is how I did it and hope it helps someone else.
The following is done on the NEW server command line, of course make sure the existing server is up to migrate the DB. This assumes you used default installation directories... Good luck
sudo systemctl stop Spoolman
cp -R ~/.local/share/spoolman/ ~/.local/share/spoolman_backup/
scp -r [user]@[old-server-ip]:~/.local/share/spoolman/ ~/.local/share/
sudo systemctl start Spoolman