mercurial (or git) is a better option than rsync for many reasons (and both are really efficient) than rsync. Rsync is more general - executables are available for PCs (I used it a lot in corp world;)
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 -~----------~----~----~----~------~----~------~--~---

