NetWorker : Échec de la sauvegarde MongoDB à l’aide de NMDA

Summary: Cet article résout les problèmes liés à la sauvegarde MongoDB à l’aide de NMDA.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Échec des sauvegardes de MongoDB avec NetWorker Module for Databases and Applications (NMDA). La sauvegarde affiche les éléments suivants :

monogdb_client:<save_set> size 0 KB, 0 file(s), took   0 min  31 sec

Une ou plusieurs des erreurs suivantes sont observées :

The size of proxied data written has not been set. Backup of ssid 'xxxxx' failed due to unrecoverable errors.
The read operation returned a value of -1. Error code: 5. Error: Input/output error.
Backup of ssid 'nnnn' failed due to unrecoverable errors
The backup command '/nsr/apps/config/backup_logscript.sh' did not complete successfully: Backup of ssid 'nnnn' failed due to unrecoverable errors. 

Cause

Le script de sauvegarde redirige la sortie vers un fichier à l’aide de >.

Resolution

Utilisez --out pour la sortie du fichier au lieu de diriger la sortie vers un fichier.

Exemple de section de script. Changement:

(
set -x;
EXEC_MYWORK="$INSTANCE_PATH_MW16_MYWORK/mongodump -u $BACKUP_USER -p $BACKUP_PASSWORD --authenticationDatabase $BACKUP_AUTHDB --gzip --port 27020 --db local --collection oplog.rs --query \"{ts: {\\\$gt: {\\\$timestamp: {t: $PASS_TIME, i: 0}}, \\\$lt: {\\\$timestamp: {t: $CURR_TIME, i: 0}}}}\"  >  $OAPP_MOUNT_DIR/backup_data_Oplog";
eval $EXEC_MYWORK;
)

Jusqu’à :

(
set -x;
EXEC_MYWORK="$INSTANCE_PATH_MW16_MYWORK/mongodump -u $BACKUP_USER -p $BACKUP_PASSWORD --authenticationDatabase $BACKUP_AUTHDB --gzip --port 27020 --db local --collection oplog.rs --query \"{ts: {\\\$gt: {\\\$timestamp: {t: $PASS_TIME, i: 0}}, \\\$lt: {\\\$timestamp: {t: $CURR_TIME, i: 0}}}}\" --out $OAPP_MOUNT_DIR/backup_data_Oplog";
eval $EXEC_MYWORK;
)

Affected Products

NetWorker, NetWorker Module for Databases and Applications

Products

NetWorker Family, NetWorker Module
Article Properties
Article Number: 000166750
Article Type: Solution
Last Modified: 01 Apr 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.