Linux-XFS Archive mirror
 help / color / mirror / Atom feed
From: Bernd Lentes <bernd.lentes@helmholtz-muenchen.de>
To: "linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>
Subject: how to restore a snapshot in XFS ?
Date: Sun, 12 May 2024 12:30:12 +0000	[thread overview]
Message-ID: <PR3PR04MB7340EFE53D742D347C9ACE58D6E12@PR3PR04MB7340.eurprd04.prod.outlook.com> (raw)

Hi,

I just created a XFS Partition to store raw images of qemu domains on it.
I create snapshots of these files with cp --reflink.
Is that the correct way ?

Now I want to go back to such a snapshot. How do I achieve this ?
Just copy the snapshot over the original ?

Thanks.

Bernd


--

Bernd Lentes
SystemAdministrator
Institute of Metabolism and Cell Death
Helmholtz Zentrum München
Building 25 office 122
Bernd.lentes@helmholtz-munich.de
+49 89 3187 1241

Helmholtz Zentrum München – Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstraße 1, D-85764 Neuherberg, https://www.helmholtz-munich.de
Geschäftsführung: Prof. Dr. med. Dr. h.c. Matthias H. Tschöp, Dr. Michael Frieser | Aufsichtsratsvorsitzende: MinDir’in Prof. Dr. Veronika von Messling
Registergericht: Amtsgericht München HRB 6466 | USt-IdNr. DE 129521671

             reply	other threads:[~2024-05-12 12:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-12 12:30 Bernd Lentes [this message]
2024-05-12 17:51 ` how to restore a snapshot in XFS ? Alexander Puchmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PR3PR04MB7340EFE53D742D347C9ACE58D6E12@PR3PR04MB7340.eurprd04.prod.outlook.com \
    --to=bernd.lentes@helmholtz-muenchen.de \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).