author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> |
Wed, 28 Mar 2012 22:24:55 +0200 | |
branch | stable |
changeset 8330 | e69832f9b3af |
parent 2489 | 37a747ad6fd4 |
child 8798 | cdab3aadc679 |
permissions | -rw-r--r-- |
2489
37a747ad6fd4
#344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
2478
diff
changeset
|
1 |
from os.path import join |
37a747ad6fd4
#344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
2478
diff
changeset
|
2 |
from cubicweb.toolsutils import create_dir |
37a747ad6fd4
#344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
2478
diff
changeset
|
3 |
|
2478 | 4 |
option_renamed('pyro-application-id', 'pyro-instance-id') |
2489
37a747ad6fd4
#344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
2478
diff
changeset
|
5 |
|
37a747ad6fd4
#344772: instance backups should be done in instance_data_dir
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
2478
diff
changeset
|
6 |
create_dir(join(config.appdatahome, 'backup')) |