Re: [gitorious] Migrating OLD Gitorious to new 2.4.9

2013-04-08 Thread Thomas Kjeldahl Nilsson
Hi again,

you'll want to consider two things:

1) For high-load Gitorious sites, any operations currently on the message queue 
won't make it over to the new instance
2) The clone operation itself is non-destructive, but could impose a load on 
the system right when you're running it (mysql dump and rsync of all your data)

Night-time/low activity time slots is probably safest. :)

cheers,
Thomas

On Monday, April 8, 2013 at 7:39 PM, Chris Holden wrote:

> Thanks Thomas!
> 
> Is this safe to run during the day or should I plan to run it at night and 
> stop the server?
> 
> 
> On Mon, Apr 8, 2013 at 1:25 PM, Thomas Kjeldahl Nilsson  (mailto:tho...@gitorious.com)> wrote:
> > Hi Chris,
> > 
> > actually, there's now a simpler way to migrate than backing up and 
> > restoring in two steps. It's very new and not in the last official release 
> > (2.4.12), but we've added a bin/migrate script that makes it possible to 
> > clone the state of one gitorious instance into another.
> > 
> > You'll find it if you clone/pull HEAD from the mainline repo. It can simply 
> > be copied or cherry-picked directly into an old installation, as it's 
> > explicitly built not to have any dependencies to recent Gitorious versions.
> > 
> > We're still putting it through its paces and haven't announced/documented 
> > it officially yet but we are using it internally at Gitorious AS and there 
> > should be enough here and in the script itself to get you started. Feel 
> > free to ask if you get stuck!
> > 
> > regards,
> > Thomas
> > 
> > 
> > 
> > On 04/08/2013 06:54 PM, Chris Holden wrote:
> > > Hello All,
> > > 
> > > We are currently on Gitorious 2.1.0 and would like to migrate to 2.4.9 
> > > (or whatever is latest when we get there).
> > > 
> > > The plan I have is below but I had some quesitons for specific steps if 
> > > you guys have any insight:
> > > 
> > > 1. Install 2.4.9 on a new server as a clean install
> > > 2. Backup existing 2.1.0 (How?)
> > > 3. Restore on new 2.4.9 server
> > > 
> > > Is this possible?  I haven't found clear instructions on how to backup a 
> > > 2.1.0 instance and not even sure I can go all the way to 2.4.9.
> > > 
> > > Any help is appreciated!
> > > 
> > > Thanks
> > > -Chris Holden
> > > -- 
> > > -- 
> > > To post to this group, send email to gitorious@googlegroups.com 
> > > (mailto:gitorious@googlegroups.com)
> > > To unsubscribe from this group, send email to
> > > gitorious+unsubscr...@googlegroups.com 
> > > (mailto:gitorious%2bunsubscr...@googlegroups.com)
> > > 
> > > ---
> > > You received this message because you are subscribed to the Google Groups 
> > > "Gitorious" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to gitorious+unsubscr...@googlegroups.com 
> > > (mailto:gitorious%2bunsubscr...@googlegroups.com).
> > > For more options, visit https://groups.google.com/groups/opt_out.
> > > 
> > > 
> > 
> > 
> > -- 
> > Best regards,
> > Thomas Kjeldahl Nilsson,
> > Partner & Programmer,
> > Gitorious AS
> > http://gitorious.com
> > 
> > 
> > -- 
> > -- 
> > To post to this group, send email to gitorious@googlegroups.com 
> > (mailto:gitorious@googlegroups.com)
> > To unsubscribe from this group, send email to
> > gitorious+unsubscr...@googlegroups.com 
> > (mailto:gitorious%2bunsubscr...@googlegroups.com)
> > 
> > --- You received this message because you are subscribed to the Google 
> > Groups "Gitorious" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to gitorious+unsubscr...@googlegroups.com 
> > (mailto:gitorious%2bunsubscr...@googlegroups.com).
> > For more options, visit https://groups.google.com/groups/opt_out.
> > 
> > 
> 
> 
> 
> -- 
> Take Care
> -Chris Holden
> 
> "As for me and my house, we will serve the Lord" Joshua 24:15 
> 
> -- 
> -- 
> To post to this group, send email to gitorious@googlegroups.com 
> (mailto:gitorious@googlegroups.com)
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com 
> (mailto:gitorious+unsubscr...@googlegroups.com)
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to gitorious+unsubscr...@googlegroups.com 
> (mailto:gitorious+unsubscr...@googlegroups.com).
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gitorious] Migrating OLD Gitorious to new 2.4.9

2013-04-08 Thread Chris Holden
Thanks Thomas!

Is this safe to run during the day or should I plan to run it at night and
stop the server?


On Mon, Apr 8, 2013 at 1:25 PM, Thomas Kjeldahl Nilsson <
tho...@gitorious.com> wrote:

> Hi Chris,
>
> actually, there's now a simpler way to migrate than backing up and
> restoring in two steps. It's very new and not in the last official release
> (2.4.12), but we've added a bin/migrate script that makes it possible to
> clone the state of one gitorious instance into another.
>
> You'll find it if you clone/pull HEAD from the mainline repo. It can
> simply be copied or cherry-picked directly into an old installation, as
> it's explicitly built not to have any dependencies to recent Gitorious
> versions.
>
> We're still putting it through its paces and haven't announced/documented
> it officially yet but we are using it internally at Gitorious AS and there
> should be enough here and in the script itself to get you started. Feel
> free to ask if you get stuck!
>
> regards,
> Thomas
>
>
>
> On 04/08/2013 06:54 PM, Chris Holden wrote:
>
>> Hello All,
>>
>> We are currently on Gitorious 2.1.0 and would like to migrate to 2.4.9
>> (or whatever is latest when we get there).
>>
>> The plan I have is below but I had some quesitons for specific steps if
>> you guys have any insight:
>>
>> 1. Install 2.4.9 on a new server as a clean install
>> 2. Backup existing 2.1.0 (How?)
>> 3. Restore on new 2.4.9 server
>>
>> Is this possible?  I haven't found clear instructions on how to backup a
>> 2.1.0 instance and not even sure I can go all the way to 2.4.9.
>>
>> Any help is appreciated!
>>
>> Thanks
>> -Chris Holden
>> --
>> --
>> To post to this group, send email to gitorious@googlegroups.com
>> To unsubscribe from this group, send email to
>> gitorious+unsubscribe@**googlegroups.com
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Gitorious" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to 
>> gitorious+unsubscribe@**googlegroups.com
>> .
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out
>> .
>>
>>
>>
>
> --
> Best regards,
> Thomas Kjeldahl Nilsson,
> Partner & Programmer,
> Gitorious AS
> http://gitorious.com
>
>
> --
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@**googlegroups.com
>
> --- You received this message because you are subscribed to the Google
> Groups "Gitorious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> gitorious+unsubscribe@**googlegroups.com
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>


-- 
Take Care
-Chris Holden

"As for me and my house, we will serve the Lord" Joshua 24:15

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gitorious] Migrating OLD Gitorious to new 2.4.9

2013-04-08 Thread Thomas Kjeldahl Nilsson

Hi Chris,

actually, there's now a simpler way to migrate than backing up and 
restoring in two steps. It's very new and not in the last official 
release (2.4.12), but we've added a bin/migrate script that makes it 
possible to clone the state of one gitorious instance into another.


You'll find it if you clone/pull HEAD from the mainline repo. It can 
simply be copied or cherry-picked directly into an old installation, as 
it's explicitly built not to have any dependencies to recent Gitorious 
versions.


We're still putting it through its paces and haven't 
announced/documented it officially yet but we are using it internally at 
Gitorious AS and there should be enough here and in the script itself to 
get you started. Feel free to ask if you get stuck!


regards,
Thomas


On 04/08/2013 06:54 PM, Chris Holden wrote:

Hello All,

We are currently on Gitorious 2.1.0 and would like to migrate to 2.4.9 
(or whatever is latest when we get there).


The plan I have is below but I had some quesitons for specific steps 
if you guys have any insight:


1. Install 2.4.9 on a new server as a clean install
2. Backup existing 2.1.0 (How?)
3. Restore on new 2.4.9 server

Is this possible?  I haven't found clear instructions on how to backup 
a 2.1.0 instance and not even sure I can go all the way to 2.4.9.


Any help is appreciated!

Thanks
-Chris Holden
--
--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

---
You received this message because you are subscribed to the Google 
Groups "Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to gitorious+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





--
Best regards,
Thomas Kjeldahl Nilsson,
Partner & Programmer,
Gitorious AS
http://gitorious.com

--
--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups "Gitorious" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gitorious] Migrating OLD Gitorious to new 2.4.9

2013-04-08 Thread Chris Holden
Hello All,

We are currently on Gitorious 2.1.0 and would like to migrate to 2.4.9 (or 
whatever is latest when we get there).

The plan I have is below but I had some quesitons for specific steps if you 
guys have any insight:

1. Install 2.4.9 on a new server as a clean install
2. Backup existing 2.1.0 (How?)
3. Restore on new 2.4.9 server

Is this possible?  I haven't found clear instructions on how to backup a 
2.1.0 instance and not even sure I can go all the way to 2.4.9.

Any help is appreciated!

Thanks
-Chris Holden

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.