When backing up to an SFTP repository, I noticed that restic uploads way more data than actually ends up in the repository. For example, a run that claimed to have added 438 MiB to the repository resulted in a transfer of approximately 3 GiB of data to the remote server. I don’t have exact numbers for the storage used on the SFTP server, but it seems to be much closer to the reported 438 MiB.
Is this expected? Is there anything that can be done about this?
The data being backed up is just an
nnml directory tree (from Gnus, so lots of small files with messages, and append-only
.overview files which can grow quite large over time), and a bunch of mostly unchanging Git clones/source checkouts.