beat.web.utils.management.commands.change_databases_root_folder module¶
Examples
To change the root path of installed databases:
$ manage.py change_databases_root_folder -v1 db_root_paths.json
Note: The format is:
{
"atnt/1": "/remote/databases/atnt",
"banca/2": "file:///remote/databases/banca"
"foo/3": "nfs://myhost.db/databases/foo"
}
It’s also possible to do a dry-run to just determine what would be installed
using the option --dry-run:
$ manage.py update_installed_databases -v1 --dry-run