Debian File Server File Recovery
-
You might be able to get them back via a file recovery utility, but you'll have to remount that mount point as read only asap so the actual file data doesn't get over written.
mount -o remount,ro /dev/my/drive /mount/point
The big question is. If this is valuable data, why was it not backed up? As @scottalanmiller would say, the value decision on the data has already been made.
-
@travisdh1 said in Debian File Server File Recovery:
The big question is. If this is valuable data, why was it not backed up? As @scottalanmiller would say, the value decision on the data has already been made.
That was my first question
-
You could get really lucky. Look in the root of that mount point. IE: /home on a separate partition.
ls -a /home
If a 'lost+found' folder shows up, look inside that. It's kind of like the Windows "Recycle Bin". You'll have to use sudo to actually look at the folder.
-
@travisdh1 nope
-
@wirestyle22 said in Debian File Server File Recovery:
@travisdh1 nope
Uck. Do you know the type of file system (xfs, ext3, ext4, zfs)?
-
@travisdh1 said in Debian File Server File Recovery:
@wirestyle22 said in Debian File Server File Recovery:
@travisdh1 nope
Uck. Do you know the type of file system (xfs, ext3, ext4, zfs)?
cat /etc/fstab
may help if you don't know right off. -
I'm going to check tomorrow. I don't know Debian at all practically but TurnKey made it very easy for my boss (a non-linux user) to install it.
-
@wirestyle22 said in Debian File Server File Recovery:
I'm going to check tomorrow. I don't know Debian at all practically but TurnKey made it very easy for my boss (a non-linux user) to install it.
Violating the front loading system admin principle.
-
@scottalanmiller said in Debian File Server File Recovery:
@wirestyle22 said in Debian File Server File Recovery:
I'm going to check tomorrow. I don't know Debian at all practically but TurnKey made it very easy for my boss (a non-linux user) to install it.
Violating the front loading system admin principle.
Ya turnkey is cool to test stuff but I don't think I'd run any production system with it. Tell me this is at least an ISO and not an OpenVZ container...
-
@stacksofplates said in Debian File Server File Recovery:
@scottalanmiller said in Debian File Server File Recovery:
@wirestyle22 said in Debian File Server File Recovery:
I'm going to check tomorrow. I don't know Debian at all practically but TurnKey made it very easy for my boss (a non-linux user) to install it.
Violating the front loading system admin principle.
Ya turnkey is cool to test stuff but I don't think I'd run any production system with it. Tell me this is at least an ISO and not an OpenVZ container...
I've never used it and never would. I don't see a point to it
-
I've played with Turnkey linux, and its scary how easy of a process those guys have made those systems.
Sooooo EASY! You miss everything that you really need to know about the system in every case.
-
@DustinB3403 said in Debian File Server File Recovery:
I've played with Turnkey linux, and its scary how easy of a process those guys have made those systems.
Sooooo EASY! You miss everything that you really need to know about the system in every case.
That's scary.
-
@DustinB3403 said in Debian File Server File Recovery:
I've played with Turnkey linux, and its scary how easy of a process those guys have made those systems.
Sooooo EASY! You miss everything that you really need to know about the system in every case.
Yeah, I don't want to learn everything the easy way. I want to learn it the right way.
-
@DustinB3403 said in Debian File Server File Recovery:
I've played with Turnkey linux, and its scary how easy of a process those guys have made those systems.
Sooooo EASY! You miss everything that you really need to know about the system in every case.
i feel like learning Debian is kind of pointless unless you are a hobbyist or have no other choice. I can't think of a good reason to use it
-
Yeah I'd almost say that turnkey linux is comparable to FreeNAS.
-
So, if you have a full backup of a disk image.. kick off a restore and do not power it on. Just get a VHD file. Then load up a LiveCD. Linux Mint is handy for this. Attach that VHD to the VM that has the LiveCD. Boot to Linux Mint and it will likely auto-mount the restored VHD. Now you can navigate it like a normal file system and restore individual files. Keep the LiveCD VM handy because this is a standard process for doing this kind of file restore.
-
@travisdh1 said in Debian File Server File Recovery:
@wirestyle22 said in Debian File Server File Recovery:
@travisdh1 nope
Uck. Do you know the type of file system (xfs, ext3, ext4, zfs)?
ext4
-
@scottalanmiller said in Debian File Server File Recovery:
@DustinB3403 said in Debian File Server File Recovery:
I've played with Turnkey linux, and its scary how easy of a process those guys have made those systems.
Sooooo EASY! You miss everything that you really need to know about the system in every case.
That's scary.
Ya it's nice to see final configs and how they (possibly) should look but to run it in an environment is kind of concerning. Esp when each image has webmin installed by default.
For example the openldap image has some php web interface to manage ldap. That's fairly concerning to me. It would take more work to rip it out than to just set it up properly.
-
@wirestyle22 said in Debian File Server File Recovery:
@travisdh1 said in Debian File Server File Recovery:
@wirestyle22 said in Debian File Server File Recovery:
@travisdh1 nope
Uck. Do you know the type of file system (xfs, ext3, ext4, zfs)?
ext4
I'd try extundelete then. Be sure to read the man page for usage, I haven't used it before myself.
-
@stacksofplates said in Debian File Server File Recovery:
It would take more work to rip it out than to just set it up properly.
Seems to be the case across the board