Add dump and restore functionality for internal DBs

This commit is contained in:
arberkatellari
2025-03-28 19:36:41 +02:00
committed by Dan Christian Bogos
parent 17248c5dde
commit a168f262e2
70 changed files with 4077 additions and 303 deletions

View File

@@ -1675,3 +1675,18 @@ func (sqls *SQLStorage) RemoveVersions(vrs Versions) (err error) {
tx.Commit()
return
}
// Will dump everything inside stordb to a file, only for InternalDB
func (sqls *SQLStorage) DumpStorDB() (err error) {
return utils.ErrNotImplemented
}
// Will rewrite every dump file of StorDB, only for InternalDB
func (sqls *SQLStorage) RewriteStorDB() (err error) {
return utils.ErrNotImplemented
}
// BackupStorDB used only for InternalDB
func (sqls *SQLStorage) BackupStorDB(backupFolderPath string, zip bool) (err error) {
return utils.ErrNotImplemented
}