please use version control (git, mercury for your code) and then backup it 
up to another media as well (nas, tape) or you could store it in online 
backup like (dropbox, google drive) if it's your own project, i don't think 
so in your company allowed it to do so.

i'm usually make a folders structure for that, and give the proper access 
for that e.g.
development (developer), testing (system analyst), staging (user and system 
analyst with dummy data), production (user with real data). of course the 
folders structure already in version control and set the backup schedule to 
another media as well.
e.g.
Web2py
├───Development
│   ├───Application1
│   │   ├───controllers
│   │   ├───languages
│   │   ├───models
│   │   ├───modules
│   │   ├───static
│   │   └───views
│   └───Application2
│       ├───controllers
│       ├───languages
│       ├───models
│       ├───modules
│       ├───static
│       └───views
├───Production
│   ├───Application1
│   │   ├───controllers
│   │   ├───languages
│   │   ├───models
│   │   ├───modules
│   │   ├───static
│   │   └───views
│   └───Application2
│       ├───controllers
│       ├───languages
│       ├───models
│       ├───modules
│       ├───static
│       └───views
├───Staging
│   ├───Application1
│   │   ├───controllers
│   │   ├───languages
│   │   ├───models
│   │   ├───modules
│   │   ├───static
│   │   └───views
│   └───Application2
│       ├───controllers
│       ├───languages
│       ├───models
│       ├───modules
│       ├───static
│       └───views
└───Testing
    ├───Application1
    │   ├───controllers
    │   ├───languages
    │   ├───models
    │   ├───modules
    │   ├───static
    │   └───views
    └───Application2
        ├───controllers
        ├───languages
        ├───models
        ├───modules
        ├───static
        └───views

as you can see, i'm just create the folders structure to the file / 
folders, i'm usually modify (no databases folders include), because it 
handle by DBA and for backup is schedule using the database backend 
connection (mysqldump, etc)

usually the difference for that environment is just application new feature 
and some configuration (like migrate, fake_migrate, etc)

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to