From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3CFA15838C for ; Tue, 30 Jan 2024 20:38:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD5E52BC09B; Tue, 30 Jan 2024 20:38:44 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B20DE2AAB for ; Tue, 30 Jan 2024 20:38:44 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rUusU-0007G9-78 for gentoo-user@lists.gentoo.org; Tue, 30 Jan 2024 21:38:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Suggestions for backup scheme? Date: Tue, 30 Jan 2024 20:38:34 -0000 (UTC) Message-ID: References: <8f5371a5-07af-456e-8517-cb9bb664fac4@youngman.org.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: slrn/1.0.3 (Linux) X-Archives-Salt: 42387276-1630-48fc-a6fa-50382a351b1c X-Archives-Hash: 5039d52872c24e481e332d2bc6faee57 On 2024-01-30, Rich Freeman wrote: > On Tue, Jan 30, 2024 at 3:08 PM Wol wrote: >> >> On 30/01/2024 19:19, Rich Freeman wrote: >> > I'd echo the other advice. It really depends on your goals. >> >> If you just want a simple backup, I'd use something like rsync onto lvm >> or btrfs or something. I've got a little script that sticks today's date >> onto the snapshot name > > So, you've basically described what rsnapshot does, minus half the > features. You should consider looking at it. If you do, read carefully the documentation on intervals and automation. It took me an embarassing number of tries to get the intervals and crontab entries to mesh so it worked the way I wanted. It's not really that difficult (and it's pretty well documented), but I managed to combine a misreading of how often and in what order the rsync wrapper was supposed to run with my chronic inability to grok crontab specifications. Hilarity ensued. > It is basically an rsync wrapper and will automatically rotate > multiple snapshots, and when it makes them they're all hard-linked > such that they're as close to copy-on-write copies as possible. The > result is that all those snapshots don't take up much space, unless > your files are constantly changing.