BookStackApp / system-cli

MIGRATED TO CODEBERG -- A simple CLI to manage BookStack instances
https://codeberg.org/bookstack/system-cli
MIT License
5 stars 0 forks source link

CLI fails restore due to rename across filesystems #6

Closed ssddanbrown closed 1 year ago

ssddanbrown commented 1 year ago

Somewhat related to #4. The usage of rename can fail when in a docker environment if content is restored to mounted volume paths, since this is across filesystems.

Probably need to recursively copy first then delete old dir, rather than a simple rename :disappointed: