Skip to content

Symlinks not supported. java.nio.file.FileAlreadyExistsException #38

@ModestTG

Description

@ModestTG

Minecraft version

1.20.x

Simple Backups version

1.20.1-3.1.7

(Neo)Forge version

1.20.1-47.3.7

The latest.log file

https://pastebin.com/RjrXW5wv

Issue description

I am trying to run backups on my ATM9 server. I want to save my backups onto a NAS folder, so I tried to symlink a folder inside the /data directory to my NAS folder. When I do that, I get a java.nio.file.FileAlreadyExistsException on that directory. Perhaps this isn't an actual issue and I should just reference the NAS folder directly. I've been trying to work through some file permissions to get that to work but in the meantime I thought I would try a symlink.

Steps to reproduce

  1. Create a symlink to your backup location
ln -s /path/to/backup/folder /path/inside/minecraft/data/folder
  1. ensure the simplebackups-common.toml is configured with outPath pointed to /path/inside/minecraft/data/folder
  2. from rcon-cli, run simplebackups backup start.

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions