Not signed in (Sign In)

Start a new discussion

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-categories 2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry differential-topology digraphs duality elliptic-cohomology enriched fibration finite foundations functional-analysis functor galois-theory gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limit limits linear linear-algebra locale localization logic manifolds mathematics measure-theory modal modal-logic model model-category-theory monads monoidal monoidal-category-theory morphism motives motivic-cohomology natural nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf simplicial space spin-geometry stable-homotopy-theory string string-theory subobject superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorAndrew Stacey
    • CommentTimeApr 10th 2010

    I've never been happy with the fact that only Urs, Toby, and I can make proper backups of the nLab, and that owners of personal webs have no easy way to take backups of their webs. So I've written a little program which takes the database and spits the contents of the pages out into bzr repositories which are available over the web. It's easy to take a backup of such a repository, and to automatically schedule updates each day. There's one repository for each personal web, and the repositories for webs that have passwords are also password protected. What you get from this is the contents of each page (including history) together with the basic meta-data (who edited what and similar stuff). It's not quite so easy to simply reconstruct an Instiki installation from these backups as from a raw backup of the database, but this seems the easiest way to make it possible for anyone to keep a backup of whatever they are interested in.

    It's quite possible that I'm the only one round here that understands what a "bzr repository" is! No matter. If someone wants help setting up a backup for their personal web, or for the nLab itself, then post a response here and I'll talk you through it.

    Indeed, given that the nLab is quite large, the initial download for the nLab is also quite large and so if someone wants to start keeping backups for the nLab itself, then it's best if I send you the initial repository as a suitable archive file (zip or tar or something) than you start by downloading it from the server. Once it's set up then the increments aren't much to download each day.

    In fact, I'm not going to put the link here just yet to protect against someone just going out and effectively downloading the whole nLab in one go! That way, I can keep an eye on who's doing it and ensure that this doesn't end up taking up too much bandwidth (I have a backup plan in place if it does).

    But I recommend that owners of personal webs do this. If you really feel that this is outside your comfort zone, I can set up my machine to backup anyone else's personal web as well (at the moment, I just do the nLab). Again, post a response here if you'd like me to do that.

    • CommentRowNumber2.
    • CommentAuthorMike Shulman
    • CommentTimeApr 11th 2010

    I would like to do this for my personal web. And I even know what a bzr repository is! So I’ll probably be good if you just give me the link.

    How big is the main nLab download?

    • CommentRowNumber3.
    • CommentAuthorEric
    • CommentTimeApr 11th 2010

    I would like to have some occasional backup of my web, but I don’t know what a bzr repository is :)

    • CommentRowNumber4.
    • CommentAuthorUrs
    • CommentTimeApr 11th 2010

    Regardless of what I know and do, can I trust that some backup of the entire nLab, including all the personal webs, is kept somewhere? Or is this some thing that needs me to take care of it?

    • CommentRowNumber5.
    • CommentAuthorAndrew Stacey
    • CommentTimeApr 11th 2010

    @Eric: bzr is the short name for the version-control system "bazaar". The main page for this is http://bazaar.canonical.com/en/. There, you should be able to download the correct version for your operating system. That's where you need to start. (Please let me know if you want more detailed instructions.)

    @Mike: The main nlab repository is 117Mb, which is why I'd rather start people off with a "seed". The next biggest (probably Urs' web) is less than 6Mb!

    @Urs: that's partly what this is meant to fix: the fact that there's no automatic system for backups. The nlab produces backups, but they simply sit on the nlab server waiting for you, me, and Toby to download them. Unfortunately, to download them, you need to properly log in so you can't set it up automatically.

    • CommentRowNumber6.
    • CommentAuthorUrs
    • CommentTimeApr 12th 2010

    I see. So I need to make a backup myself as soon as possible.

    I would like to suggest that anyone who thinks about doing a backup of his personal web does one of the entire nLab at the same time. The more copies there are around, the less paranoid we all have to feel.

    • CommentRowNumber7.
    • CommentAuthorAndrew Stacey
    • CommentTimeApr 12th 2010

    Urs, I completely agree with that. The only thing I’m trying to avoid here is lots of people starting their backup of the nlab from scratch. I want to be sure that they get the initial repository from me since it’s rather large.

    • CommentRowNumber8.
    • CommentAuthorUrs
    • CommentTimeApr 12th 2010
    • (edited Apr 12th 2010)

    Right, Andrew, I understand. All I am saying is that if anyone goes through the trouble of producing a backup – by getting an initial repository from you ! – should please consider doing a backup of the full nLab, not just of one personal web.

    Digital information is volatile like a single DNA strand is. The fact that DNA/RNA information is passed on to us through a good 4.5 billion years now and through a handful of planet-wide catastrophes is because copies were made in abundance.

    • CommentRowNumber9.
    • CommentAuthorAndrew Stacey
    • CommentTimeApr 12th 2010

    Again, I agree.

    It’d be useful to put some instructions on how to do the backups (maybe on nlabmeta); but as I already know exactly how to do it, I’m the worst person to write the instructions!

    Well, maybe I could start by writing the basic steps at backups (nlabmeta) and then others can fill in the details.

    • CommentRowNumber10.
    • CommentAuthorMike Shulman
    • CommentTimeApr 12th 2010

    I added some comments to backups (nlabmeta) about the commands one needs to run in each case. Andrew, please correct if I am wrong; I am not as familiar with bzr as with some other vcs.

    • CommentRowNumber11.
    • CommentAuthorspitters
    • CommentTimeMar 14th 2015

    This issue came up again here. Perhaps it is possible to also do a backup to some central git repo, i.e. github. Adeel commented that the nlab (in bzr) may be too big (1GB) for a free github account. bitbucket has a 1GB soft limit and a 2GB hard limit. However, git is known for its efficient data structures.

    It may also be possible to use other git repos, i.e. one run by a university.

    • CommentRowNumber12.
    • CommentAuthorZhen Lin
    • CommentTimeMar 14th 2015

    My impression is that git has “efficient” data structures in the sense of speed, not size.

  1. I know nothing about it, but this link would suggest that git could make a significant difference regarding size. I have used both mercurial and git with bitbucket, and am entirely content with both, and with bitbucket.

    I agree with Bas: I would have thought it possible to host a git repository on a university server. Around 1GB should, I would think, be easy to find space for on such a server.

    Have you had the chance to think any more about the possibility of backups for the nForum, Adeel?

    • CommentRowNumber14.
    • CommentAuthoradeelkh
    • CommentTimeMar 18th 2015

    Richard: thanks for reminding me, I’ll set that up soon.

  2. I believe that GitHub is very friendly towards academic purposes, so they might allow a somewhat larger repository. I have communicated GitHub statt before and could ask them, if wanted.

    • CommentRowNumber16.
    • CommentAuthoradeelkh
    • CommentTimeMar 25th 2015

    Thanks! Since the repository is at the moment still slightly under 1GB, I am trying to upload it to GitHub right now. I’m using a tool called bzr-git which allows pushing and pulling to/from git repositories. It will take some time though, as it’s been uploading all day and it’s only at 25%. Once that’s uploaded I will try to contact the GitHub staff.

  3. Apologies for the late reply to #14, Adeel: that would be great!

    Great also to hear that you are looking into uploading the nLab to GitHub!

    • CommentRowNumber18.
    • CommentAuthorDmitri Pavlov
    • CommentTimeSep 14th 2015
    • (edited Sep 14th 2015)
    What is the current status of the nLab repo?

    The bazaar repository seems to be currently broken; when I try to pull I get

    Using saved parent location: http://www.ncatlab.org/bzr/1/
    bzr: ERROR: Not a branch: "http://www.ncatlab.org/bzr/1/".
    • CommentRowNumber19.
    • CommentAuthorDmitri Pavlov
    • CommentTimeSep 17th 2015
    Is there any other way to maintain a backup of the nLab repo?

    What happened to the git repo, for example?
    • CommentRowNumber20.
    • CommentAuthorUrs
    • CommentTimeSep 17th 2015
    • (edited Sep 17th 2015)

    Currently Joseph Ramsey, who, kindly and voluntarily, is physically handling the server that the nnLab is running on, is backing up by hand to an external hard drive. And it seems Adeel is busy. If you want to lend a hand, maybe best to contact Joe directly.

    • CommentRowNumber21.
    • CommentAuthorDmitri Pavlov
    • CommentTimeJun 21st 2018

    The git repo https://github.com/ncatlab/nlab-content is no longer updated: the last commit was on April 16. Would it be possible to fix this?

  4. I will take a look when I get the chance, hopefully over the weekend.

Add your comments
  • Please log in or leave your comment as a "guest post". If commenting as a "guest", please include your name in the message as a courtesy. Note: only certain categories allow guest posts.
  • To produce a hyperlink to an nLab entry, simply put double square brackets around its name, e.g. [[category]]. To use (La)TeX mathematics in your post, make sure Markdown+Itex is selected below and put your mathematics between dollar signs as usual. Only a subset of the usual TeX math commands are accepted: see here for a list.

  • (Help)