Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: D Newsgroups: comp.os.linux.misc Subject: Re: Time machine backups Date: Thu, 9 Jan 2025 17:51:18 +0100 Organization: i2pn2 (i2pn.org) Message-ID: References: <4RVeP.812124$bYV2.164030@fx17.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: i2pn2.org; logging-data="2801026"; mail-complaints-to="usenet@i2pn2.org"; posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M"; X-Spam-Checker-Version: SpamAssassin 4.0.0 In-Reply-To: Xref: csiph.com comp.os.linux.misc:64063 On Wed, 8 Jan 2025, Carlos E.R. wrote: > On 2025-01-08 03:49, Lars Poulsen wrote: >> On 2025-01-07, vallor wrote: >>> Bought a 4TB external USB/NVME device for my workstation. >>> Installed Samba and configured it to use the "fruit" >>> module to offer up a Time Machine share for the >>> Mac Studio. (Also using it with Timeshift on the >>> workstation itself, but that part was easier.) >>> >>> (Backups are good; automated versioned backups are better.) >> >> I have setup "time machine" backups on two of my servers, using rsync to >> a local external drive, but I have not figured out how to do it to a >> Samba share. On the local external drive, using ext4 file system, hard >> links make it very space efficient, but I don't think you can do that >> with a Samba mounted remote drive. Any hints? Do you run the rsync on >> the file server, so that you can do the hard links on the backup drive's >> ext4 file system while the backup server sees its production client as >> the remote Samba mount? >> >> And is there a way to use a cheap remote "storage box" that is only >> accessible as a Samba NAS as the versioned storage medium with >> similarly good storage efficiency? > > > You can not backup using any type of file copy, like rsync, a Linux > filesystem into samba, or a windows filesystem. > > The only way to do it is using archives like tar. Apart from samba, I have used the rsync + hardlinks method for backup with much success between countries, for decades.