Re: Easiest way to move from BTRFS to EXT4 without losing data

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

 



On Mon, Jun 14, 2021 at 1:57 PM Garry T. Williams <gtwilliams@xxxxxxxxx> wrote:
>
> On Monday, June 14, 2021 3:50:57 PM EDT Joe Zeff wrote:
> > On 6/14/21 1:12 PM, Sreyan Chakravarty wrote:
> > > I mean if I backup from BTRFS can I restore it into ext4 ?
> >
> > Your backup software neither knows nor cares how your filesystem is
> > formatted, so of course you can.  Unless, of course, you're cloning the
> > partition, in which case a restore will overwrite the partition with the
> > original formatting.
>
> I'm pretty sure Chris was correct.  You system is set up to boot from
> the btrfs file system -- not ext4.  Changing the file system will
> result in needed changes in boot loader, fstab, etc.
>
> Restoring to an ext4 file system will not result in a bootable system.

Strictly speaking, restoring to a *new* file system will result in an
unbootable system. The FS UUID has changed, all the changes for
assembly need to be reflected in /etc/fstab, and the bootloader
configuration files (a minimum of four).  Even if this were LVM/ext4
being backedup and restored to LVM/ext4 it's the same problem and same
number of steps to fix all of it after the restore.

And to my knowledge no tool knows how to do that except the installer.
And the installer only knows how to do it in the context of a clean
install. Not a repair.


-- 
Chris Murphy
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux