mirror of
https://github.com/iyear/tdl
synced 2025-01-09 04:17:35 +08:00
fix(backup): backup database only. #130
This commit is contained in:
parent
4d83b5e9aa
commit
c174aa8d8f
@ -18,7 +18,7 @@ func Backup(ctx context.Context, dst string) error {
|
||||
}(f)
|
||||
|
||||
files, err := archiver.FilesFromDisk(nil, map[string]string{
|
||||
consts.DataDir: "",
|
||||
consts.KVPath: "",
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user