diff --git a/cmd/restic/cmd_backup.go b/cmd/restic/cmd_backup.go index 50d19daa2..80a7cd07d 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 000000000..2348bf24a 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 000000000..a7a5db4c3 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 000000000..9e4a9bdbb 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 000000000..4b6f9bf45 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 000000000..c9afbc450 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 000000000..cac3e7363 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 000000000..138a43f2c --- /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 000000000..138a43f2c --- /dev/null +++ b/cmd/restic/testdata/testfoo2 @@ -0,0 +1 @@ +fnord