NetWorker for Windows: Een bootstrap opslaan op een optisch apparaat
Summary: NetWorker voor Windows Een bootstrap opslaan op een optisch apparaat.
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.
Instructions
OVERZICHT:
Deze KB is bedoeld voor Microsoft Windows NetWorker-servers. Zie voor instructies over Linux: NetWorker for Linux: Een bootstrap opslaan op een optisch apparaat
- Een leeg bestand maken
- Create a Networker device, media type: Optisch, verwijst de naam naar het lege bestand
- Label het optische apparaat in een pool voor bootstraps (back-uptype pool).
- Maak een bootstrap (nsrpolicy start voor het beleid "Server Protection").
- Als het al is opgeslagen op een ander dan een optisch apparaat, kloon of faseer de bootstrap dan op een optisch apparaat
- Ontkoppel het apparaat en maak een gecomprimeerd bestand
- Dien het gecomprimeerde bestand in (voeg het resultaat toe aan de aanvraag)
STAPPEN:
OPMERKING: Hieronder volgt een voorbeeldsessie van hoe u het overzicht vanaf de opdrachtregel kunt doorlopen. Wanneer u deze procedure volgt, moet u ervoor zorgen dat u de apparaat-, groeps- en poolnamen vervangt door de waarden uit uw omgeving.
- Open een Administrator PowerShell-prompt op de NetWorker-server.
- Zoek waar NetWorker is geïnstalleerd:
Get-Process nsrexecd | Format-List Path
Voorbeeld:
PS C:\Users\Administrator.NETWORKER> Get-Process nsrexecd | Format-List Path
Path : C:\Program Files\EMC NetWorker\nsr\bin\nsrexecd.exe
- Wijzig mappen in de NetWorker-installatiepaden
tmpdirectory met behulp van decdbevelen:
cd "<path to nsr>"
Voorbeeld:
cd "C:\Program Files\EMC NetWorker\nsr\tmp"
- In het
tmpdirectory, maakt u een leeg bestand met de naambootstrap:
New-Item bootstrap -type file
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> New-Item bootstrap -type file
Directory: C:\Program Files\EMC NetWorker\nsr\tmp
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 4/17/2025 10:55 AM 0 bootstrap
- Maak een optisch apparaat en bundel resources in NetWorker met behulp van de
nsradminOpdrachtprompt:
nsradmin
create type: nsr device; name: "<path to networker>\\nsr\\tmp\\bootstrap"; media type: optical
create type: nsr pool; name: optical-bootstrap; devices: "<path to networker>\\nsr\\tmp\\bootstrap"
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsradmin
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> create type: nsr device; name: "C:\\Program Files\\EMC NetWorker\\nsr\\tmp\\bootstrap"; media type: optical
type: NSR device;
name: \
"C:\\Program Files\\EMC NetWorker\\nsr\\tmp\\bootstrap";
media type: optical;
Create? y
created resource id 51.0.236.26.0.0.0.0.121.196.254.103.192.168.0.11(1)
nsradmin> create type: nsr pool; name: optical-bootstrap; devices: "C:\\Program Files\\EMC NetWorker\\nsr\\tmp\\bootstrap"
type: NSR pool;
name: optical-bootstrap;
devices: \
"C:\\Program Files\\EMC NetWorker\\nsr\\tmp\\bootstrap";
Create? y
created resource id 52.0.236.26.0.0.0.0.121.196.254.103.192.168.0.11(1)
nsradmin> quit
- Gebruik de
nsrmmOpdracht voor het labelen en koppelen van een volume voor het nieuwe optische apparaat:nsrmm -lm -b "optical-bootstrap" -f "<path to networker>\nsr\tmp\bootstrap" bootstrap.001
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrmm -lm -b "optical-bootstrap" -f "C:\Program Files\EMC NetWorker\nsr\tmp\bootstrap" optical-bootstrap.001 PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrmm optical disk optical-bootstrap.001 mounted on C:\Program Files\EMC NetWorker\nsr\tmp\bootstrap, write enabled
- Gebruik de
nsrpolicyopdracht om de bestaande pool voor het beleid "Server Protection" te zoeken:
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrpolicy action display -p "Server Protection" -w "Server backup" -A "Server db backup"
{
"actionName": "Server db backup",
"actionSpecific": {
"actions": {
"actionType": "server backup",
"asbDestinationPool": "Default",
"asbDestinationStorageNode": "nsrserverhost",
.
.
- Gebruik de
nsrpolicyOpdracht om de pool te wijzigen in optische-bootstrap:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrpolicy action update server-backup -p "Server Protection" -w "Server backup" -A "Server db backup" -o optical-bootstrap 121404:nsrpolicy: action 'Server db backup' was successfully updated
- Gebruik de
nsrpolicyopdracht voor het starten van een Server Protection-back-up:
nsrpolicy start -p "Server Protection" -w "Server Backup" - Zodra de back-up is voltooid, gebruikt u de
mminfoopdracht om te bevestigen dat de bootstrap is opgeslagen op het optische apparaat:
mminfo -B
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> mminfo -B
date time ssid file record volume device
4/17/2025 11:30:43 AM 4261486243 0 4 optical-bootstrap.001 C:\Program Files\EMC NetWorker\nsr\tmp\bootstrap
PS C:\Program Files\EMC NetWorker\nsr\tmp>
- Gebruik de
nsrmmOpdracht voor het ontkoppelen van het optische bootstrap-apparaat:
nsrmm -u optical-bootstrap.001
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrmm -u optical-bootstrap.001 Unmounted device: C:\Program Files\EMC NetWorker\nsr\tmp\bootstrap
- Zip het bootstrap-bestand vanuit de
tmpmap:
Compress-Archive -Path bootstrap -DestinationPath bootrstrap.zip
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> Compress-Archive -Path bootstrap -DestinationPath bootrstrap.zip
PS C:\Program Files\EMC NetWorker\nsr\tmp> dir | findstr bootrstrap
-a---- 4/17/2025 11:37 AM 46084 bootrstrap.zip
OPMERKING: In dit voorbeeld kan bootstrap.zip worden gebruikt om de bootstrap-media naar een andere computer te transporteren. Als u het proces wilt herhalen voor verdere (toekomstige) bootstraps, labelt u het volume als de resources niet zijn verwijderd, opnieuw, voert u het beleid opnieuw uit, ontkoppelt u het apparaat en maakt u het opnieuw in de map "Compressed (zipped)".
- Configureer het serverbeschermingsbeleid opnieuw om de oorspronkelijke groep te gebruiken volgens de uitvoer die is verzameld in stap 7.
nsrpolicy action update server-backup -p "Server Protection" -w "Server backup" -A "Server db backup" -o <POOL_NAME>
Voorbeeld:
PS C:\Program Files\EMC NetWorker\nsr\tmp> nsrpolicy action update server-backup -p "Server Protection" -w "Server backup" -A "Server db backup" -o Default 121404:nsrpolicy: action 'Server db backup' was successfully updated
Additional Information
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000020838
Article Type: How To
Last Modified: 17 Apr 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.