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. a newbie question about GitHub hosting

a newbie question about GitHub hosting

Scheduled Pinned Locked Moved The Lounge
questionhosting
20 Posts 15 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 Southmountain

    now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

    diligent hands rule....

    Mircea NeacsuM Offline
    Mircea NeacsuM Offline
    Mircea Neacsu
    wrote on last edited by
    #4

    For any practical purpose: no. Keep in mind that you have a repository on your computer(s) that you push to GitHub. Even if GitHub dies or explodes or what not, you still have the repository on your computer(s). Assuming you have two computers, a desktop and a laptop, plus the repo on GitHub there are already 3 copies of your code and you are following the 3-2-1 backup rule (3 copies on 2 media with 1 offsite). If you want an added layer of security you can make an account with another Git provider like Bitbucket or Gitlab and have 2 or more remotes. At a point maintaining all of them in sync becomes a hassle.

    Mircea

    S 1 Reply Last reply
    0
    • S Southmountain

      now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

      diligent hands rule....

      J Offline
      J Offline
      jack barsky
      wrote on last edited by
      #5

      Web development is the process of building, creating, and maintaining websites and web applications. It includes web design, web content development, client-side/server-side scripting, and network security configuration. Web development may also include e-commerce development, web engineering, and web server configuration mlsdev.com[https://mlsdev.com] .

      1 Reply Last reply
      0
      • S Southmountain

        now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

        diligent hands rule....

        A Offline
        A Offline
        Amarnath S
        wrote on last edited by
        #6

        One suggestion is: For all your public projects, write interesting articles here on CP and paste identical code as zip attached to that article. This way you'll have two public domain copies of the same code, and losing both of them together has a low probability. (Need to personally take care to ensure no version differences between these two public repositories). For your private repositories, the only possible backups are your USB drives.

        1 Reply Last reply
        0
        • S Southmountain

          now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

          diligent hands rule....

          T Offline
          T Offline
          theoldfool
          wrote on last edited by
          #7

          The probability of losing data is directly proportional to the importance of it.

          >64 Some days the dragon wins. Suck it up.

          1 Reply Last reply
          0
          • 0 0x01AA

            Quote:

            my question: is there any possibility that GitHub lost my projects?

            GH says: Never! But Lol: Are you really that naive?

            S Offline
            S Offline
            Southmountain
            wrote on last edited by
            #8

            no. I am serious about this question. currently I used paid service from another company to host my projects...

            diligent hands rule....

            S 1 Reply Last reply
            0
            • Mircea NeacsuM Mircea Neacsu

              For any practical purpose: no. Keep in mind that you have a repository on your computer(s) that you push to GitHub. Even if GitHub dies or explodes or what not, you still have the repository on your computer(s). Assuming you have two computers, a desktop and a laptop, plus the repo on GitHub there are already 3 copies of your code and you are following the 3-2-1 backup rule (3 copies on 2 media with 1 offsite). If you want an added layer of security you can make an account with another Git provider like Bitbucket or Gitlab and have 2 or more remotes. At a point maintaining all of them in sync becomes a hassle.

              Mircea

              S Offline
              S Offline
              Southmountain
              wrote on last edited by
              #9

              thank you! I do have another SVN services to host my projects...

              diligent hands rule....

              Mircea NeacsuM 1 Reply Last reply
              0
              • S Southmountain

                thank you! I do have another SVN services to host my projects...

                diligent hands rule....

                Mircea NeacsuM Offline
                Mircea NeacsuM Offline
                Mircea Neacsu
                wrote on last edited by
                #10

                You’re welcome! Keep in mind that Git, as opposed to SVN keeps the whole repository on your machine. If the remote repository disappears, you still have all the code and history. It is normal to work and commit locally and push to the remote repository only from time to time.

                Mircea

                S 1 Reply Last reply
                0
                • Mircea NeacsuM Mircea Neacsu

                  You’re welcome! Keep in mind that Git, as opposed to SVN keeps the whole repository on your machine. If the remote repository disappears, you still have all the code and history. It is normal to work and commit locally and push to the remote repository only from time to time.

                  Mircea

                  S Offline
                  S Offline
                  Southmountain
                  wrote on last edited by
                  #11

                  your info gives me more understanding of Git. thanks again:rose:

                  diligent hands rule....

                  1 Reply Last reply
                  0
                  • S Southmountain

                    now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

                    diligent hands rule....

                    R Offline
                    R Offline
                    RickZeeland
                    wrote on last edited by
                    #12

                    If you don't trust GitHub you can also create your own Git server with Gitea[^], which is quite easy to use as it mimics the GitHub user interface. We have been using it for years on a Windows 10 server without any major problems, it is also available for Linux and Mac. Our reason for self-hosting is not so much that we think GitHub can fail, but company policy dictates that no code may leave the premises.

                    C 1 Reply Last reply
                    0
                    • S Southmountain

                      no. I am serious about this question. currently I used paid service from another company to host my projects...

                      diligent hands rule....

                      S Offline
                      S Offline
                      Shao Voon Wong
                      wrote on last edited by
                      #13

                      More than 10 years ago, I also used a paid hosting which advertised itself as rock solid. In 2014, they got hacked and did not want to pay the ransom and the hacker wiped clean their storage together with my repo and they went down under. It is better to back up your repo in several places and cloud. I have many old Github repo not on my local machine. Looks like I better save them locally this weekend.

                      J 1 Reply Last reply
                      0
                      • S Southmountain

                        now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

                        diligent hands rule....

                        J Offline
                        J Offline
                        Jeremy Falcon
                        wrote on last edited by
                        #14

                        Southmountain wrote:

                        is there any possibility that GitHub lost my projects

                        No. Don't delete your repo.

                        Jeremy Falcon

                        1 Reply Last reply
                        0
                        • R RickZeeland

                          If you don't trust GitHub you can also create your own Git server with Gitea[^], which is quite easy to use as it mimics the GitHub user interface. We have been using it for years on a Windows 10 server without any major problems, it is also available for Linux and Mac. Our reason for self-hosting is not so much that we think GitHub can fail, but company policy dictates that no code may leave the premises.

                          C Offline
                          C Offline
                          charlieg
                          wrote on last edited by
                          #15

                          thank you that link to gitea.

                          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                          1 Reply Last reply
                          0
                          • 0 0x01AA

                            Quote:

                            my question: is there any possibility that GitHub lost my projects?

                            GH says: Never! But Lol: Are you really that naive?

                            D Offline
                            D Offline
                            DrWalter PE
                            wrote on last edited by
                            #16

                            Everyone knows that the internet never loses anything!

                            1 Reply Last reply
                            0
                            • S Southmountain

                              now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

                              diligent hands rule....

                              G Offline
                              G Offline
                              giulicard
                              wrote on last edited by
                              #17

                              If I remember correctly, git can also work with an ssh server. You don't have any of the functionality of github, but you can alternatively also save your sources on an ssh server that you personally have control of.

                              1 Reply Last reply
                              0
                              • S Southmountain

                                now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

                                diligent hands rule....

                                J Offline
                                J Offline
                                jweled
                                wrote on last edited by
                                #18

                                No hosting platform is truly rock-solid, as people have pointed out in this thread. Personally, I keep some projects on GitHub but always keep a local copy as well, and (hopefully) that's enough for me.

                                1 Reply Last reply
                                0
                                • S Southmountain

                                  now I start to upload some personal projects to GitHub. Some are public and some are private. my question: is there any possibility that GitHub lost my projects?

                                  diligent hands rule....

                                  M Offline
                                  M Offline
                                  MikeCO10
                                  wrote on last edited by
                                  #19

                                  Quote:

                                  is there any possibility that GitHub lost my projects?

                                  Well, that's past tense, so does it appear that way? Assuming future tense, Is there "any possibility"? Of course, it is possible. But a repo, which is arguably hosting, should never be the only copy of your work. Never, ever. Whether it's pushed from your local repo or uploaded as you want, you should have a local copy and I'm a fan of that being backed up as well. Twice. But if you're really using it to "host" public projects where you are not looking for editors, personally, I'd have it on a real website where you can do a detailed explanation, demo, whatever, that a wider audience can utilize.

                                  1 Reply Last reply
                                  0
                                  • S Shao Voon Wong

                                    More than 10 years ago, I also used a paid hosting which advertised itself as rock solid. In 2014, they got hacked and did not want to pay the ransom and the hacker wiped clean their storage together with my repo and they went down under. It is better to back up your repo in several places and cloud. I have many old Github repo not on my local machine. Looks like I better save them locally this weekend.

                                    J Offline
                                    J Offline
                                    jschell
                                    wrote on last edited by
                                    #20

                                    Shao Voon Wong wrote:

                                    It is better to back up your repo in several places and cloud.

                                    Just noting of course that you should do backups of your computer anyways. You might slice and dice it several ways but it should cover your local source control repos (regardless of type) also.

                                    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