Thanks! Mounted a new ./dump directory with same permissions as ./files (1000:1000), to /app/vikunja/dump. I get a .zip dump with the .env and database files but it’s missing the files directory.
At this point, I could backup my files directory manually since it’s a local bind mount. But it wouldn’t be from the dump process.
user@server:~$ docker exec -w /app/vikunja/dump vikunja_app /app/vikunja/vikunja dump
2024-07-20T11:02:29.325898594Z: INFO ▶ config/InitConfig 001 No config file found, using default or config from environment variables.
2024-07-20T11:02:29.327581427Z: INFO ▶ migration/Migrate 003 Running migrations…
2024-07-20T11:02:29.369775838Z: INFO ▶ migration/Migrate 06a Ran all migrations successfully.
2024-07-20T11:02:29.370192626Z: INFO ▶ dump/Dump 06b Start dumping config file...
2024-07-20T11:02:29.370236031Z: WARNING ▶ dump/Dump 06c No config file found, not including one in the dump. This usually happens when environment variables are used for configuration.
2024-07-20T11:02:29.370253916Z: INFO ▶ dump/Dump 06d Dumped config file
2024-07-20T11:02:29.370796112Z: INFO ▶ dump/Dump 06e Dumped .env file
2024-07-20T11:02:29.370847011Z: INFO ▶ dump/Dump 06f Start dumping version file...
2024-07-20T11:02:29.37100645Z: INFO ▶ dump/Dump 070 Dumped version
2024-07-20T11:02:29.37102728Z: INFO ▶ dump/Dump 071 Start dumping database...
2024-07-20T11:02:29.427873407Z: INFO ▶ dump/Dump 0d6 Dumped database
2024-07-20T11:02:29.427919977Z: INFO ▶ dump/Dump 0d7 Start dumping files...
2024-07-20T11:02:29.428701962Z: CRITICAL ▶ cmd/func2 0d9 error saving file: open files/21: no such file or directory