Advertisement
man_in_the_hill

restore_job_by_bconsole

Aug 29th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.39 KB | None | 0 0
  1. *restore
  2.  
  3. First you select one or more JobIds that contain files
  4. to be restored. You will be presented several methods
  5. of specifying the JobIds. Then you will be allowed to
  6. select which files from those JobIds are to be restored.
  7.  
  8. To select the JobIds, you have the following choices:
  9. 1: List last 20 Jobs run
  10. 2: List Jobs where a given File is saved
  11. 3: Enter list of comma separated JobIds to select
  12. 4: Enter SQL list command
  13. 5: Select the most recent backup for a client
  14. 6: Select backup for a client before a specified time
  15. 7: Enter a list of files to restore
  16. 8: Enter a list of files to restore before a specified time
  17. 9: Find the JobIds of the most recent backup for a client
  18. 10: Find the JobIds for a backup for a client before a specified time
  19. 11: Enter a list of directories to restore for found JobIds
  20. 12: Select full restore to a specified Job date
  21. 13: Cancel
  22. Select item: (1-13): 5
  23. Defined Clients:
  24. 1: proxmox-lespointus-fd
  25. 2: vm-lespointus-fd
  26. Select the Client (1-2): 2
  27. Automatically selected FileSet: FileCristal2Backup
  28. +-------+-------+----------+---------------+---------------------+------------+
  29. | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName |
  30. +-------+-------+----------+---------------+---------------------+------------+
  31. | 1 | F | 8,803 | 1,639,986,138 | 2011-08-29 12:37:30 | Full-0001 |
  32. +-------+-------+----------+---------------+---------------------+------------+
  33. You have selected the following JobId: 1
  34.  
  35. Building directory tree for JobId(s) 1 ... +++++++++++++++++++++++++++++++++++++++++++++++++
  36. 8,744 files inserted into the tree.
  37.  
  38. You are now entering file selection mode where you add (mark) and
  39. remove (unmark) files to be restored. No files are initially added, unless
  40. you used the "all" keyword on the command line.
  41. Enter "done" to leave this mode.
  42.  
  43. cwd is: /
  44. $ cd C:/
  45. cwd is: C:/
  46. $ ls
  47. cristal2/
  48. $ mark cristal2
  49. 8,803 files marked.
  50. $ done
  51. Bootstrap records written to /var/bacula/working/proxmox-lespointus-dir.restore.1.bsr
  52.  
  53. The job will require the following
  54. Volume(s) Storage(s) SD Device(s)
  55. ===========================================================================
  56.  
  57. Full-0001 UsbStorageForCristal2 UsbStorageIrris
  58.  
  59. Volumes marked with "*" are online.
  60.  
  61.  
  62. 8,803 files selected to be restored.
  63.  
  64. The defined Restore Job resources are:
  65. 1: RestoreFilesCristal2
  66. 2: RestoreFilesDebian
  67. Select Restore Job (1-2): 1
  68. Run Restore job
  69. JobName: RestoreFilesCristal2
  70. Bootstrap: /var/bacula/working/proxmox-lespointus-dir.restore.1.bsr
  71. Where: /mnt/backup/bacula/irris/cristal2-restores
  72. Replace: always
  73. FileSet: FileCristal2Backup
  74. Backup Client: vm-lespointus-fd
  75. Restore Client: vm-lespointus-fd
  76. Storage: UsbStorageForCristal2
  77. When: 2011-08-29 12:51:03
  78. Catalog: MyCatalog
  79. Priority: 10
  80. Plugin Options: *None*
  81. OK to run? (yes/mod/no): yes
  82. Job queued. JobId=2
  83. *
  84. 29-Aug 12:51 proxmox-lespointus-dir JobId 2: Start Restore Job RestoreFilesCristal2.2011-08-29_12.51.08_04
  85. 29-Aug 12:51 proxmox-lespointus-dir JobId 2: Using Device "UsbStorageIrris"
  86. 29-Aug 12:51 proxmox-lespointus-sd JobId 2: Ready to read from volume "Full-0001" on device "UsbStorageIrris" (/mnt/backup/bacula/irris).
  87. 29-Aug 12:51 proxmox-lespointus-sd JobId 2: Forward spacing Volume "Full-0001" to file:block 0:220.
  88. *list jobs
  89. +-------+----------------------+---------------------+------+-------+----------+---------------+-----------+
  90. | JobId | Name | StartTime | Type | Level | JobFiles | JobBytes | JobStatus |
  91. +-------+----------------------+---------------------+------+-------+----------+---------------+-----------+
  92. | 1 | BackupCristal2 | 2011-08-29 12:37:30 | B | F | 8,803 | 1,639,986,138 | T |
  93. | 2 | RestoreFilesCristal2 | 2011-08-29 12:51:10 | R | F | 8,803 | 1,639,986,138 | T |
  94. +-------+----------------------+---------------------+------+-------+----------+---------------+-----------+
  95. You have messages.
  96. *
  97. 29-Aug 12:54 proxmox-lespointus-sd JobId 2: End of Volume at file 0 on device "UsbStorageIrris" (/mnt/backup/bacula/irris), Volume "Full-0001"
  98. 29-Aug 12:54 proxmox-lespointus-sd JobId 2: End of all volumes.
  99. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: Bacula proxmox-lespointus-dir 5.0.3 (04Aug10): 29-Aug-2011 12:54:40
  100. Build OS: x86_64-unknown-linux-gnu debian 5.0.8
  101. JobId: 2
  102. Job: RestoreFilesCristal2.2011-08-29_12.51.08_04
  103. Restore Client: vm-lespointus-fd
  104. Start time: 29-Aug-2011 12:51:10
  105. End time: 29-Aug-2011 12:54:40
  106. Files Expected: 8,803
  107. Files Restored: 8,803
  108. Bytes Restored: 1,639,986,138
  109. Rate: 7809.5 KB/s
  110. FD Errors: 0
  111. FD termination status: OK
  112. SD termination status: OK
  113. Termination: Restore OK
  114.  
  115. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: Begin pruning Jobs older than 6 months .
  116. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: No Jobs found to prune.
  117. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: Begin pruning Jobs.
  118. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: No Files found to prune.
  119. 29-Aug 12:54 proxmox-lespointus-dir JobId 2: End auto prune.
  120.  
  121. *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement