fix(backup): backup database only. #130

This commit is contained in:
iyear 2023-03-16 21:44:05 +08:00
parent 4d83b5e9aa
commit c174aa8d8f

View File

@ -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