Closed charmitro closed 9 months ago
@charmitro
How should the user specify in the backup_type
section of the .ini
file which backup type they want?
Should the 2 acceptable strings be schema_only
and full
?
Also should the enum for the backup_type stay in db.h
? Or should I move it to postgres.h
? Do multiple SQL databases
support the same backup types?
@charmitro https://github.com/charmitro How should the user specify in the |backup_type| section of the |.ini| file which backup type they want? Should the 2 acceptable strings be |schema_only| and |full|?
Yes, "schema" and "full".
Also should the enum for the backup_type stay in |db.h|? Or should I move it to |postgres.h|? Do multiple SQL databases support the backup types?
We should keep it in db.h as it will be needed from other SQL databases.
@charmitro https://github.com/charmitro How should the user specify in the |backup_type| section of the |.ini| file which backup type they want? Should the 2 acceptable strings be |schema_only| and |full|? Yes, "schema" and "full". Also should the enum for the backup_type stay in |db.h|? Or should I move it to |postgres.h|? Do multiple SQL databases support the backup types? We should keep it in db.h as it will be needed from other SQL databases.
I cant include the db/db.h
file in config.h
to use the enum in my config fields, because the db.h
already inclues the config.h
Foundations are already there but we need to:
pg_dump
arguments