Re: Moving a Django website to another server

2013-01-31 Thread Avraham Serour
Just checked the docs, looks like ImageField stores the path it was a satchmo app, does someone knows what it does with the product images? thanks avraham On Thu, Jan 31, 2013 at 4:45 PM, Kelly Nicholes wrote: > If you're storing your images in your database (don't)

Re: Moving a Django website to another server

2013-01-31 Thread Mike Doroshenko II
I have scripts that use rsync for my backups, this is old hat for me lol :) John Robertson wrote: Hi there, thanks for all your very helpful responses. Its all a little out of my comfort zone so I might employ someone to do it for me. Any takers/quotes? cheers John On Friday, January 25,

Re: Moving a Django website to another server

2013-01-31 Thread Kelly Nicholes
If you're storing your images in your database (don't) then your db migration should have done it. If you're storing the paths in the database, let's hope they're relative paths to the images. You'll have to copy the images to your new server using the same approaches listed above. One

Re: Moving a Django website to another server

2013-01-31 Thread Avraham Serour
similar question on the same topic: I used dumpdata/loaddata to move from sqlite to postgres, while it was able to move the relations it didn't get any image, any way I could something similar but including the images? would south be able to do it? On Thu, Jan 31, 2013 at 11:09 AM, John

Re: Moving a Django website to another server

2013-01-31 Thread John Robertson
Hi there, thanks for all your very helpful responses. Its all a little out of my comfort zone so I might employ someone to do it for me. Any takers/quotes? cheers John On Friday, January 25, 2013 10:20:49 AM UTC, John Robertson wrote: > > Hi there, if I want to move a Django website to another

Re: Moving a Django website to another server

2013-01-26 Thread Sanjay Bhangar
On Sat, Jan 26, 2013 at 7:09 AM, Addy Yeow wrote: > I was looking for a consistent and error-free deployment as I switch > between servers frequently despite using the same public domain. rsync > was great but I had to manually reload server thereafter or issue a > syncdb, etc.

Re: Moving a Django website to another server

2013-01-25 Thread Addy Yeow
I was looking for a consistent and error-free deployment as I switch between servers frequently despite using the same public domain. rsync was great but I had to manually reload server thereafter or issue a syncdb, etc. I have since moved to Fabric for my deployment needs. See

Re: Moving a Django website to another server

2013-01-25 Thread Adrián Espinosa
If both hosts are Linux, you can use "rsync -avuzr source destination". Option -z enables compression On Friday, January 25, 2013 11:20:49 AM UTC+1, John Robertson wrote: > > Hi there, if I want to move a Django website to another host, is it as > simple as copying across all the site files

Re: Moving a Django website to another server

2013-01-25 Thread Oscar Carballal
Bill has a point, I assumed both were VPSs that had the same services, software and directory structures. If you change that, then it will be a bit more of work :) 2013/1/25 Bill Freeman : > What kind of hosts? if both are linux, then tar is your friend, using the > -z or -j

Re: Moving a Django website to another server

2013-01-25 Thread Bill Freeman
What kind of hosts? if both are linux, then tar is your friend, using the -z or -j options to create compressed archives, though zip and unzip commands are likely available too. If you use ftp (faster, but less secure than scp/sftp), be sure to transfer in binary mode (text is the default, and

Re: Moving a Django website to another server

2013-01-25 Thread Oscar Carballal
For our project e-cidadania it was like that, we only had to make a clone of the git repository and we made a symbolic link to the config files (so we can pull the code without affecting the config). After that we made an import into the new database, fix the config files et voilá. You can try

Moving a Django website to another server

2013-01-25 Thread John Robertson
Hi there, if I want to move a Django website to another host, is it as simple as copying across all the site files and DB (and changing config files)? If so, is there some kind of tool to create a zipped folder of the website so that FTP does not take several hours! Sorry if this seems a very