ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Debian File Server File Recovery

    IT Discussion
    turnkey linux debian file server recovery
    13
    56
    7.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • travisdh1T
      travisdh1
      last edited by

      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.

      wirestyle22W 1 Reply Last reply Reply Quote 2
      • wirestyle22W
        wirestyle22 @travisdh1
        last edited by

        @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

        1 Reply Last reply Reply Quote 1
        • travisdh1T
          travisdh1
          last edited by

          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.

          wirestyle22W 1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22 @travisdh1
            last edited by

            @travisdh1 nope 😕

            travisdh1T 1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @wirestyle22
              last edited by

              @wirestyle22 said in Debian File Server File Recovery:

              @travisdh1 nope 😕

              Uck. Do you know the type of file system (xfs, ext3, ext4, zfs)?

              dafyreD wirestyle22W 2 Replies Last reply Reply Quote 0
              • dafyreD
                dafyre @travisdh1
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • wirestyle22W
                  wirestyle22
                  last edited by

                  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.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @wirestyle22
                    last edited by

                    @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.

                    stacksofplatesS 1 Reply Last reply Reply Quote 1
                    • stacksofplatesS
                      stacksofplates @scottalanmiller
                      last edited by

                      @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...

                      wirestyle22W 1 Reply Last reply Reply Quote 2
                      • wirestyle22W
                        wirestyle22 @stacksofplates
                        last edited by

                        @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

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          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.

                          scottalanmillerS wirestyle22W RomoR 4 Replies Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @DustinB3403
                            last edited by

                            @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.

                            stacksofplatesS 1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22 @DustinB3403
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @DustinB3403
                                last edited by

                                @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

                                1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  Yeah I'd almost say that turnkey linux is comparable to FreeNAS.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    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.

                                    BRRABillB 1 Reply Last reply Reply Quote 2
                                    • wirestyle22W
                                      wirestyle22 @travisdh1
                                      last edited by

                                      @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

                                      travisdh1T F 2 Replies Last reply Reply Quote 0
                                      • stacksofplatesS
                                        stacksofplates @scottalanmiller
                                        last edited by stacksofplates

                                        @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.

                                        wirestyle22W 1 Reply Last reply Reply Quote 3
                                        • travisdh1T
                                          travisdh1 @wirestyle22
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 1
                                          • wirestyle22W
                                            wirestyle22 @stacksofplates
                                            last edited by

                                            @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

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post