Linux noob.....restore file from ext3 disk formatted

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read
Posts: 1
Joined: 18 Jan 2019, 11:57

Linux noob.....restore file from ext3 disk formatted

#1 Post by emufile »

Hello everyone,
i'm Alex, linux noob from Italy
one of my friend use a very old and strange ubuntu server with samba
the disk was ext3
I saved the file from the samba share (video and photo)
Reinstall baremetal ubuntu server 18.04.1.lts
config ip
config samba
my friend don't say to may that he use also webmin for upload file from web
the directory was /home/fdos
How can i restore the file (now the disk are ext4)
Thank you very much

Sponsored links

User avatar
Site Admin
Posts: 5276
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: Linux noob.....restore file from ext3 disk formatted

#2 Post by cgrenier »

If you have a copy of the file and you want to copy it back to your server, you can transfer it with sftp (ie using filezilla) or the samba share.
If you have reformated the partition that was holding the file and have no backup, you can use PhotoRec on the server itself but be careful to store the recovered files on another disk.