ChaoticTrials / SimpleBackups

A simple mod to create scheduled backups
https://modrinth.com/mod/simple-backups
Apache License 2.0
10 stars 6 forks source link

Backups fail if world folder is a symlink. #22

Closed Keridos closed 8 months ago

Keridos commented 8 months ago

Minecraft version

1.19.4

Simple Backups version

1.20.1-3.1.2

Forge version

47.2.16

The latest.log file

https://gist.github.com/Keridos/a3909b19cc8e3d37cba4bc422eadcba3

Issue description

The world backup fails if the world directory is a symlink (f.ex. mounting the world in RAM). it writes a zip file with only the world symlink inside it (126 bytes big).

Steps to reproduce

  1. make the world folder a symlink to another folder.
  2. start MC Server with simplebackups
  3. wait for a backup and then look at the server's logs.

Other information

No response