On 12/15/25 12:41 PM, home user via users wrote:
On 12/15/25 11:33 AM, home user via users wrote:
As root, I used the gnome settings user tool to delete a user. But I
didn't notice that the cursor was on a different user name (the one
directly above the one that I wanted to delete). The cursor does seem
to be slightly off. It is urgent and important that I recover the
deleted user's home directory. There are not (yet) any back-ups. How
do I do this?
It's Fedora-42 workstation, Gnome. The deleted user's home directory
was in a BTRFS file system, on a 4 TB spinning drive.
If there were any btrfs snapshots, you may be able to recover from
there. Look in the .snapshots subvolume.
If this happened recently, shut the system down immediately, boot off of
live media and use:
btrfs restore -i /dev/sdX /path/to/restore
where /dev/sdx is your drive and /path/to/restore is ON ANOTHER DISK.
Like a thumb drive.
If the system has been running for a long time with a lot of activity,
you're probably in trouble. Blocks may very well have been written to
the disk where the old data was stored, in which case it'd gone without
advanced disk rescue (think $$$$).
Also, look into btrfscue. I have not used it, but it's a tool for disk
recovery.
--
Thomas
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue