All of lore.kernel.org
 help / color / mirror / Atom feed
* Is it possible to restore the state of a nilfs2 partition after deleting files?
@ 2023-05-25 15:18 Frank Schwidom
  2023-05-26 16:52 ` Ryusuke Konishi
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Schwidom @ 2023-05-25 15:18 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi,

is it anyhow possible to set the state of a nilfs2 partition to the latest
checkpoint or snapshot?

(I am using nilfs-tools 2.2.7-1 on
Linux debian64 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux)

Thanks in advance,
Frank

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

* Re: Is it possible to restore the state of a nilfs2 partition after deleting files?
  2023-05-25 15:18 Is it possible to restore the state of a nilfs2 partition after deleting files? Frank Schwidom
@ 2023-05-26 16:52 ` Ryusuke Konishi
  0 siblings, 0 replies; 2+ messages in thread
From: Ryusuke Konishi @ 2023-05-26 16:52 UTC (permalink / raw)
  To: Frank Schwidom; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

On Fri, May 26, 2023 at 12:37 AM Frank Schwidom wrote:
>
> Hi,
>
> is it anyhow possible to set the state of a nilfs2 partition to the latest
> checkpoint or snapshot?

Unfortunately there is no special command to do that easily.

Instead, since NILFS can mount the current tree at the same time as
the snapshot, it is common to mount them on two directories at the
same time and write back part or all of the snapshot to the current
tree using rsync or so.

If you're expecting native filesystem functionality, sorry for the
inconvenience, but the answer is no.

Regards,
Ryusuke Konishi

>
> (I am using nilfs-tools 2.2.7-1 on
> Linux debian64 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux)
>
> Thanks in advance,
> Frank

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

end of thread, other threads:[~2023-05-26 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-25 15:18 Is it possible to restore the state of a nilfs2 partition after deleting files? Frank Schwidom
2023-05-26 16:52 ` Ryusuke Konishi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.