climateprediction.net home page
GB added to my Time Machine backup

GB added to my Time Machine backup

Questions and Answers : Macintosh : GB added to my Time Machine backup
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user714853

Send message
Joined: 27 Mar 14
Posts: 1
Credit: 121,696
RAC: 0
Message 48619 - Posted: 30 Mar 2014, 0:18:43 UTC

Since joining climateprediction.net 2 days ago, a GB or so is now added to my backups from my iMac. I want to stop my Time Machine backing up BOINC files - I already use Options in Time Machine to exclude selected folders from being backed up. However I have not been able to identify (in Finder) these additional folders/files deposited by BOINC.

Please advise.
ID: 48619 · Report as offensive     Reply Quote
Profile mo.v
Volunteer moderator
Avatar

Send message
Joined: 29 Sep 04
Posts: 2363
Credit: 14,611,758
RAC: 0
Message 48621 - Posted: 30 Mar 2014, 2:12:02 UTC

Hi Barry, welcome to the forum.

The BOINC Programs directory should be here:

Macintosh: /Applications/BOINC/

and the BOINC Data directory here:

Macintosh OS X: /Library/Application Support/BOINC Data/

The Programs directory will increase in size either not at all or hardly because that's where the BOINC platform is. The climate models are in BOINC Data where the files will increase in size as the models progress.

You can read more about BOINC 7 here if you have the time and inclination:

http://boincfaq.mundayweb.com/index.php?language=1&view=592&sessionID=b3b9ebf825ad6aa1fffef8b017a7a9d8

By the way, your very nice computer seems to be an all-in-one and probably ultra-slim. Is the cooling good? Check the CPU temperature with all four of your models running. I would be interested to know what you find.
Cpdn news
ID: 48621 · Report as offensive     Reply Quote
WiseOwl

Send message
Joined: 30 Aug 13
Posts: 6
Credit: 313,220
RAC: 0
Message 48929 - Posted: 28 Apr 2014, 5:14:54 UTC

I would like to expand on this question a bit. I have disabled the time machine backup for the climate data models as suggested in this thread. If I have a disk failure, will all work on those models be lost? My disk is starting to make noises. What would be a prudent ongoing procedure to save & later restore progress without maintaining an incremental time machine history?
ID: 48929 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 48930 - Posted: 28 Apr 2014, 6:53:23 UTC - in response to Message 48929.  

Hard disk crash = Bye Bye models in progress.

Unless you have a backup of the BOINC (data) part, (and all subdirectories), made before the crash.
Then you can re-start from the time of the last backup.

This is easy in Windows, but harder in Linux because of the file ownership problem. It may also be hard on a Mac, unless this "Time machine" stuff also saves this info.
Can the Time machine backup be made to a location external to the HD?

One thing that CAN be saved externally, and SHOULD be, is the file: account_<project-name>.xml for each of your projects.
It contains an alternative identifier, which can be used to get you back in to a project if you forget the password.
Also, the file can be placed into the appropriate place in a new computer's install of BOINC, and that project(s) will recognize you as soon as you restart BOINC and allow it to contact the project(s).


Backups: Here
ID: 48930 · Report as offensive     Reply Quote
WiseOwl

Send message
Joined: 30 Aug 13
Posts: 6
Credit: 313,220
RAC: 0
Message 48955 - Posted: 29 Apr 2014, 3:26:39 UTC

Time machine must back up to an external disk. It makes hourly backups for 24 hours (copying only the changed files made each hour). It keeps daily backups for the last month. It keeps weekly backups for all previous months until the backup disk is full, then it starts deleting old stuff to make room for new. Apple modified *nix to be able to create links to directories as well as to files. So there is never more than one copy of an unchanged directory/file on the backup disk. But since the climate models are constantly changing their data files, new versions of these files are constantly being managed on the backup disk.

I have always been nervous about Time Machine making backups simultaneous to the files changing, but it works. I *think* that with the Mac journaled file system, time machine is able to get a copy of all files and machine state at a single point in time so that a single instant can be recreated after a file system restore.

Looking at your link, it appears that all boinc files and state info are stored in a single directory tree ( on the mac: /Library/Application Support/BOINC Data/ ) and if boinc is suspended and shut down properly, this directory tree encapsulates everything necessary to restart boinc without a problem. So it appears that I have four choices:

1) Let time machine do its thing, (writing file changes to the backup disk every hour). Then every so often, stop the time machine backups, enter the time machine and selectively delete all backups to this directory tree ( 3 or 4 mouse clicks), restart the time machine backups, and say "backup now". This will start the backups of boinc anew. This has the disadvantage of extra disk traffic to keep the backup current to the hour. It has the advantage of mostly being automatic.

2) Normally exclude the boinc directory tree from time capsule backups. Once a week, remove this exclusion, select "backup now" and after the backup is done, re-exclude the boinc directory tree for another week.

3) Same as 2) except suspend/shutdown boinc while the backup is taking place. (To satisfy my paranoia about doing a backup while boinc is running. )

4) Once a week suspend/shutdown boinc, copy the directory tree to a backup disk, restart boinc. The only problem of this option, is remembering to do it, and waiting around while 14 GB is being copied to the (relatively slow) backup disk so boinc activity can be resumed.

I tend to lean toward 4).
ID: 48955 · Report as offensive     Reply Quote
Ingleside

Send message
Joined: 5 Aug 04
Posts: 108
Credit: 17,915,584
RAC: 36,550
Message 48959 - Posted: 29 Apr 2014, 8:43:26 UTC - in response to Message 48955.  

2) Normally exclude the boinc directory tree from time capsule backups. Once a week, remove this exclusion, select "backup now" and after the backup is done, re-exclude the boinc directory tree for another week.

3) Same as 2) except suspend/shutdown boinc while the backup is taking place. (To satisfy my paranoia about doing a backup while boinc is running. )

4) Once a week suspend/shutdown boinc, copy the directory tree to a backup disk, restart boinc. The only problem of this option, is remembering to do it, and waiting around while 14 GB is being copied to the (relatively slow) backup disk so boinc activity can be resumed.

I tend to lean toward 4).

Well for hadam3p_eu-models it's a waste of time to do weekly backups, since chances are any restored backup will be of models you've already finished & reported. For hadam3p_anz the usefulness of a weekly backup is also limited so except for hadcm3n a weekly backup is mostly useless. (No idea with Moses).

A daily backup on the other hand would be much more useful. If the "Time Machine" is up to the task, I would choose option #5:

5: Exclude boinc from hourly backup. Make a separate backup-profile for BOINC, doing a daily backup of only the BOINC data-directory (including sub-directories).

If time machine can't handle #5, option #2 but done once-a-day is probably the best.
ID: 48959 · Report as offensive     Reply Quote
Profile Iain Inglis
Volunteer moderator

Send message
Joined: 16 Jan 10
Posts: 1079
Credit: 6,836,869
RAC: 6,598
Message 48962 - Posted: 29 Apr 2014, 10:40:36 UTC

My Mac mini is so old that I now run only one task at a time. This opens up an extra option, which is to download a new model, suspend it before it starts, turn network activity off, then backup (by whatever method), then run the model to completion, then turn network activity on and upload etc.

The slightly perverse consequence of this protocol, for me, was that the occasional crashes that used to happen then stopped. So there has subsequently been no need to restore any backup. Because the backed-up copy has network activity off any permissions problems that might arise on restoring can be fixed without being visible, and since no data has been uploaded the Web site record is clean.

It reminds me of the schoolboy joke:

A man gets onto a train and sees another man tearing up pieces of paper and throwing them out of the window.

First man:    "Why are you doing that?"
Second man:   "To keep the elephants away."
First man:    "But there are no elephants."
Second man:   "Exactly!"
ID: 48962 · Report as offensive     Reply Quote
WiseOwl

Send message
Joined: 30 Aug 13
Posts: 6
Credit: 313,220
RAC: 0
Message 48979 - Posted: 30 Apr 2014, 4:20:56 UTC

After actually examining how the climate model files change over time, I have concluded that it is best to just let time machine manage the backup of everything normally.

Using my machine's free time, the expected run time for the ANZ and EU models is about a week and the Molly is about a month.

The ANZ and EU models use about 600 MB of disk space at a time for each WU and the Molly uses about 1.5 GB.

I was surprised to see that most of model data memory is static. About 70 MB of the ANZ and EU models change each day and about 270 MB of the Molly changes each day. But only a small number of the files are changed more than once per day, so by letting the time machine back up hourly is not much different than option 5) except that time machine will keep a copy of all of the daily changes on the backup disk for a month. (roughly speaking: 70 MB x 30 days = 2.1 GB / month; 270 x 30 = 8.1 GB / month) After a month, time machine will age out the old files normally.
ID: 48979 · Report as offensive     Reply Quote
Tomcat

Send message
Joined: 29 May 15
Posts: 17
Credit: 378,867
RAC: 3,044
Message 52050 - Posted: 11 Jun 2015, 12:51:31 UTC - in response to Message 48979.  

Hello?if the bionc files can get backed up via Time Machine, does it mean that my new computer can inherit uncompleted tasks?
ID: 52050 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 52051 - Posted: 11 Jun 2015, 23:16:41 UTC - in response to Message 52050.  

Files that are backed up on one computer, can be transferred to another computer IF:

The OS is the same (Mac to Mac, etc)
PERHAPS if the OS version is different
BOINC is the same version. PERHAPS if the version is different

The server knows which computer accepted the WU in the fist place, and MAY accept them from another computer.

The idea of using backups to save work if there is a hardware failure, mostly applies to one or two processor machines, and creates problem with modern computers with 4 or more processors, and/or if many different projects are being run, because ALL work units from ALL projects will get restored, including those that finished between the time the backup was made, and the time that the hardware failure occurred.

And, VERY important:
From a post that I made in the middle of last year:


As part of the ongoing problems with attaching here, it's becoming obvious that there's a very important file on everyone's computer.

This is: account_climateprediction.net.xml
It has the information that the project needs to identify you.

Please make a copy (or several), and keep it in a safe place for when hardware problems occur.

Keeping the equivalent for ALL of your projects is a good idea for the same reason.

With this file, you can just drop it into a new install of BOINC, and the server for that project will know who you are.



ID: 52051 · Report as offensive     Reply Quote
Tomcat

Send message
Joined: 29 May 15
Posts: 17
Credit: 378,867
RAC: 3,044
Message 52056 - Posted: 13 Jun 2015, 15:18:58 UTC - in response to Message 52051.  
Last modified: 13 Jun 2015, 15:20:23 UTC

Well, thanks a lot!
BTW where is that important file located? I can't seem to find it in the BOINC directory.
ID: 52056 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4309
Credit: 16,355,267
RAC: 6,278
Message 52057 - Posted: 15 Jun 2015, 5:43:05 UTC

Never checked on a Mac but in linux it is in ../BOINC/ If it isn't obvious just use the search facility to find it.
ID: 52057 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 52058 - Posted: 15 Jun 2015, 6:12:25 UTC - in response to Message 52056.  

This is the BOINC FAQ about file locations:
BOINC 7.0


ID: 52058 · Report as offensive     Reply Quote
Tomcat

Send message
Joined: 29 May 15
Posts: 17
Credit: 378,867
RAC: 3,044
Message 52246 - Posted: 15 Jul 2015, 17:23:43 UTC - in response to Message 52058.  

Thanks a lot!
ID: 52246 · Report as offensive     Reply Quote

Questions and Answers : Macintosh : GB added to my Time Machine backup

©2024 climateprediction.net