Skip to content

migrate data to new server #319

Closed Answered by smithmarcw
smithmarcw asked this question in Q&A
Discussion options

You must be logged in to vote

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

  1. Install Spoolman as normal on the new server
  2. Shutdown the server
    sudo systemctl stop Spoolman
  3. back up the database directory on the new server (just in case, good practice)
    cp -R ~/.local/share/spoolman/ ~/.local/share/spoolman_backup/
  4. migrate data from old server to new server (I used scp)
    scp -r [user]@[old-server-ip]:~/.local/share/spoolman/ ~/.local/share/
  5. Restart the service
    sudo systemctl start Spoolman

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smithmarcw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant