climateprediction.net (CPDN) home page
Thread 'How to move tasks from one PC to another PC'

Thread 'How to move tasks from one PC to another PC'

Message boards : Number crunching : How to move tasks from one PC to another PC
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user15026

Send message
Joined: 7 Sep 04
Posts: 3
Credit: 8,039
RAC: 0
Message 33091 - Posted: 26 Mar 2008, 10:14:49 UTC

I don\'t know the answer, but a quick look at one of the readme\'s gives me the idea of backing up on one PC and then restoring to another, would this work?

I\'m using Ubuntu 7.10, with BOINC Manager version 5.10.8.

The reason for wanting to move tasks from one PC to another, is simply that CPDN is straining my poor notebook and I would prefer running it on a desktop PC [also Ubuntu 7.10 and also x86].
ID: 33091 · Report as offensive     Reply Quote
ProfileIain Inglis

Send message
Joined: 9 Jan 07
Posts: 467
Credit: 14,549,176
RAC: 317
Message 33092 - Posted: 26 Mar 2008, 12:13:27 UTC

Yes, that\'s right. If the two machines are compatible then copying the entire BOINC folder is all that\'s needed. (Windows requires BOINC to be re-installed, but I don\'t think that\'s necessary in Linux.)
ID: 33092 · Report as offensive     Reply Quote
Profilemo.v
Volunteer moderator
Avatar

Send message
Joined: 29 Sep 04
Posts: 2363
Credit: 14,611,758
RAC: 0
Message 33094 - Posted: 26 Mar 2008, 19:54:23 UTC
Last modified: 26 Mar 2008, 19:56:08 UTC

Hi Iain

Last week I moved the complete contents of a boinc folder from one computer with Windows to another with Windows. The second computer already had boinc installed and I didn\'t need to reinstall boinc after moving the folder contents.

Later the same day I moved the boinc folder contents back to their original home and didn\'t need to reinstall boinc this time either. Both times the climate models started up immediately.

When I did the same sort of boinc folder swap between 2 Windows machines over a year ago I think I did have to reinstall boinc. Maybe this was necessary with earlier boinc versions.

It can\'t depend on both computers having exactly the same boinc version because one of my two current computers has 5.10.28 while the other has 5.10.30.
Cpdn news
ID: 33094 · Report as offensive     Reply Quote
old_user15026

Send message
Joined: 7 Sep 04
Posts: 3
Credit: 8,039
RAC: 0
Message 33114 - Posted: 28 Mar 2008, 0:45:08 UTC

Ok, this might be obvious to everyone else running BOINC+CPDN in Linux, but I could not figure out where the \"BOINC folder\" actually is that I need to backup, and as far as I can tell all the FAQs and READMEs etc are slanted towards Windoze.

I have just spent a few minutes locate\'ing all occurrences of boinc, and I *think* I might have found the boinc folder I need to backup in Linux:
/var/lib/boinc-client/
specifically:
/var/lib/boinc-client/projects/climateprediction.net

If you\'re running BOINC in Linux, please let me know if you agree that I need to backup /var/lib/boinc-client/.
ID: 33114 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 33115 - Posted: 28 Mar 2008, 1:36:21 UTC


/var/lib/boinc-client/projects/climateprediction.net

is only the climateprediction.net sub-folder.
You need the root folder of all of this PLUS all of it\'s sub-folders.

The root folder should have the BOINC progs in it. At least it does on Windows.
(It\'s possibly /var/lib/boinc-client, looking at the folder string.)

ID: 33115 · Report as offensive     Reply Quote
old_user170894
Avatar

Send message
Joined: 3 Mar 06
Posts: 96
Credit: 353,185
RAC: 0
Message 33116 - Posted: 28 Mar 2008, 5:16:00 UTC - in response to Message 33115.  


/var/lib/boinc-client/projects/climateprediction.net

is only the climateprediction.net sub-folder.
You need the root folder of all of this PLUS all of it\'s sub-folders.

The root folder should have the BOINC progs in it. At least it does on Windows.
(It\'s possibly /var/lib/boinc-client, looking at the folder string.)



/var/lib/boinc-client likely has all the boinc executables but it may not have all the data and config files. See, Linux and Windows have different philosophies regarding where files should be kept. In Windows, data and config files required by the executables are usually kept in the same directory as the executables or else a sub-dir of that dir. In Linux, data and configs are usually kept in some other directory. That may seem strange but there are valid arguments for doing it that way.

The BOINC installer for Linux available from Berkeley installs BOINC similar to the way it\'s done in Windows... everything goes into a dir named BOINC. Specifically, it will be /home/{user}/BOINC, where {user} is the user\'s name, just a little different from Windows\' c:\\progran files\\BOINC but it works the same. However, the fact that he has /var/lib/boinc-client tells me he did not use the Berkeley installer, he installed BOINC with Ubuntu\'s Synaptic package manager which, I suspect, does things more in the Linux tradition. In other words, some/all of the config/data files might be in some other directory rather than in /var/lib/boinc-client or one of it\'s sub-dirs. There may be sym-links in that diectory too, rather than the actual files.

I use Fedora Linux and the Berkeley installer. I\'m not very familiar with Ubuntu and I\'m not 100% sure about how Synaptic installs BOINC on Ubuntu. Sorry I have only warnings and that I can\'t be more help. I\'m hoping someone more familiar with Ubuntu will jump in here and take over.

ID: 33116 · Report as offensive     Reply Quote
old_user15026

Send message
Joined: 7 Sep 04
Posts: 3
Credit: 8,039
RAC: 0
Message 33118 - Posted: 28 Mar 2008, 9:20:55 UTC - in response to Message 33116.  

The BOINC installer for Linux available from Berkeley installs BOINC similar to the way it\'s done in Windows... everything goes into a dir named BOINC. Specifically, it will be /home/{user}/BOINC, where {user} is the user\'s name, just a little different from Windows\' c:\\progran files\\BOINC but it works the same.
That\'s what I was expecting - a hidden .boinc folder in my ~ folder, but there is only a ~/.BOINC\\ Manager config file which doesn\'t provide any clues as to where the projects & tasks etc are stored by the Ubuntu packaged versions of boinc-manager and boinc-client.
However, the fact that he has /var/lib/boinc-client tells me he did not use the Berkeley installer, he installed BOINC with Ubuntu\'s Synaptic package manager
Yep, that I did :-).
In other words, some/all of the config/data files might be in some other directory rather than in /var/lib/boinc-client or one of it\'s sub-dirs. There may be sym-links in that diectory too, rather than the actual files.
The only symlinks appear to be to a few files in /etc/ and /etc/boinc-client/ but definitely not any projects or task files, those all seem to be in /var/lib/boinc-client/ and /var/lib/boinc-client/projects/ and /var/lib/boinc-client/slots/.

This weekend, I will backup the whole of /var/lib/boinc-client/ preserving file & folder permissions and restore it onto my other desktop Ubuntu PC, and post the result of this experiment here.
ID: 33118 · Report as offensive     Reply Quote
old_user170894
Avatar

Send message
Joined: 3 Mar 06
Posts: 96
Credit: 353,185
RAC: 0
Message 33124 - Posted: 28 Mar 2008, 17:53:24 UTC - in response to Message 33118.  

This weekend, I will backup the whole of /var/lib/boinc-client/ preserving file & folder permissions and restore it onto my other desktop Ubuntu PC, and post the result of this experiment here.


What about the symlinks? Although they don\'t link to Climate Prediction files/dirs I should think they are necessary. I am guessing you already have BOINC installed via Synaptic on the destination machine? If so then the symlinks would already be created and there should be no problem. However, if you used the Berkeley installer on the destination machine then the symlinks won\'t be there which might cause problems. I strongly suspect they won\'t be there because the Berkeley installer didn\'t create them on any of my machines.


ID: 33124 · Report as offensive     Reply Quote
Eduardo Simioni

Send message
Joined: 25 Feb 08
Posts: 4
Credit: 1,181,948
RAC: 0
Message 33543 - Posted: 23 Apr 2008, 22:06:39 UTC - in response to Message 33116.  
Last modified: 23 Apr 2008, 22:07:32 UTC

I use Fedora Linux and the Berkeley installer. I\'m not very familiar with Ubuntu and I\'m not 100% sure about how Synaptic installs BOINC on Ubuntu. Sorry I have only warnings and that I can\'t be more help. I\'m hoping someone more familiar with Ubuntu will jump in here and take over.


The reason for installing in /var/lib is, I think, so that all users from the computer can process the same WU. If it was installed under /home, each user would need to install BOINC and they could not share the WU.

Regarding the config files, I don\'t know. It SEEMS there\'s everything under /var/lib still, but I\'m far from an expert on the subject. :)


Eduardo
ID: 33543 · Report as offensive     Reply Quote

Message boards : Number crunching : How to move tasks from one PC to another PC

©2024 cpdn.org