Re: porting of an application

2007-07-27 Thread Nader
I have got the idea what I have to do. I thought that it can be easier with some option for dump command. However thank you for this information. I will try to copy the stuff which I need. Nader On Jul 27, 1:27 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > I have two different database file, so I

Re: porting of an application

2007-07-27 Thread Tim Chase
> I have two different database file, so I can't copy it. I would like > to extract only the data of the app which I would port to other > machine. I'm not sure how you ended up with two database files. However, I suspect Daniel has the right idea: just copy the .db file. If there's stuff in t

Re: porting of an application

2007-07-27 Thread Nader
How can I dump not the whole database, but a portion (only the information of one application) of of it? On Jul 27, 12:56 pm, Hodren Naidoo <[EMAIL PROTECTED]> wrote: > Just do a dump, and source the script into a newly created database > instance. > > On Fri, 2007-07-27 at 11:50 +, Nader wr

Re: porting of an application

2007-07-27 Thread Nader
I have two different database file, so I can't copy it. I would like to extract only the data of the app which I would port to other machine. On Jul 27, 1:04 pm, Daniel Ellison <[EMAIL PROTECTED]> wrote: > Nader wrote: > > But how about the content of my database? I > > have used 'sqlite3' as a

Re: porting of an application

2007-07-27 Thread Daniel Ellison
Nader wrote: > But how about the content of my database? I > have used 'sqlite3' as a database engine. > Could somebody tell me how I can do this? If you're using sqlite3, wouldn't it simply be a matter of copying your .db file to the new location? --~--~-~--~~~---~-

Re: porting of an application

2007-07-27 Thread Hodren Naidoo
Just do a dump, and source the script into a newly created database instance. On Fri, 2007-07-27 at 11:50 +, Nader wrote: > Hallo, > > I have an application on a computer at my work and I would like to > port it to an other machine (a laptop). I can copy the source files > (model.py, urls.py

porting of an application

2007-07-27 Thread Nader
Hallo, I have an application on a computer at my work and I would like to port it to an other machine (a laptop). I can copy the source files (model.py, urls.py, *.html and configuration files) from first machine to the second. But how about the content of my database? I have used 'sqlite3' as a