Meilleur auteur de réponses
Sauvegarder une ferme SharePoint

Question
-
Bonjour j'ai un problème pour sauvegarder ma ferme Sharepoint j'utilise la commande :
Backup-SPFarm -Directory C:\Backup\ -BackupMethod full -Verbose
et même
Backup-SPFarm -Directory C:\Backup\ -BackupMethod full -Verbose -Force
Et il me balance des erreurs que j'ai du mal à interpréter:
Erreur affichée sur la console PowerShell:
Backup-SPFarm : The backup job failed. For more information, see the error log that is located in the backup directory. At C:\backup\SP2010_Farm_Backup_With_Notification.ps1:15 char:16 + Backup-SPFarm <<<< -Directory C:\Backup\DailyFarmBackup\$today -BackupMet od full -Verbose + CategoryInfo : InvalidData: (Microsoft.Share...mdletBackupFarm: SPCmdletBackupFarm) [Backup-SPFarm], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletBackupFa rm VERBOSE: Leaving ProcessRecord Method of Backup-SPFarm. VERBOSE: Leaving EndProcessing Method of Backup-SPFarm.
Erreur dans le fichier de log:
[05/03/2012 12:03:15] Finished with 42 warnings. [05/03/2012 12:03:15] Finished with 7 errors. [05/03/2012 12:03:15] FatalError: Backup failed for Object BDC_Service_DB_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx failed in event OnBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory. [05/03/2012 12:03:15] -------------------------------------------------
On dirait qu'il ne trouve pas certains fichiers:
Warning: [SharePoint_Config] Cannot open backup device 'C:\backup\spbr0000\0000007B.bak'. Operating system error 3(failed to retrieve text for this error. Reason: 15105).
Le dossier généré ne fait qu'un Kb, c'est très loin du compte.
Ma question est la suivante: quel peut bien être l'origine de ce problème? Avez vous déjà vu ce cas de figure?
- Modifié Jerem25 mercredi 7 mars 2012 09:16
Réponses
-
Mon dossier n'était pas shared. J'étais dans l'onglet security du dossier alors qu'il fallait aller dans shared. ^^
Merci beaucoup Mister fun et Ostefn à bientôt
- Marqué comme réponse ThierryBuissonMVP, Moderator mardi 27 mars 2012 12:58
Toutes les réponses
-
-
Bonjour Ostefn, marcie pour ta réponse
je le lance sous le compte d'amdinistrateur donc je pense que oui.
D'autant plus que j'ai fait un script de sauvegarde de toutes les collections de sites de la ferme (avec la commande Backup-SPSite répétée foreach SPSite in Get-SPSite) et ça marche nikel. Je ne vois pas pourquoi ça ne fonctionnerais pas pour le backup de ma spfarm.
-
Mon dossier n'était pas shared. J'étais dans l'onglet security du dossier alors qu'il fallait aller dans shared. ^^
Merci beaucoup Mister fun et Ostefn à bientôt
- Marqué comme réponse ThierryBuissonMVP, Moderator mardi 27 mars 2012 12:58