I can confirm this stil working greate (PVE 6.3-3, PBS 1.0-6) but you need to edit the script because "proxmox-backup-client snapshot" need to be "proxmox-backup-client snapshot list " now it a small change on proxmox-backup client cli.
still some thing have you "modprobe nbd" module ?
try to...
Hive not find doc to as i was testing this feature because i thin this implementation is only on proxmox module, so you need to have proxmox kernel / backup server module. I gona retry the script tonight or tomoro morning from my side and keep you aware if is still workibg on my side if yes i...
Have not used it from last december maby some api call have change (i know there a lot of change api client xall), you can try to execute one by one commande line and they probably one not working (the commande send by ssh)
Look for something with proxmox-backup-client as commande and you need...
@JamesT Hi JamesT
This is the working python script.
First my environement, PBS is install on PVE server who is dedicated to backup, I mount my backup on it self but shoul work on any host who have pve install and can reach backup serveur
1:Script use SSH to push commande to local or distant...
Yes but you need to take in consideration this is wipe script and it need some love to shine, i gona remove sensible information and attach my draf there. Its a python script are you good with this language ? Did you need some comment cause now it did not have any comment on it
After many test ive finaly write a small script around the proxmox-backup-client and qemu-nbd who start a vm from backup. But regarding performance other than add a cache and special device do someone have advice to boost read iops over backup (zfs datastore)
For the record
Ive passe from...
You can use the commande qemu-nbd refered on this thread "https://forum.proxmox.com/threads/instant-mount-start-of-vm-from-pbs-backup.77627/" to map drive visible as read write on your vm it important to use the -s option
For the migration part you can use sshfs to map the the esxi datastore on the proxmox server then you can directly use the impor command provide by kevin (you save a copy step)
Or if the vm is big enough you can map a nfs on the esxi from proxmox
1:Then take a snapshot of vmware vm
2:copy base...
Thank stefan, i gona test this map/unmap commande then. the post is solved for me i let it open for sometime if someone need to add something
Cordialement,
Just quick dirt note if some on need complet procedure to mount drive from backup (It just some information ive found every where)
export PBS_REPOSITORY='username@pbs@x.x.x.x:datastoreName'
export PBS_PASSWORD='PasswordUsername'
export PBS_FINGERPRINT='Figerprint'
qemu-nbd --connect=/dev/nbd0...
I can with sucess mount the backup from pbs with the qemu-nbd -s commande (ive found that on a other tread on this forum) then i can map de device with
Ln -s /dev/nbd0 rpool/data/vm-100-disk-1
After that i can restor the config file and edit the config to point to new drive
I have booted a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.