mojira.dev
MC-136870

backup option does not works with symlink folder

Hello,

My save folder contains a symbolic link towards my world, when using the backup option to make a backup of my workd, it saves the symlink and do not follow the link.

 

Thanks,

Nicolas.

Linked issues

Comments 6

I'm having trouble understanding this issue. Can somebody please clarify these for me?

My save folder contains a symbolic link towards my world

 What exactly do you mean by "a symbolic link"? Can you provide a screenshot?

when using the backup option to make a backup of my world, it saves the symlink and does not follow the link

What exactly did you expect to happen? What happened instead precisely?

@@unknown, from my understanding, if the actual world folder is a symbolic link then the link itself will be backed up rather than the contents of the world. Therefore the backup is useless.

 [Mod]null explaination is correct. A screenshot is not really relevant here. Instead here is the output of the linux command ls -l in my saves/ folder :

[18:08:47] nicolas@hesperedina:saves $ ls -l
total 23784
drwxrwxr-x 9 nicolas nicolas 4096 May 6 2017 Best AFK XP Gold Farm by Snocrash
rw-rw-r- 1 nicolas nicolas 443209 May 6 2017 Best-AFK-XP-Gold-Farm-by-Snocrash.zip
drwxr-xr-x 9 nicolas nicolas 4096 Sep 2 2017 ECLIPSE
rw-rw-r- 1 nicolas nicolas 23897762 Aug 20 2017 ECLIPSE -Strawberry Jam 15 2017.zip
lrwxrwxrwx 1 nicolas nicolas 53 Aug 20 2017 juco -> /home/nicolas/Games/MinecraftServer/juco.restore/juco

 

As you can see "juco" is a symbolic link (think of it as a shortcut in the microsoft windows world).  Backup of this wolrd results in a single file called juco, of a few hundred bytes.

 

Thanks.

Please check if this is still an issue in 1.14.1.

Please check if that's still an issue for you in the latest 1.15.2 stable release or the latest 1.16 development snapshot.

Should be forward-resolved to MC-187538, as that ticket has an assigned Mojang Priority.

Nicolas Vincent

(Unassigned)

Unconfirmed

(Unassigned)

Minecraft 1.13.1

Retrieved