docker-mc-backup
docker-mc-backup copied to clipboard
How to restore the server to a given state from a backup (tar)?
Maybe a stupid question, but how do I restore the server from backups that I have?
Using the restore method of the chosen backup method, stage the contents into a volume/directory that will be re-mounted as the container /data
path. (If using the default tar
method, then use tar xf
.) Then, recreate the container mounting the restored content to the /data
/ path.
@itzg: Awesome! Thanks a lot.
Hi, I tried setting the volume to the old version I wanted to restore and it just created a new world. Any ideas on how to restore a world?
@alexk1919 you'll need to elaborate on what you tried: compose files, run commands, before and after, etc?