"restic backup" output

Hi!

I’m new to restic and I like it so far.
I’ve looked at its output on a TTY when backing up to an sftp server.
it writes a summary line and then writes two file names.
Are those the two files it’s currently transferring?
Why two?

I didn’t find this documented anywhere, perhaps someone™ could do that.

Thanks,
Thomas

2 Likes

The file names are those of the files that are currently read by restic. The transfers happen in the background. Most backends, including sftp, upload up to 5 data files in parallel.

Reading two files in parallel was a sweet spot for HDDs in measurements conducted a few years ago. For most cases that default seems to work reasonably well. Is there a particular reason why you’re asking?

2 Likes

I had the same question. Thanks for the explanation!

1 Like

Thanks for the explanation. I just didn’t know what file names were. Two are fine, sure.
If the output of ‘restic backup’ could be added to the documentatio that would probably help the next person wondering about it.

Cheers,
Thomas

1 Like

If you have a specific suggestion how to tweak the documentation, we’d be happy about a PR on Github :slight_smile: .

1 Like