[Dirvish] Can Vaults in Different Banks Have the Same Name?
Andrew Crawford
andrew at evermore.com
Tue Mar 25 04:27:36 UTC 2008
Hi All,
I have an existing configuration with 2 banks.
/backup/server1
/backup/server2
I am trying to migrate various things from one server to another. Those
things get backed up as vaults. For example, server1 has several vaults:
/backup/server1/vault1
/backup/server1/vault2
/backup/server1/vault3
I tried to set up server2 with a vault of the same name as one of them:
/backup/server2/vault1
When I run my init command, I have problems. If I specify the full bank
and vault, as the syntax in the dirvish man page suggests:
dirvish --vault server2:vault1 --init
... it returns:
cannot open config file: vault1
If I try to specify the config file in the command:
dirvish --config /backup/server2/vault1/dirvish/default.conf --vault
server2:vault1 --init
... I get the same error. I have tried several variants, including
cd'ing to /backup/server2/vault1/dirvish and specifying ./default.conf
and default.conf as the --config option. Not including the bank portion
of the --vault parameter causes it to try to re-initialize the old
(server1) vault. Nothing seems to work.
If I rename the vault to something unique (/backup/server2/vault1b), the
init works fine.
So, am I missing something or, is there a bug that makes it impossible
to have vaults with the same name in multiple banks?
Andrew Crawford
More information about the Dirvish
mailing list