diff --git a/cmd/restic/cmd_backup.go b/cmd/restic/cmd_backup.go index 50d19daa..80a7cd07 100644 --- a/cmd/restic/cmd_backup.go +++ b/cmd/restic/cmd_backup.go @@ -193,11 +193,11 @@ func (cmd CmdBackup) Execute(args []string) error { return nil } - fmt.Printf("loading blobs\n") - err = arch.Preload() - if err != nil { - return err - } + // fmt.Printf("loading blobs\n") + // err = arch.Preload() + // if err != nil { + // return err + // } _, id, err := arch.Snapshot(target, parentSnapshotID) if err != nil { diff --git a/cmd/restic/testdata/test latin1 umläütönßnll/testfile1 b/cmd/restic/testdata/test latin1 umläütönßnll/testfile1 new file mode 100644 index 00000000..2348bf24 Binary files /dev/null and b/cmd/restic/testdata/test latin1 umläütönßnll/testfile1 differ diff --git a/cmd/restic/testdata/test latin1 umläütönßnll/testfile2 b/cmd/restic/testdata/test latin1 umläütönßnll/testfile2 new file mode 100644 index 00000000..a7a5db4c Binary files /dev/null and b/cmd/restic/testdata/test latin1 umläütönßnll/testfile2 differ diff --git a/cmd/restic/testdata/test utf-8 umläütönßnll/testfile1 b/cmd/restic/testdata/test utf-8 umläütönßnll/testfile1 new file mode 100644 index 00000000..9e4a9bdb Binary files /dev/null and b/cmd/restic/testdata/test utf-8 umläütönßnll/testfile1 differ diff --git a/cmd/restic/testdata/test utf-8 umläütönßnll/testfile2 b/cmd/restic/testdata/test utf-8 umläütönßnll/testfile2 new file mode 100644 index 00000000..4b6f9bf4 Binary files /dev/null and b/cmd/restic/testdata/test utf-8 umläütönßnll/testfile2 differ diff --git a/cmd/restic/testdata/testfile b/cmd/restic/testdata/testfile new file mode 100644 index 00000000..c9afbc45 Binary files /dev/null and b/cmd/restic/testdata/testfile differ diff --git a/cmd/restic/testdata/testfile2 b/cmd/restic/testdata/testfile2 new file mode 100644 index 00000000..cac3e736 Binary files /dev/null and b/cmd/restic/testdata/testfile2 differ diff --git a/cmd/restic/testdata/testfoo b/cmd/restic/testdata/testfoo new file mode 100644 index 00000000..138a43f2 --- /dev/null +++ b/cmd/restic/testdata/testfoo @@ -0,0 +1 @@ +fnord diff --git a/cmd/restic/testdata/testfoo2 b/cmd/restic/testdata/testfoo2 new file mode 100644 index 00000000..138a43f2 --- /dev/null +++ b/cmd/restic/testdata/testfoo2 @@ -0,0 +1 @@ +fnord