[DiscordArchive] hey there, could anyone confirm that the typical process for automating keeping an AC database serve
[DiscordArchive] hey there, could anyone confirm that the typical process for automating keeping an AC database serve
Archived author: bluesoul • Posted: 2022-05-05T19:28:08.936000+00:00
Original source
hey there, could anyone confirm that the typical process for automating keeping an AC database server up to date from git is basically running all .sql files in `data/sql/update`?
Archived author: bluesoul • Posted: 2022-05-05T19:28:46.585000+00:00
Original source
like, if you had a maintenance job that ran a task nightly/weekly/whatever, it would basically just do that because all the files in there can safely be replayed?
Archived author: Kitzunu • Posted: 2022-05-05T19:34:37.136000+00:00
Original source
sure, but you should let your worldserver take care of that
Archived author: bluesoul • Posted: 2022-05-05T19:38:24.668000+00:00
Original source
ah, i see that in the docs for keeping database up to date, let me look at this commit
Archived author: Kitzunu • Posted: 2022-05-05T19:38:36.676000+00:00
Original source
it is on by default
Archived author: Nyeriah • Posted: 2022-05-05T19:38:41.963000+00:00
Original source
you can't do that with the server running, so, eventually, you'll need a restart, and once it restarts, every file is applied
Archived author: bluesoul • Posted: 2022-05-05T19:39:14.870000+00:00
Original source
so on the worldserver box, do a git pull and restart the process and it'll handle it?
Archived author: Kitzunu • Posted: 2022-05-05T19:39:27.735000+00:00
Original source
yes.
Archived author: Kitzunu • Posted: 2022-05-05T19:39:58.168000+00:00
Original source
it checks for not imported sql files and imports them
Archived author: Kitzunu • Posted: 2022-05-05T19:40:03.592000+00:00
Original source
it also populates empty databases