Massimo showed one link to an rsync for win; if you google, you will find several more - but you will also find posts about how "all" the win rsyncs hang on large files
I used cygwin rsync on huge syncs (where other things failed). People think cygwin is a pain to install - its not; it can get big, you have to watch & not install its python, but in the end its well worth it. another option is running ubuntu on virtualbox from your pc and using rsync on your pc files that way. Its all complicated a bit, so I'll repeat: if you are talking about keeping your web2py instance and application development space backed up, deployed on your hosting server, etc. just use mercurial (or git). If you are keeping a client site updated, or deploying to a live site where you don't want the .hg files there, then fall back to rsync for just those cases. - Yarko On 10/1/09, Julio <[email protected]> wrote: > > [3] Is exactly the reason why I was asking :) > > I don't know if rsync exists in the windows world, and if it does, I'd > suggest using it, for backup purposes, IMO can't be beaten, rsync will > (optionally) update only what was changed in the code so the bandwith > used (if you copy say, from server to server) is minimal and the time > of a backup could be done pretty quickly.. > > hth > > Julio > > On Oct 1, 9:23 am, Yarko Tymciurak <[email protected]> wrote: >> Argh! >> >> [1] - just learn / get used to using a version control system locally >> (e.g. >> mercurial, bazaar, git); >> [2] - learn to make backups with that version control system (e.g. how >> Massimo pushes his changes out to launchpad, for example, you can do the >> same to push to another repository - on another disk, on another machine) >> >> [3] - in a pinch, learn to use rsync (with exclude lists, and -avup flags, >> for example) >> [4] - if you really, really want to use "old fashioned" distribution >> methods, go ahead and tar up your directory. >> >> On Thu, Oct 1, 2009 at 11:13 AM, Julio <[email protected]> wrote: >> >> > What OS plattform you using? >> >> > On Oct 1, 8:16 am, Web2py-SuperFan <[email protected]> wrote: >> > > Hi, >> >> > > I was wondering if there is a backup source code method built in to >> > > web2py or if someone has built a py script to backup all applications >> > > including the routes.py and app.yaml file to a timestamped tar or >> > > zipped folder. If so would you mind posting the script? >> >> > > Basically I want to back up my work daily including all the code in >> > > the applications folder by running a script daily. >> >> > > something like: >> >> > > target_folder = c:\backup\todaysdate >> > > copy applications to target folder >> > > copy app.yaml to target_folder >> > > copy routes.py to target_folder >> > > zip (or tar) target_folder >> >> > > Thanks >> > > Mark >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

