Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Rich Newsgroups: comp.os.linux.misc Subject: Re: Time machine backups Date: Wed, 8 Jan 2025 18:25:29 -0000 (UTC) Organization: A noiseless patient Spider Lines: 21 Message-ID: References: Injection-Date: Wed, 08 Jan 2025 19:25:30 +0100 (CET) Injection-Info: dont-email.me; posting-host="bfc47b907fca7cd15e0f04fd46849852"; logging-data="3057715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1860j3v6GDVibfHKUlsxhCn" User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64)) Cancel-Lock: sha1:PhWbH3SnschJ30+VjxQIrT5Bcy0= Bytes: 2253 Lars Poulsen wrote: > On 2025-01-08, The Natural Philosopher wrote: >> Anyioe expecting to preserve an ext4 file system accurately on a samba >> mounted share needs their head examined. >> Use NFS. > > I am not expecting to accurately have an exact ext4 system on a share. > Just keeps the data, but deduplicated. AFAIK, Don't try to directly 'rsync' any Linux filesystem to a samba share as a backup. Samba will not store everything needed to recover (you'll have your data, except for those files with names that are 'invalid' in the windows samba world) but none of the ownerships/permissions will be correct. If you must use samba as the backing store, then use something like Restic which stores the data in its own internal format and only requires "basic file storage and basic filenames" support from the underlying backing store. Restic: https://restic.net/