Hi there,
can someone help my with my problem migrating a teamspeak container to another host?
The command i ran:
on the old host:
docker run --rm --volumes-from teamspeak -v $(pwd):/backup/ ubuntu tar cvf /backup/teamspeak.tar /var/ts3server
docker commit -p=false teamspeak teamspeak_export
docker save teamspeak_export | gzip > teamspeak_export.tar.gz
on the new machine:
gunzip -c teamspeak_export.tar.gz | docker load
docker volume create teamspeak
docker run --name teamspeak --restart always -p 9987:9987/udp -p 10011:10011 -e TS3SERVER_LICENSE=accept -v teamspeak:/var/ts3server/ teamspeak_export:latest
docker stop ID
docker run --rm --volumes-from teamspeak -v $(pwd):/backup ubuntu bash -c "cd /var/ts3server && tar xvf /backup/teamspeak.tar --strip 1"
But when i log into the server, all data is gone.
Can someone help or see where i make a misstake?