On Wed, Jan 28, 2009 at 11:11 AM, kcrisman <kcris...@gmail.com> wrote: > > Dear Support, > > A while back my sysadmin tried to move our students' notebooks and > login information off of an older VMWare image of Sage into a new > one. It didn't work and he reports as follows: > >> I would expect that there are two main things that would need to be moved to >> the new system; the login/password database and the actual worksheets. I'm >> not sure I even figured out how to move the login information (i.e. I tried >> but it didn't work -- I don't really remember what went wrong). What I >> think should work is to copy the entire /home/sage_notebook folder to the >> new machine; as far as I can tell all the notebook files _and_ login >> database files should be in that folder or it's subfolders. >
*All* information -- worksheets, logins, etc. -- is in /home/notebook/sage_notebook. To migrate the entire notebook to a new vmware image all you have to do is copy the sage_notebook directory over. That's what your sysadmin evidently tried maybe to do, and if he/she were to do it then it would work fine. Commands to do this: cd /home/notebook/ tar jcvf sage_notebook.tar.bz2 sage_notebook scp sage_notebook.tar.bz2 [somewhere] login to new machine cd /home/notebook rm -rf sage_notebook scp [somewhere]/sage_notebook.tar.bz2 tar jxvf sage_notebook.tar.bz2 That's it. > Okay, I'm not sure if this is already somewhere in the help files - > shouldn't this work? I post it now because 3.3 is going to be > extremely helpful for me, and I have already noticed some things in > the 3.2 series that work that our server's (3.0.6) version doesn't > support, so upgrading would be great if I can let students keep all > their previously created worksheets and accounts. You could also just upgrade in place. Make a copy of your vmware image (or snapshot vmware, if you are using vmware workstation, fusion, or server), then just do # sudo su # sage -upgrade and wait. The worst that would happen is that it fails, in which case you did all this on a copy anyways, so just delete that copy. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---