You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to this PR, WAL-G for Postgres sorts the backups in the output of the backup-list command by the creation time. However, it does that only when being called with the --detail flag.
It happens because WAL-G uses two different backup-list handlers:
Generic (same for all databases) when it is launched without the --detailed flag (source code)
Postgres-specific when being launched with the --detail flag (source code)
I think that WAL-G generic backup list handler should utilize the GenericMetadata to sort the backups by the creation time. For some databases, the appropriate adapters are already written: MySQL, Postgres, Greenplum. As for FDB, Redis, and SQLServer which also use the generic backup-list command handler currently there is no GenericMetadata adapter implemented.
So, I can see the following plan to implement this feature:
Implement the GenericMetaFetcher for FDB, Redis, and SQLServer.
Fetch the GenericMetadata in the backup-list command handler to sort the backup-list output by the creation time.
The text was updated successfully, but these errors were encountered:
There's a big chance that we need to recruit some other principal author for the feature.
Maybe @debebantur knows anyone, but anyway PR would be welcomed.
Thanks to this PR, WAL-G for Postgres sorts the backups in the output of the
backup-list
command by the creation time. However, it does that only when being called with the--detail
flag.It happens because WAL-G uses two different backup-list handlers:
--detailed
flag (source code)--detail
flag (source code)I think that WAL-G generic backup list handler should utilize the GenericMetadata to sort the backups by the creation time. For some databases, the appropriate adapters are already written: MySQL, Postgres, Greenplum. As for FDB, Redis, and SQLServer which also use the generic backup-list command handler currently there is no GenericMetadata adapter implemented.
So, I can see the following plan to implement this feature:
GenericMetadata
in the backup-list command handler to sort the backup-list output by the creation time.The text was updated successfully, but these errors were encountered: