MySQL replication and Django FileField -
i have mysql replication setup, , replicates nicely database data. however, use filefield , imagefield, , have file loaded onto fs. use rsync manually replicate this, there better way?
i know of key value storage. project, looking minimize number of technologies involved , stick simple options. i've used rsync before, wondering if others have done have new cool tools (or rsync wrappers) work better.
your experiences appreciated.
i haven't searched see if has done this, can write own code in django remotely copy file goal server (i.e. sftp).
here's info on using sftp in python: sftp in python? (platform independent)
if you're using amazon's cloudfront or buckets, can use boto handle uploading (i believe): http://aws.amazon.com/code/827?_encoding=utf8&jiveredirect=1 (if not, there other python libraries help).
Comments
Post a Comment