diff --git a/lib/backup/actions/backup.go b/lib/backup/actions/backup.go index 108cd3630..8f44c84d8 100644 --- a/lib/backup/actions/backup.go +++ b/lib/backup/actions/backup.go @@ -79,7 +79,7 @@ func (b *Backup) Run() error { if err := storeMetadata(src, dst); err != nil { return fmt.Errorf("cannot store backup metadata: %w", err) } - if err := dst.CreateFile(fscommon.BackupCompleteFilename, []byte{}); err != nil { + if err := dst.CreateFile(fscommon.BackupCompleteFilename, []byte("ok")); err != nil { return fmt.Errorf("cannot create `backup complete` file at %s: %w", dst, err) }