mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 03:30:43 -05:00
Here's a jumping off point for the profile backup feature. Included some basic configuration options. Currently backup runs on server start-up (before the profiles are loaded into memory) and on a configurable interval. I think it still needs work. - [x] The folder name dates should be used to detect which old backups should be removed - [x] Not sure about the interval implementation... - [x] Could make the clean method thinner - [x] Remove VFS; I don't believe it's needed for copy operations - [x] Save a list of active mods used by the backed up profiles --------- Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com> Co-authored-by: Chomp <dev@dev.sp-tarkov.com>