On 10 May 2010 22:14, David Zhu <[email protected]> wrote:
> I'm using Ubuntu 10.04
>
> But i need to restore the system, stuff isn't working right after the
> update
>
> so I need to backup my rails project.
>
>
> Would a copy and paste onto a flashdrive work? What about all my
> migrated database tables?
>
> What is the best way to back up a rails project? Can i just copy and
> paste everything? Would that save it? Thanks

That will save the sources, but it would be much better to have the
sources in a version control system such as git, then you just need to
backup the repository.

You also need to dump the contents of the database, which depends on
the db type.

After backing up make sure you can restore it and that it runs (and
tests pass) before erasing the originals.

Colin
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to