-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Labels
bugThis addresses a bugThis addresses a bug
Description
Bareos component version
- bareos 24.0.1~pre19.3e3a7a6a2-19
- bareos-bconsole 24.0.1~pre19.3e3a7a6a2-19
- bareos-client 24.0.1~pre19.3e3a7a6a2-19
- bareos-common 24.0.1~pre19.3e3a7a6a2-19
- bareos-contrib-director-python-plugins 24.0.1~pre19.3e3a7a6a2-19
- bareos-contrib-filedaemon-python-plugins 24.0.1~pre19.3e3a7a6a2-19
- bareos-database-common 24.0.1~pre19.3e3a7a6a2-19
- bareos-database-postgresql 24.0.1~pre19.3e3a7a6a2-19
- bareos-database-tools 24.0.1~pre19.3e3a7a6a2-19
- bareos-director 24.0.1~pre19.3e3a7a6a2-19
- bareos-director-python-plugins-common 24.0.1~pre19.3e3a7a6a2-19
- bareos-director-python3-plugin 24.0.1~pre19.3e3a7a6a2-19
- bareos-filedaemon 24.0.1~pre19.3e3a7a6a2-19
- bareos-filedaemon-postgresql-python-plugin 24.0.1~pre19.3e3a7a6a2-19
- bareos-filedaemon-python-plugins-common 24.0.1~pre19.3e3a7a6a2-19
- bareos-filedaemon-python3-plugin 24.0.1~pre19.3e3a7a6a2-19
- bareos-storage 24.0.1~pre19.3e3a7a6a2-19
- bareos-storage-python-plugins-common 24.0.1~pre19.3e3a7a6a2-19
- bareos-storage-python3-plugin 24.0.1~pre19.3e3a7a6a2-19
- bareos-storage-tape 24.0.1~pre19.3e3a7a6a2-19
- bareos-tools 24.0.1~pre19.3e3a7a6a2-19
- bareos-vadp-dumper 24.0.1~pre19.3e3a7a6a2-19
- bareos-vmware-plugin 24.0.1~pre19.3e3a7a6a2-19
- bareos-vmware-vix-disklib 8.0.3-23950268
- bareos-webui 24.0.1~pre19.3e3a7a6a2-19
Steps to reproduce
Create a job and file set:
Job {
Name = "vm-DC3"
JobDefs = "VmwareJob"
FileSet = "vm-DC3_fileset"
}
FileSet {
Name = "vm-DC3_fileset"
Include {
Options {
Signature = XXH128
Compression = LZ4
}
Plugin = "python"
":module_name=bareos-fd-vmware"
":dc=Darkstar:folder=/Windows"
":vmname=DC3"
":vcserver=vcenter.example.org"
":vcuser=bareos@vsphere.local"
":vcpass=…"
":vcthumbprint=…"
}
}
Run a backup.
Restore the backup:
*restore client=bareos-fd fileset=vm-DC3_fileset pluginoptions=python:vmname=DC3_restore-test:restore_powerstate=off select current all done restorejob=RestoreFiles yes
Restore starts:
Using Catalog "MyCatalog"
+-------+-------+----------+----------------+---------------------+-----------------+
| jobid | level | jobfiles | jobbytes | starttime | volumename |
+-------+-------+----------+----------------+---------------------+-----------------+
| 13833 | F | 6 | 15,304,422,768 | 2025-01-08 21:51:47 | VmwareFull-6061 |
| 22930 | D | 6 | 324,846,288 | 2025-01-23 22:41:26 | VmwareDiff-9225 |
| 23613 | I | 6 | 130,110,048 | 2025-01-25 00:01:52 | VmwareIncr-7367 |
| 24308 | I | 6 | 129,622,160 | 2025-01-25 23:39:52 | VmwareIncr-7552 |
| 25020 | I | 6 | 175,451,840 | 2025-01-26 23:40:04 | VmwareIncr-7739 |
| 25845 | I | 6 | 126,097,744 | 2025-01-28 11:09:26 | VmwareIncr-7928 |
+-------+-------+----------+----------------+---------------------+-----------------+
You have selected the following JobIds: 13833,22930,23613,24308,25020,25845
Building directory tree for JobId(s) 13833,22930,23613,24308,25020,25845 ...
7 files inserted into the tree and marked for extraction.
Bootstrap records written to /var/lib/bareos/bareos-dir.restore.46.bsr
The job will require the following
Volume(s) Storage(s) SD Device(s)
===========================================================================
VmwareFull-6061 DiskVmwareOhs DiskVmware1
VmwareDiff-9225 DiskVmwareOhs DiskVmware1
VmwareIncr-7367 DiskVmwareOhs DiskVmware1
VmwareIncr-7552 DiskVmwareOhs DiskVmware1
VmwareIncr-7739 DiskVmwareOhs DiskVmware1
VmwareIncr-7928 DiskVmwareOhs DiskVmware1
Volumes marked with "*" are online.
7 files selected to be restored.
Using Catalog "MyCatalog"
Job queued. JobId=26519
You have messages.
Restore job log:
*list joblog jobid=26519
2025-01-28 16:42:28 bareos-dir JobId 26519: Version: 24.0.1~pre19.3e3a7a6a2 (08 January 2025) Debian GNU/Linux 12 (bookworm)
2025-01-28 16:42:28 bareos-dir JobId 26519: Start Restore Job RestoreFiles.2025-01-28_16.42.28_46
2025-01-28 16:42:28 bareos-dir JobId 26519: Connected Storage daemon at bareos.example.org:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:28 bareos-dir JobId 26519: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:28 bareos-dir JobId 26519: Using Device "DiskVmware1" to read.
2025-01-28 16:42:28 bareos-dir JobId 26519: Connected Client: bareos-fd at 2001:678:274:17::4:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:28 bareos-dir JobId 26519: Handshake: Immediate TLS
2025-01-28 16:42:28 bareos-dir JobId 26519: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:30 bareos--fd JobId 26519: Connected Storage daemon at bareos.example.org:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:30 bareos-ohs-sd JobId 26519: Version: 24.0.1~pre19.3e3a7a6a2 (08 January 2025) Debian GNU/Linux 12 (bookworm)
2025-01-28 16:42:30 bareos--fd JobId 26519: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2025-01-28 16:42:31 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareFull-6061" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:42:31 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareFull-6061" to file:block 0:223.
2025-01-28 16:42:31 bareos--fd JobId 26519: python3-fd-mod: Could not find VM /Windows/DC3_restore-test in DC Darkstar
2025-01-28 16:42:34 bareos--fd JobId 26519: Warning: python3-fd-mod: MAC address 00:50:56:86:d1:04 already exists in VM(s): ['/Windows/DC3'], restored VM will get generated MAC address
2025-01-28 16:42:34 bareos--fd JobId 26519: Warning: python3-fd-mod: UUID 420669cf-65ad-2f41-6cc9-d640f2643cb0 already exists in VM: /Windows/DC3, restored VM will get new generated UUID
2025-01-28 16:42:35 bareos--fd JobId 26519: python3-fd-mod: Creating VM DC3_restore-test in folder /Windows (Windows)
2025-01-28 16:42:36 bareos--fd JobId 26519: python3-fd-mod: Successfully created VM DC3_restore-test
2025-01-28 16:42:36 bareos--fd JobId 26519: Version: 24.0.1~pre19.3e3a7a6a2 (08 January 2025) Debian GNU/Linux 12 (bookworm)
2025-01-28 16:45:48 bareos-ohs-sd JobId 26519: End of Volume at file 3 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareFull-6061"
2025-01-28 16:45:48 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareDiff-9225" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:45:48 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareDiff-9225" to file:block 0:231.
2025-01-28 16:46:16 bareos-ohs-sd JobId 26519: End of Volume at file 0 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareDiff-9225"
2025-01-28 16:46:16 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareIncr-7367" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:46:16 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareIncr-7367" to file:block 0:224.
2025-01-28 16:46:44 bareos-ohs-sd JobId 26519: End of Volume at file 0 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareIncr-7367"
2025-01-28 16:46:44 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareIncr-7552" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:46:44 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareIncr-7552" to file:block 0:224.
2025-01-28 16:47:18 bareos-ohs-sd JobId 26519: End of Volume at file 0 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareIncr-7552"
2025-01-28 16:47:18 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareIncr-7739" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:47:18 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareIncr-7739" to file:block 0:224.
2025-01-28 16:47:53 bareos-ohs-sd JobId 26519: End of Volume at file 0 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareIncr-7739"
2025-01-28 16:47:53 bareos-ohs-sd JobId 26519: Ready to read from volume "VmwareIncr-7928" on device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:47:53 bareos-ohs-sd JobId 26519: Forward spacing Volume "VmwareIncr-7928" to file:block 0:224.
2025-01-28 16:48:22 bareos-ohs-sd JobId 26519: End of Volume at file 0 on device "DiskVmware1" (/srv/bareos/vmware), Volume "VmwareIncr-7928"
2025-01-28 16:48:22 bareos-ohs-sd JobId 26519: End of all volumes.
2025-01-28 16:48:22 bareos-ohs-sd JobId 26519: Releasing device "DiskVmware1" (/srv/bareos/vmware).
2025-01-28 16:48:25 bareos-dir JobId 26519: Bareos bareos-dir 24.0.1~pre19.3e3a7a6a2 (08Jan25):
Build OS: Debian GNU/Linux 12 (bookworm)
JobId: 26519
Job: RestoreFiles.2025-01-28_16.42.28_46
Restore Client: "bareos-fd" 24.0.1~pre19.3e3a7a6a2 (08Jan25) Debian GNU/Linux 12 (bookworm),debian
Start time: 28-Jan-2025 16:42:28
End time: 28-Jan-2025 16:48:25
Elapsed time: 5 mins 57 secs
Files Expected: 7
Files Restored: 7
Bytes Restored: 32,448,796,692
Rate: 90893.0 KB/s
FD Errors: 0
FD termination status: OK -- with warnings
SD termination status: OK
Bareos binary info: Bareos community build (UNSUPPORTED): Get professional support from https://www.bareos.com
Job triggered by: User
Termination: Restore OK -- with warnings
Start the Windows VM.
Expected results
Windows VM starts successfully.
Actual results
Environment
- OS: Debian 12Relevant log output
Relevant traces output
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis addresses a bugThis addresses a bug
