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

  1. Een leeg bestand maken
  2. Create a Networker device, media type: Optisch, verwijst de naam naar het lege bestand
  3. Label het optische apparaat in een pool voor bootstraps (back-uptype pool).
  4. Maak een bootstrap (nsrpolicy start voor het beleid "Server Protection").
  5. Als het al is opgeslagen op een ander dan een optisch apparaat, kloon of faseer de bootstrap dan op een optisch apparaat
  6. Ontkoppel het apparaat en maak een gecomprimeerd bestand
  7. 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. 
  1. Open een Administrator PowerShell-prompt op de NetWorker-server.
  2. 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
  1. Wijzig mappen in de NetWorker-installatiepaden tmp directory met behulp van de cd bevelen:

cd "<path to nsr>"

Voorbeeld:

cd "C:\Program Files\EMC NetWorker\nsr\tmp"

  1. In het tmp directory, maakt u een leeg bestand met de naam bootstrap:

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
  1. Maak een optisch apparaat en bundel resources in NetWorker met behulp van de nsradmin Opdrachtprompt:

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
  1. Gebruik de nsrmm Opdracht 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
  1. Gebruik de nsrpolicy opdracht 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",



.
.
  1. Gebruik de nsrpolicy Opdracht 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
    1. Gebruik de nsrpolicy opdracht voor het starten van een Server Protection-back-up:
       
      nsrpolicy start -p "Server Protection" -w "Server Backup"
    2. Zodra de back-up is voltooid, gebruikt u de mminfo opdracht 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>
    1. Gebruik de nsrmm Opdracht 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
    1. Zip het bootstrap-bestand vanuit de tmp map:

     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)".
    1. 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

    NetWorker

    Products

    NetWorker
    Article 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.