Re: Is it possible to restore the state of a nilfs2 partition after deleting files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux