https://github.com/pandada8/pbs-fast-restore
Restore your proxmox backup offline fast
https://github.com/pandada8/pbs-fast-restore
Last synced: about 2 months ago
JSON representation
Restore your proxmox backup offline fast
- Host: GitHub
- URL: https://github.com/pandada8/pbs-fast-restore
- Owner: pandada8
- Created: 2023-12-29T10:39:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-30T06:02:09.000Z (over 1 year ago)
- Last Synced: 2025-02-15T18:38:31.421Z (4 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# pbs-fast-restore
This tools enable you to recover single qcow2/raw from proxmox backup server fast.
## How it works
Read chunks in parallel and write to target device in serial
## How to use
1. set up target device
```
modprobe nbd
qemu-img create -f qcow2 victim.qcow2 100G
qemu-nbd -c /dev/nbd0 victim.qcow2 --discard=unmap --detect-zeroes=unmap --aio=io_uring
```2. run
```
./pbsfastrestore -src /mnt/datastore/backup/pbs/dev/vm/123/2023-12-31T19:00:06Z/drive-scsi4.img.fidx -dest /dev/nbd0 -chunks /mnt/datastore/backup/pbs/dev/.chunks/ -workers 8
```