gilesknap / mciwb

Minecraft Interactive world builder
Apache License 2.0
298 stars 6 forks source link

Question about Backup and Restore #86

Closed compX44 closed 1 year ago

compX44 commented 1 year ago

Hello @gilesknap

I am following along with the Backup and Restore instructions and I have a question. For the part after (.venv), are we using the username info before the @ sign? I tried a variety of ways, but I keep getting a syntax error.

  1. useradd@DESKTOP-KSM4GML:~/my_world$ (.venv) [useradd@ws1 mciwb]$ ls $HOME/mciwb-backups bash: syntax error near unexpected token `[useradd@ws1'

  2. useradd@DESKTOP-KSM4GML:~/my_world$ (.venv) [ahUn1t$@ws1 mciwb]$ mciwb restore my-first-backup bash: syntax error near unexpected token `[ahUn1t$@ws1'

  3. useradd@DESKTOP-KSM4GML:~/my_world$ (.venv) [useradd@DESKTOP-KSM4GML mciwb]$ ls $HOME/mciwb-bqckups bash: syntax error near unexpected token `[useradd@DESKTOP-KSM4GML'

gilesknap commented 1 year ago

Sorry for the confusion. In my command examples (.venv) [giles@ws1 mciwb]$ is what my prompt looks like. So you only need to type the commands after that i.e.

ls $HOME/mciwb-backups
mciwb restore my-first-backup
gilesknap commented 1 year ago

I need to tidy up those examples and remove the confusing prompt

compX44 commented 1 year ago

Ah, okay. I typed the commands and was able to execute them properly. Thanks for your help.

gilesknap commented 1 year ago

👍 I'll leave this open until I have fixed the docs.

gilesknap commented 1 year ago

@compX44 I've tidied up the documentation here https://gilesknap.github.io/mciwb/main/user/how-to/backup.html#backups-of-mciwb-server

compX44 commented 1 year ago

I just checked out the revisions. Very nice.