Add offline internal DB functionality for dataDB,storDB & configDB

This commit is contained in:
arberkatellari
2025-05-13 16:22:30 +02:00
committed by Dan Christian Bogos
parent ac0b43a218
commit 5b66678313
53 changed files with 1624 additions and 300 deletions

View File

@@ -349,3 +349,18 @@ func (sqls *SQLStorage) RemoveCDRs(ctx *context.Context, qryFltr []*Filter) (err
}
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
}