snapshots of subvolumes recursivly?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Forward this message to mailing-list
-------- 转发的消息 --------
主题: Re: snapshots of subvolumes recursivly?
日期: Mon, 13 May 2024 09:50:16 +0200
From: Ulli Horlacher <[email protected]>
收件人: HAN Yuwei <[email protected]>
I am not able any more to reply to the mailing list:
<[email protected]>: host smtp.subspace.kernel.org[44.238.234.78]
said: 550 5.7.1 Your message looked spammy to us. Please check
https://subspace.kernel.org/etiquette.html and resend. (in reply to end of DATA command)
Signature · 5 lines
Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: [email protected] Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/
Quoted 5 lines · HAN Yuwei
åš 2024/5/13 4:39, Ulli Horlacher åé":
Quoted 3 lines
I have asked a similar question 2019-07-05, but maybe meanwhile there is a solution...
Quoted 7 lines
Quoted 5 lines
I want to backup btrfs filesystems with IBM Spectrum Protect and restic, both are file based.
Copying files which are in write-open state will lead to file corruption. Therefore my idea is: create a snapshot and run the backup on the snapshot.
You could use "btrfs send" to send whole snapshot instead of file.
I MUST use IBM Spectrum Protect or restic, because the backup storage is a (multi-million dollar) tape library.
Quoted 10 lines
Quoted 3 lines
I could write a script which creates snapshots of the subvolumes (recursivly), but maybe there is already such a program? Or another solution for this problem?
From what I understand, subvolume created a way to split your "snapshot
zone" for better data management(e.g. you can snapshot / without including /home or /var). This is intented.So if you want to backup sv1 sv2, why you created subvolume in the first place?
This is only a simple example to explain the problem.
I have hundreds of hosts which use btrfs subvolumes intensivly. For example SLES splits the / filesystem in a dozen subvolumes. I cannot change this setup.
And users may create (sub-)subvolumes, too. I cannot stop them in doing so. But I must organize the backup. It's up to me :-}
Signature · 6 lines
Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: [email protected] Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/ REF:<[email protected]>