Avamar: Come eseguire backup o ripristini dalla riga di comando
Summary: Questo articolo fornisce gli errori comuni e le soluzioni per i processi dalla riga di comando.
Instructions
Impossibile eseguire backup o ripristini dalla riga di comando a causa di input errati.
1> Login error 66: User not found in Avamar database; 2> Login error 69: Authentication failure (Invalid password? User disabled?); 3> Login error 74: Account not found in the Avamar database
In questo articolo vengono elencati gli errori comuni che si verificano durante l'esecuzione di backup o ripristini Avamar utilizzando la riga di comando e le relative cause e soluzioni tipiche.
- Per eseguire i backup, utilizzare il seguente comando:
avtar -c --server=AVAMAR_SERVER --id=MCUser --ap=PASSWORD_OF_MCUSER --path=/clients/NAME_OF_CLIENT --logfile=c:\PATH_TO_LOG_FILE.log c:\DATA_TO_BACKUP --verbose=1
- Per eseguire i ripristini, utilizzare il seguente comando:
avtar --extract "c:\DATA_TO_RESTORE" --labelnum=17 --target="C:\TARGET_OF_RESTORE" --server=AVAMAR_SERVER --id=MCUser --password=MCUser1 --logfile="C:\PATH_OF _LOGS" --path="/CLIENT/NAME_OF_CLIENT" --verbose=1
Errori comuni osservati durante i backup e i ripristini dalla riga di comando:
-
Errore 1:
avtar Info <5557>: No connections available avtar FATAL <8604>: Fatal server connection problem, aborting initialization. Verify correct server address and login credentials. avtar FATAL <5308>: Failed to initiate session with server avtar Info <6149>: Error summary: 2 errors: 5308, 8604 avtar Info <5314>: Command failed (2 errors, exit code 10008: cannot establish connection with server (possible network or DNS failure))
Risoluzione:
Ciò indica che il valore immesso per il flag "server" non è corretto o che il server non è raggiungibile. Per eseguire questa operazione, eseguire un test Telnet sull'Avamar Server o eseguire un ping test di base.
- Errore 2:
avtar Error <5126>: Login error 66: User not found in Avamar database avtar FATAL <5308>: Failed to initiate session with server avtar Info <6149>: Error summary: 2 errors: 5308, 5126 avtar Info <5314>: Command failed (2 errors, exit code 10008: cannot establish connection with server (possible network or DNS failure))
Risoluzione:
Ciò indica che il nome utente immesso per il flag "id" non è corretto o che lo "user" immesso non si trova nel dominio Avamar immesso.
Se l'"utente" si trova in un sottodominio, immettere o seguire il nome del sottodominio Avamar e il nome utente Avamar:
--id=/TestDomain/Avamar_Username
- Errore 3:
avtar Error <5126>: Login error 69: Authentication failure (Invalid password? User disabled?) avtar FATAL <5308>: Failed to initiate session with server avtar Info <6149>: Error summary: 2 errors: 5308, 5126 avtar Info <5314>: Command failed (2 errors, exit code 10008: cannot establish connection with server (possible network or DNS failure))
Risoluzione:
Ciò indica che la "password" inserita per il flag "--ap" non è corretto.
- Errore 4:
avtar Error <5126>: Login error 74: Account not found in the Avamar database avtar FATAL <5308>: Failed to initiate session with server avtar Info <6149>: Error summary: 2 errors: 5308, 5126 avtar Info <5314>: Command failed (2 errors, exit code 10008: cannot establish connection with server (possible network or DNS failure))
Risoluzione:
Ciò indica che il "client name" inserito nel flag "path" non è corretto. I nomi client e i domini fanno distinzione tra maiuscole e minuscole. È necessario immetterli esattamente come mostrato nella console di Avamar Administrator.
"/TestDomain/WrongServerName" is not the same as "/testdomain/wrongservername"
È inoltre possibile verificare il percorso del client utilizzando mccli :
mccli client show recursive | grep -i <clientname>
- Errore 5:
avtar Info <5582>: Avamar Server login successful [avtar] ERROR: <0001> servercontext::getdcindexmap INDEX_DATACENTER_MAP command returned MSG_ERR_PRIV_FAIL avtar FATAL <5308>: Failed to initiate session with server avtar Info <6149>: Error summary: 2 errors: 5308, 1 avtar Info <5314>: Command failed (2 errors, exit code 10008: cannot establish connection with server (possible network or DNS failure))
Risoluzione:
Ciò indica che l'accesso al server ha avuto esito positivo, ma che l'utente specificato non dispone dei privilegi corretti per eseguire un backup o un ripristino. Provare a utilizzare il comando MCUser per eseguire un backup o un ripristino.