mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
Add offline internal DB functionality for dataDB,storDB & configDB
This commit is contained in:
committed by
Dan Christian Bogos
parent
ac0b43a218
commit
5b66678313
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user