Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Dev systems shouldn't be backed up!

Dev systems shouldn't be backed up!

Scheduled Pinned Locked Moved The Lounge
sysadmincollaborationquestion
36 Posts 21 Posters 0 Views 1 Watching
  • 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.
  • S Super Lloyd

    I guess the upside should be that your team have complete control of the machine, right? So you could include backup in your deployments scripts/tool/procedure/whatever, right!? ;)

    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

    5 Offline
    5 Offline
    5teveH
    wrote on last edited by
    #9

    Super Lloyd wrote:

    I guess the upside should be that your team have complete control of the machine, right?

    We have a large IT department, broken up into many 'silos'. Developers are just developers and have no say on infrastructure!

    Super Lloyd wrote:

    So you could include backup in your deployments scripts/tool/procedure/whatever, right!?

    Had we known this was the 'policy', yes.

    1 Reply Last reply
    0
    • D den2k88

      5teveH wrote:

      Our "ApplicationHost.config" file got wiped a few days back

      Why wasn't it under source control?

      5teveH wrote:

      Dev systems shouldn't be backed up.

      Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes). GIT is there with branches and commit messages, when you get to a milestone or at least a stable version you just push it in a master / release / whatyoucallit branch with a meaningful commit message and voila, here comes the vackup and the diff history in a single package.

      GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

      Sander RosselS Offline
      Sander RosselS Offline
      Sander Rossel
      wrote on last edited by
      #10

      den2k88 wrote:

      Why wasn't it under source control?

      Because it contained secrets like connection strings and passwords and machine specific information such as file paths that you generally don't want in source control?

      Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

      1 Reply Last reply
      0
      • S Slacker007

        my shop... The entire team is work remote. We have no formal office space. We use Microsoft Teams to communicate and meet. -- we develop locally on our dev laptops, running synchronized local databases using DbUp(see below). -- visual studio 2019, etc. -- We use DevOps and Git. We use DevOps continuous integration with build and release pipelines. -- We use AWS for DEV, QA, UAT, and PROD (applications, sites, SQL Server dbs, etc.). -- Everything that is deployed to an environment (DEV, QA, UAT, PROD) is in source control (Git), including all configuration files (app, web, appsettings.json, etc.). We never backup anything except our databases in DEV, QA and Prod. All code is in source control, obviously. We have 14 developers We have 2 engineers that manage AWS and all build and release pipelines. We have 4+ QA testers. We have 5+ Business Analysists. We have one Release Manager who is also our Scrum master, if you want to call it that. Home - DbUp[^]

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #11

        Exactly, source is in source control and can be deployed at any time, including all configuration for that specific environment :thumbsup:

        Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

        1 Reply Last reply
        0
        • D den2k88

          5teveH wrote:

          Our "ApplicationHost.config" file got wiped a few days back

          Why wasn't it under source control?

          5teveH wrote:

          Dev systems shouldn't be backed up.

          Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes). GIT is there with branches and commit messages, when you get to a milestone or at least a stable version you just push it in a master / release / whatyoucallit branch with a meaningful commit message and voila, here comes the vackup and the diff history in a single package.

          GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

          5 Offline
          5 Offline
          5teveH
          wrote on last edited by
          #12

          den2k88 wrote:

          Why wasn't it under source control?

          Yes, everything we change is under Source Control, but our developers don't make direct changes to ApplicationHost.config. That's done by our deployment tool - which clearly has a bug! But that wasn't my main concern. It just highlighted the 'no back-up policy'. What if we had a complete fail of our Dev system?

          N 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            Nope, not just you. Dev systems need more frequent backups than "ordinary" systems, because it's too easy to lose stuff through a tiny mistake. And dev systems tend to change more than "normal user" data does as well. Not telling you they stopped is ... incompetantcy.

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            5 Offline
            5 Offline
            5teveH
            wrote on last edited by
            #13

            OriginalGriff wrote:

            Not telling you they stopped is ... incompetantcy.

            Yep! That was the thing that really wound me up! :mad:

            1 Reply Last reply
            0
            • 5 5teveH

              den2k88 wrote:

              Why wasn't it under source control?

              Yes, everything we change is under Source Control, but our developers don't make direct changes to ApplicationHost.config. That's done by our deployment tool - which clearly has a bug! But that wasn't my main concern. It just highlighted the 'no back-up policy'. What if we had a complete fail of our Dev system?

              N Offline
              N Offline
              Nelek
              wrote on last edited by
              #14

              5teveH wrote:

              What if we had a complete fail of our Dev system?

              You broke it, you pay it ;P :-D

              M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

              1 Reply Last reply
              0
              • D den2k88

                5teveH wrote:

                Our "ApplicationHost.config" file got wiped a few days back

                Why wasn't it under source control?

                5teveH wrote:

                Dev systems shouldn't be backed up.

                Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes). GIT is there with branches and commit messages, when you get to a milestone or at least a stable version you just push it in a master / release / whatyoucallit branch with a meaningful commit message and voila, here comes the vackup and the diff history in a single package.

                GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                D Offline
                D Offline
                dandy72
                wrote on last edited by
                #15

                A dev system is much more than just the source files that are copied to it. A source control system is not the same as a backup system.

                D 1 Reply Last reply
                0
                • D dandy72

                  A dev system is much more than just the source files that are copied to it. A source control system is not the same as a backup system.

                  D Offline
                  D Offline
                  den2k88
                  wrote on last edited by
                  #16

                  And you'd trust your company to keep a backup of it? Image, zrchive and up into the backupped file server and you're on.

                  GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                  D 1 Reply Last reply
                  0
                  • 5 5teveH

                    ... that is, according to one our senior IT infrastructure guys! Our "ApplicationHost.config" file got wiped a few days back - and, (before we found out about inetpub\history), we asked the infrastructure team to restore it from back-up. "It's a dev system. We don't back-up Dev systems.", was the reply. When we challenged this, their team lead responded: "Dev systems shouldn't be backed up." :wtf: Wha? :confused: First of all, it always used to be backed up - so when did that change? Without us knowing? Secondly, the Dev system is the most volatile and most likely to get b*ggered by a developer. Surely, that alone, justifies back-up? I am pretty much gob-smacked by this. :wtf: Is this just me? :~

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #17

                    One of the problems here is that everything has to be backed up and that leads to long delays in getting databases and such spun up. I used to be able to have local databases as sandboxes, but they won't allow that anymore.

                    1 Reply Last reply
                    0
                    • 5 5teveH

                      ... that is, according to one our senior IT infrastructure guys! Our "ApplicationHost.config" file got wiped a few days back - and, (before we found out about inetpub\history), we asked the infrastructure team to restore it from back-up. "It's a dev system. We don't back-up Dev systems.", was the reply. When we challenged this, their team lead responded: "Dev systems shouldn't be backed up." :wtf: Wha? :confused: First of all, it always used to be backed up - so when did that change? Without us knowing? Secondly, the Dev system is the most volatile and most likely to get b*ggered by a developer. Surely, that alone, justifies back-up? I am pretty much gob-smacked by this. :wtf: Is this just me? :~

                      O Offline
                      O Offline
                      obermd
                      wrote on last edited by
                      #18

                      Only if the devs are full local administrators on their machines, so they can back them up.

                      1 Reply Last reply
                      0
                      • L lmoelleb

                        IT is also being squeezed for manpower, so their typical response is only dealing with systems set up to their standards and maintained by themselves. Can't really blame them if their manpower to deal with exceptions has been taken away by a bean-counter not understanding consequences. I would expect the bean-counter got a bonus for saving this manpower in IT. Sure you are going to waste a lot more manpower - but that waste will look like you not being productive, so that's clearly not the bean-counters fault. So in short, he made the right choice seen from the top. If you work for a software development company it is typically a bit easier to get dev systems included (you can argue they are essential to the core business - i.e. server down, production halted) - if software development is just a "side-kick" in the business, then it is going to be hard and you should probably do your own backup. IT might be able to provide a file share you can dump the files on and then they will back up those. Alternatively create scripts setting up the servers - and have that in source control - which is hopefully backed up....

                        O Offline
                        O Offline
                        obermd
                        wrote on last edited by
                        #19

                        Yes, I can blame them. They should be automating these backups so they don't take manpower to do.

                        L 1 Reply Last reply
                        0
                        • D den2k88

                          And you'd trust your company to keep a backup of it? Image, zrchive and up into the backupped file server and you're on.

                          GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                          D Offline
                          D Offline
                          dandy72
                          wrote on last edited by
                          #20

                          YMMV, but in a lot of organizations it's IT's job to back everything up. Some companies go out of their way to ensure their developers don't waste spend their time doing menial IT tasks. Personally - at home - I don't do any backup from within an OS. I have everything running in VMs, and simply copy disk image files onto other drives, either across my LAN or external drives on USB. Has served me well for over a decade, and even restoring to another host was rather trivial. Not recommended for all scenarios however (eg, I'm not including VM metadata). [Edit] Another random thought: Depending on what you do with them, test systems could definitely disqualify for backing up. I very often find myself putting together test VMs that I would consider to be throwaway systems. But I'd call those QA machines, not dev machines. A dev machine is very often a lot more complex in setting up juuuuust right.

                          M 1 Reply Last reply
                          0
                          • 5 5teveH

                            ... that is, according to one our senior IT infrastructure guys! Our "ApplicationHost.config" file got wiped a few days back - and, (before we found out about inetpub\history), we asked the infrastructure team to restore it from back-up. "It's a dev system. We don't back-up Dev systems.", was the reply. When we challenged this, their team lead responded: "Dev systems shouldn't be backed up." :wtf: Wha? :confused: First of all, it always used to be backed up - so when did that change? Without us knowing? Secondly, the Dev system is the most volatile and most likely to get b*ggered by a developer. Surely, that alone, justifies back-up? I am pretty much gob-smacked by this. :wtf: Is this just me? :~

                            J Offline
                            J Offline
                            Jacquers
                            wrote on last edited by
                            #21

                            All the important code is in source control and several folders get synced via OneDrive. It would still be a pain to set up my dev environment again, but most things are backed up.

                            1 Reply Last reply
                            0
                            • 5 5teveH

                              ... that is, according to one our senior IT infrastructure guys! Our "ApplicationHost.config" file got wiped a few days back - and, (before we found out about inetpub\history), we asked the infrastructure team to restore it from back-up. "It's a dev system. We don't back-up Dev systems.", was the reply. When we challenged this, their team lead responded: "Dev systems shouldn't be backed up." :wtf: Wha? :confused: First of all, it always used to be backed up - so when did that change? Without us knowing? Secondly, the Dev system is the most volatile and most likely to get b*ggered by a developer. Surely, that alone, justifies back-up? I am pretty much gob-smacked by this. :wtf: Is this just me? :~

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #22

                              I've been squeezed for disk space by control freaks and supervising sadists. So, it's not just you. The subtext was: hardware is more valuable than a system programmer's weekends off.

                              It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                              1 Reply Last reply
                              0
                              • O obermd

                                Yes, I can blame them. They should be automating these backups so they don't take manpower to do.

                                L Offline
                                L Offline
                                lmoelleb
                                wrote on last edited by
                                #23

                                Automating also takes manpower. Taking away manpower saves money. Bean-counters get bonus for saving money. Bean-counters do not get blame for missing backups. It is a VERY easy decision to make for the bean-counters. The problem is too much thinking in boxes and managing by them. This is typically NOT done by the people on the floor in any department. It is pushed down from above by setting stupid goals and budgets. So no, I do not blame IT in a case like this, I blame upper management for turning everything into a spread-sheet where anything they don't understand is simply deleted.

                                H 1 Reply Last reply
                                0
                                • 5 5teveH

                                  ... that is, according to one our senior IT infrastructure guys! Our "ApplicationHost.config" file got wiped a few days back - and, (before we found out about inetpub\history), we asked the infrastructure team to restore it from back-up. "It's a dev system. We don't back-up Dev systems.", was the reply. When we challenged this, their team lead responded: "Dev systems shouldn't be backed up." :wtf: Wha? :confused: First of all, it always used to be backed up - so when did that change? Without us knowing? Secondly, the Dev system is the most volatile and most likely to get b*ggered by a developer. Surely, that alone, justifies back-up? I am pretty much gob-smacked by this. :wtf: Is this just me? :~

                                  M Offline
                                  M Offline
                                  Member 9167057
                                  wrote on last edited by
                                  #24

                                  Actually, that makes sense. The two categories of important data on a dev system are a) developed product b) development environment a) is already backed up in source control. b) has to be easy to set up in the first place (i.e. for onboarding) so you gotta have a single installer or a script which sets everything up. That script, of course, has to be backed up, but the actual dev machine can be set up from scratch on any empty system.

                                  L 5 2 Replies Last reply
                                  0
                                  • D dandy72

                                    YMMV, but in a lot of organizations it's IT's job to back everything up. Some companies go out of their way to ensure their developers don't waste spend their time doing menial IT tasks. Personally - at home - I don't do any backup from within an OS. I have everything running in VMs, and simply copy disk image files onto other drives, either across my LAN or external drives on USB. Has served me well for over a decade, and even restoring to another host was rather trivial. Not recommended for all scenarios however (eg, I'm not including VM metadata). [Edit] Another random thought: Depending on what you do with them, test systems could definitely disqualify for backing up. I very often find myself putting together test VMs that I would consider to be throwaway systems. But I'd call those QA machines, not dev machines. A dev machine is very often a lot more complex in setting up juuuuust right.

                                    M Offline
                                    M Offline
                                    Mike Winiberg
                                    wrote on last edited by
                                    #25

                                    Exactly. All my dev is done in VMs which I can snapshot before a major change/update in case it borks. These VMs are replicated automatically between two machines (desktop and a dev laptop) and are also, though only occasionally, physically, backed up to another server just in case! This is all in addition to source control. On more than one occasion I have had to either copy back one of the clones or at least fire one up to recover something completely destroyed by an OS update etc. (This applies to Linux and MS stuff!) It is hard to envisage any setup no matter how small or large where backing up dev machines, at least occasionally (when known to be in good working order, say after initial setup and config) is not a good idea.

                                    1 Reply Last reply
                                    0
                                    • D den2k88

                                      5teveH wrote:

                                      Our "ApplicationHost.config" file got wiped a few days back

                                      Why wasn't it under source control?

                                      5teveH wrote:

                                      Dev systems shouldn't be backed up.

                                      Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes). GIT is there with branches and commit messages, when you get to a milestone or at least a stable version you just push it in a master / release / whatyoucallit branch with a meaningful commit message and voila, here comes the vackup and the diff history in a single package.

                                      GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                                      C Offline
                                      C Offline
                                      Cpichols
                                      wrote on last edited by
                                      #26

                                      Git is limited by the devs who use it. If they keep origin backed up and push their branches pretty regularly, it'll be fine, but even then all that work between pushes is in danger w/o backup of the individual repositories on the dev server.

                                      1 Reply Last reply
                                      0
                                      • D den2k88

                                        5teveH wrote:

                                        Our "ApplicationHost.config" file got wiped a few days back

                                        Why wasn't it under source control?

                                        5teveH wrote:

                                        Dev systems shouldn't be backed up.

                                        Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes). GIT is there with branches and commit messages, when you get to a milestone or at least a stable version you just push it in a master / release / whatyoucallit branch with a meaningful commit message and voila, here comes the vackup and the diff history in a single package.

                                        GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

                                        B Offline
                                        B Offline
                                        BryanFazekas
                                        wrote on last edited by
                                        #27

                                        den2k88 wrote:

                                        Arguable - GIT is there for a reason. You don't back up dev systems because they are not stable, any snapshot in time won't be accurate or valid for long, or it may not be valid at all (i.e. a broken build, broken system due to ongoing changes).

                                        This argument leaves out the time it takes to rebuild a DEV PC, which isn't trivial. My employer has several standard disk images, but none contain all tools a particular developer needs. This also doesn't cover the loss of items backed up to the local git but not the main instance.

                                        1 Reply Last reply
                                        0
                                        • M Member 9167057

                                          Actually, that makes sense. The two categories of important data on a dev system are a) developed product b) development environment a) is already backed up in source control. b) has to be easy to set up in the first place (i.e. for onboarding) so you gotta have a single installer or a script which sets everything up. That script, of course, has to be backed up, but the actual dev machine can be set up from scratch on any empty system.

                                          L Offline
                                          L Offline
                                          lmoelleb
                                          wrote on last edited by
                                          #28

                                          c) Various servers needed for the CD/CI pipeline (Build agents, deployment targets, ...). Either you need a backup of these, or (my preference) also script the setup of these and keep that in source control. That said, scripting our LDAP test server turned out to be rather frustrating, so that is just a "step by step" setup guide in our Wiki that could be done in half a minute to an hour.

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups