origami restore work, how to?

Asked by kendimen

Hi! I recently found out, instaled and told my sub-team about Origami. Great work, congratulations!
Now, I had a fresh install of my OS (Linux Mint 6) and I wanted to know how to restore my work, that I archived before formatting the disk partition.
Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
origami Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Christer Edwards (christer.edwards) said :
#1

Sorry about the delay.

To restore your previously archived data, try the following.

1) create a ~/.origami directory and place your archive inside.
2) run 'sudo origami restore'

This should properly find your archive in the directory and update/unpack its contents onto your new installation.

Revision history for this message
kendimen (email-kendimen) said :
#2

Thanks for the answer!
I get this message, though:
ERROR: ORIGAMI DOES NOT APPEAR TO BE INSTALLED.
Well, I suppose I shouldn't
sudo origami install
or it will get some new WU's, right?
And, to create that directory, it should be on the FileSystem folder, right? :P (Sorry for the 'noob' question!)
Hmmm.... i still had another question up the sleeve for you, if I may: is it possible to apply flags do the clients, using Origami?

Revision history for this message
Christer Edwards (christer.edwards) said :
#3

It'll be fine if you 'sudo origami install' followed by 'sudo origami restore'. It'll start to get new WU, but then your restore will place your previous WU in place and restart the service where you left off. I suppose I could clean the process up a little, but go ahead and re-install and then restore.

To create the directory launch the terminal and use: mkdir ~/.origami

There are a few flags supported via the origami interface, but if you want to really get granular with your flags you can manually edit the /var/lib/origami/foldingathome/CPU*/client.cfg.

Hope this helps

Revision history for this message
kendimen (email-kendimen) said :
#4

Well, "sudo origami install" gives me:
ERROR: POSSIBLE UNKNOWN DISTRIBUTION. PLEASE REPORT
:(

By the way, "sudo origami restore" gives me:
ERROR: ORIGAMI DOES NOT APPEAR TO BE INSTALLED.

Doing "mkdir ~/.origami" will create ".Origami" directory at the root of the 'File System', right?

Revision history for this message
kendimen (email-kendimen) said :
#5

Hello!
In the meantime I had some feedback from the sub-team I refered, and one of them told me he is having problems, also in Linux Mint 6! Could this be the key?

Also, I forgot to mention that the version of origami I've trying is version 0.6.8 wich is on the repositories! I haven't been able to install 0.6.9 :P

Revision history for this message
Christer Edwards (christer.edwards) said :
#6

I'm fairly certain I know what the issue is regarding using Linux Mint. If you could please send me the output of:

lsb_release -d

After I get that I can patch origami and make the fix available.

Revision history for this message
kendimen (email-kendimen) said :
#7

Hello!
Not sure if this is what you need:

lsb_release -d
Description: Linux Mint 6 Felicia - Main Edition

:)

Revision history for this message
kendimen (email-kendimen) said :
#8

Well, have to say I don't discard the idea of installing Ubuntu on this PC!!!

Revision history for this message
Christer Edwards (christer.edwards) said :
#9

Sorry about the delay. I have patched origami and pushed the changes to Launchpad. You can make this change manually on your origami installation by doing the following:

edit the origami file itself ('which origami' to find full path)

Look for this code block, starting at about line number 29. The line you want to edit is the one doing the egrep for "Ubuntu|Debian". You'll simply want to append "|Mint" to that line and it should work.

I'll see about pushing these changes to the repositories.

Your block should now look like this:

    if lsb_release -d | egrep "(Red Hat)|Fedora|SUSE|openSUSE" &>/dev/null; then
        USERADDITION="standard"
    elif grep "Foresight" /etc/distro-release &>/dev/null; then
        USERADDITION="standard"
    elif lsb_release -d | egrep "Ubuntu|Debian|Mint" &>/dev/null; then
        USERADDITION="nonstandard"
    fi

Save your changes and origami should work properly on Mint.

Can you help with this problem?

Provide an answer of your own, or ask kendimen for more information if necessary.

To post a message you must log in.