Commit Graph

3 Commits

Author SHA1 Message Date
connorc@orbitnode.net
1ed4651679 Refactor generate method in MysqlDatabaseConfig class
The generate method in the MysqlDatabaseConfig class had an error that caused an undefined local variable or method 'config'. The error was due to using the config variable before it was initialized. The solution was to move the code that sets b2_enabled and adds b2 to config after the config variable is initialized. This commit fixes the error by modifying the generate method in the MysqlDatabaseConfig class.
2023-03-18 10:20:18 -06:00
connorc@orbitnode.net
496be85eaa Fix B2 bucket upload issue and store b2_enabled in config
This commit addresses two main issues:

    The 'b2_enabled' value was not being stored in the config JSON. Added it to the config JSON to enable or disable B2 bucket uploads as needed.
    Corrected the execution of b2-cli commands in the MysqlDatabaseBackup class using backticks for proper shell command execution in Ruby.

These changes should resolve the issue of the database dump file not being uploaded to the B2 bucket.
2023-03-17 10:23:31 -06:00
VetheonGames
bcfd201c4b
Commit finished beta 2023-02-23 15:42:16 -07:00