public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* backup best practise?
@ 2026-01-01 23:46 Ulli Horlacher
  2026-01-02  2:37 ` Nicholas D Steeves
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ulli Horlacher @ 2026-01-01 23:46 UTC (permalink / raw)
  To: linux-btrfs

What is the best practise for backup of a local btrfs file system?

In my case, I have 2 disks: disk one contains a /home btrfs filesystem,
disk two contins a /backup btrfs filesystem.
So far I use:
rsync -a --delete /home /backup

The drawback of this methode is: In /home there are also *big* VMs which
will be copied every time even if they have changed only a few bytes,
because rsync works file based.

Using RAID1 is not a backup. When I inadvertently delete a file it has
gone on the mirror side, too.

I have snapshots of /home, but they will not help me if disk one has a
hardware failure.


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    https://www.tik.uni-stuttgart.de/
REF:<20260101234624.GA1955478@tik.uni-stuttgart.de>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-02 10:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-01 23:46 backup best practise? Ulli Horlacher
2026-01-02  2:37 ` Nicholas D Steeves
2026-01-02  7:34 ` Andrei Borzenkov
2026-01-02 10:39 ` Christoph Biedl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox