39

F U C K

I just lost all of the images of a website of a client

Comments
  • 2
    Has Google saved them?
  • 4
    And all of a sudden the other devs left the room...
  • 15
    No problem, just restore them from your daily backup. And data that aren't backuped are not important anyway.
  • 1
    Sadly I was just about to create a backup server 😭
  • 4
    @localjoost external harddrives are also an intermediate solution. But having no backups at all means not having any important data by definition.
  • 4
    If you visit the Web site in a Web browser and set your system clock backwards, you can take new screenshots with faked timestamps. Noone will know they aren't the originals.
  • 1
  • 2
    @Fast-Nop You sir, are very right ;)
  • 1
    @jAsE hahaha exactly what I did too
  • 1
    @heyheni Removed the folder instead of a file :(
  • 1
    🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️
  • 0
    @localjoost when I make severe changes, I usually make a copy of the whole folder first. OK, at work, we have SVN where IT backs up shit, but at home, I keep it to a minimum. Often with USB sticks for project backup. Totally unprofessional and ridiculous, but works. ^^

    And, seriously, I hope you didn't lose too much time with that accident.
  • 0
    @CoffeeNcode I have used this once to get an old css file and images back xD
  • 2
    @Fast-Nop As a very unexperienced programmer, I feel like your comment is slapping me in the face for not thinking daily backups are 'that important'
  • 1
    @jonathannerat for my most important side project with literally years of work in it, I even have backups on my work PC in my company. If my house burns down, I have at least covered that part.

    I also can recommend Clonezilla to you, for full disk backups. It's great and free and even open source.
  • 0
    Lol 😂

    That sucks man,
  • 1
    @localjoost I know that it is generally bad practice to store binary data in git, but still. This would have been one command to restore the directory. Also remember you don't have to have a server for git, you can have a local repo in a directory which you can just move and copy around, everything will be contained in the .git directory. On almost every project, the first thing I do is to run git init.
  • 0
    Been there done that, I feel for you
  • 0
    May the force be with you
  • 0
    Is that a website that's made too look like your client, that you then photographed with your camera, and finally lost the images?
  • 0
    @bootleg-dev What is that 'one command to restore it' you're talking about?
  • 0
    Well guys, in the end all the images we're uploaded by the client again and I immediately made a backup after 😅

    In the near future I'd like to create a back-up server for all images and data in all repositories
  • 0
    @localjoost git checkout <deleted folder name>
  • 0
    @bootleg-dev The folder was ignored with gitignore
  • 0
    @localjoost Well then ... but I even commit binaries to git when working on a project alone, so there is that.
  • 1
    @bootleg-dev the images are uploaded by the client, on the server. I'm not gonna commit every image they upload
  • 0
    @localjoost Yes, that depends on the workflow, so I guess when the client uploads the image themselves they will definitely have copies (as they did).
  • 0
    @localjoost search for a data recovery tool? It's scary amazing how much you can undelete.
  • 2
    Backups, backups and more backups! Hopefully you now realize how important they are :)
  • 0
    @jAsE haha, now that's some bad luck! Good thing that you were able to restore from a cloud backup. But for increased hard drive investor attraction, be sure to make an extra backup in the blockchain running on an IoT device as well (:
Add Comment