db.dobo.sk

NW recovery quick guide

3 komentárov

kvikgajd:1. niekdo chce obnoviť súbory na serveru $SERVER.COM a tuie boli v adresári $FOLDER a k dátumu $DATUM

nsrinfo SERVER | grep FOLDER – vylistuje, esli tam nejake bekapovanie skutocne je a ake ma fyzicke cesty

2. gros – utilita recover, ktora pracuje vo fullcomand mode, alebo interaktivnom mode, interaktivny je lepsi (prepinace moznosti)

recover -c SERVER

recover>

principialne to funguje tak, ze obnovovat sa bude do aktualneho adresara, alebo do explicitne uvedeneho adresara. Subory/foldre sa pridaju/odoberu do listu k recovery a potom sa spusti recovery

3. prepinace v interaktivnm rezime

  • cd a ls – jak v unixw
  • versions – vylistuje casove verzie backupovanych poloziek
  • changetime – stanovenie fokusu casu, ktory nas zaujima
  • add – pridava subory/foldre do listu
  • delete – opak
  • list – vylistovanie poloziek, ktore su urcene k recovery

4. recover> recover

píše: ďobo

October 3rd, 2017 o 9:15 am

chlievik: Networker

3 odpovedí to 'NW recovery quick guide'

Subscribe to comments with RSS or TrackBack to 'NW recovery quick guide'.

  1. ďobo

    4 Oct 17 at 9:26

  2. Example : Performing a recover in interactive mode

    1. Type: recover

    2. To select the files or directories to recover:

    a. Specify the directory to browse, for example:

    recover> cd /var/adm

    b. Select the file or directory for recovery:

    recover> add file_name

    3. To view the selected files or directory:

    recover> list

    4. To view the list of the volumes that NetWorker requires to recover the data:

    recover> volumes

    5. To recover the files to a location that differs from the original location, type:

    recover> relocate path

    6. To start the recovery operation, type:

    recover> recover

    7. When the recovery process completes, messages similar to the following appear:

    Received 1 file(s) from NSR server `jupiter’

    Recover completion time: Tue Jan 21 08:33:04 2009

    recover>

    8. To close the recover program, type Quit.

    dobo

    5 Jan 18 at 12:09

  3. Example: Performing a directed recover

    To recover a directory c:\mydir that was backed up on client mars to client jupiter, type:

    1. On client mars, type:

    recover -R jupiter -iY

    2. Add the c:\mydir directory:

    recover> add c:\mydir

    3. Recover the files:

    recover> recover

    dobo

    5 Jan 18 at 12:09

okomentuj