diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-04-17 22:04:49 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-04-17 22:04:49 -0700 |
| commit | 13ad5c196656c586e908defce9b6d8e717663625 (patch) | |
| tree | 4ce98a52e30c52e4319699e0813612e389bb1d6c /weed/command/backup.go | |
| parent | 3b9446606a5e74130677dcc7d0411865a4e144fc (diff) | |
| download | seaweedfs-13ad5c196656c586e908defce9b6d8e717663625.tar.xz seaweedfs-13ad5c196656c586e908defce9b6d8e717663625.zip | |
refactoring
Diffstat (limited to 'weed/command/backup.go')
| -rw-r--r-- | weed/command/backup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/backup.go b/weed/command/backup.go index 3370a478a..7a98f60d9 100644 --- a/weed/command/backup.go +++ b/weed/command/backup.go @@ -113,7 +113,7 @@ func runBackup(cmd *Command, args []string) bool { } defer v.Close() - if err := v.Follow(volumeServer, grpcDialOption); err != nil { + if err := v.IncrementalBackup(volumeServer, grpcDialOption); err != nil { fmt.Printf("Error synchronizing volume %d: %v\n", vid, err) return true } |
