[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backup of backup or alternating backups?



Hi,

On Tue, Oct 08, 2024 at 10:41:33AM +0200, Michel Verdier wrote:
> I add dateext parameter for logrotate so old logs keep the same name.

This is another drawback to the design of rsnapshot. It doesn't matter
that the files in your backup retain the same path: if they differ at
all in any way, you'll get a new copy.

i.e. if you have a 1GiB log file /var/log/somelog and you append one
byte to it, rsync will take care of only transferring one byte, but both
the old 1GiB file and the new 1GiB-and-1-byte version will be stored in
their entirety in your backups.

Other backup systems would chunk these files and recognise that the vast
majority of the new file is the same as the old file and only store
those chunks once. But would be more complicated than rsnapshot.

"Differing at all" can also include mere metadata changes such as
permissions, ownership or times, since all hardlinked versions of a file
share all this metadata.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: