Search results

  1. E

    Set fixed UUID for all disks in a VM

    This didnt work anymore in 9.1. /lib/udev/scsi_id --export --whitelisted -d /dev/sdc
  2. E

    Running PBS as a VM on my Synology - Backup to NFS share or the PBS VM's own disk?

    You can run PBS in docker on synology nas. https://github.com/ayufan/pve-backup-server-dockerfiles (i made an own docker image, and it works good!)
  3. E

    Inconsistent vm status

    Hi, If i stop a vm, there is a small timeframe, that vm status is wrong in api. When i watch the vm console, and it's closed because "Guest not running". I use two api call: #pvesh get /nodes/vps2/qemu/200/status/current --output-format json-pretty { "agent" : 1, "cpu" : 0, "cpus" : 2...
  4. E

    Delayed offsite sync

    Thx for the answers. the ultimate stable solution is to sync everything to a "view" namespace, prune hourly/daily snapshots, and sync the rest to offsite. the only issue is that this copy the hourly/daily snapshots (actually just the index blobs) too. I wanted to skip this view namespace, so i...
  5. E

    Delayed offsite sync

    how to handle if main pbs is offline (maintenance, etc) on sunday? will the build-in schedule run the skipped job when pbs is online again?
  6. E

    Delayed offsite sync

    I understood the buildin sync, but i dont like it: if for some reason a sync is missed, the weekly namespace is left behind, and need a manual run to catch up with yourself. With crontab job, i can sync every day, and skip if already copied.
  7. E

    Delayed offsite sync

    Thx. Can i do this "sync" with linux commands in crontab? Something like this: # create vm/XXX dirs find daily -maxdepth 2 -mindepth 2 -type d -printf "%P\n"|while read id; do mkdir -p weekly/$id ; done # Copy last sunday dirs to weekly LAST_SUNDAY=$(date -d'next sunday - 1 week' +%Y-%m-%d)...
  8. E

    Delayed offsite sync

    All vm bitmap goes to invalid. there was no reboot. and backup mode: snapshot.
  9. E

    Delayed offsite sync

    i tested, but not fully good: i lost the dirty-bitmap feature on sunday and monday too: INFO: virtio0: dirty-bitmap status: existing bitmap was invalid and has been cleared
  10. E

    Delayed offsite sync

    Thx, thats a good idea!
  11. E

    Delayed offsite sync

    Hi, I use pbs with following prune, backup running every night: keep-daily 6 keep-weekly 6 keep-monthly 6 I want to sync to a offsite location, but the traffic is limited (bytes). So i dont want to sync every daily backup, just the weekly (+ monthly). How can i do that...
  12. E

    [SOLVED] Consolidate 2 Encrypted Datastores into a new Datastore

    Hi, I was in same situation: i had an unecrypted vm backup (~1T), and i needed to switch encrypted backup. The only was to "download" the vm images, and create a new backup (i use different datastore) from that images. I wrote a some tools for that (i like golang, sorry)...
  13. E

    golang library

    i dont like always reimplement everything in different languages (http request build/response parse, etc). If you look, my code is just a bindings to the c/rust code: translates function calls/variables from golang to c. I think, the rust based "c wrapper" is a good base, with that it's easy to...
  14. E

    golang library

    Hi, I wrote a golang library for access proxmox backup server: https://github.com/Elbandi/go-proxmox-backup-client It's using the proxmox backup qemu client api, but some pbs function is not exported in this code: restore config file accessing other backup type as "vm" Do you plan to...
  15. E

    Spice & Custom Self Signed Certificate

    hmm, i dont know, what happened, but i restart (=stop + start) the vm, and now looks good.
  16. E

    Spice & Custom Self Signed Certificate

    # openssl x509 -noout -subject -issuer -in /etc/pve/local/pve-ssl.pem subject=OU = PVE Cluster Node, O = Proxmox Virtual Environment, CN = proxmoxserver.domain.com issuer=CN = Proxmox Virtual Environment, OU = af89651d-ffa4-4906-9659-43bb301ee95f, O = PVE Cluster Manager CA # openssl x509 -noout...
  17. E

    Spice & Custom Self Signed Certificate

    something is changed with remote-viewer. v10-256 the downloaded vv file is looks good: ca=-----BEGIN CERTIFICATE-----....Cg==\n-----END CERTIFICATE-----\n host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=proxmoxserver.domain.com proxy=http://proxmoxserver.domain.com:3128...
  18. E

    Remote Spice access *without* using web manager

    My tiny app for this: https://github.com/Elbandi/proxmox-spice-quickconnect Just compile with golang, and you can use with command line params: -host pvenodeip -user foobar@pve -pass secret -vmid 123 or from a config file: host=pvenodeip user=foobar@pve pass=secret vmid=123...
  19. E

    ip6tables-save error in syslog

    this is just a workaround. We dont use ipv6, so we disable it in all servers. proxmox pve firewall sould check for ipv6 support, and dont run ipv6 save/restore if it is disabled. Elbandi
  20. E

    Problems with Spice Unable to Connect to Graphics Server

    Same error here. But i do some test: it works on ubuntu trusty 64bit and works on windows 7 32bit OS. But did not work on windows 7 64bit OS. I tested virt-viewer-x64-0.6.0.msi, virt-viewer-x86-0.6.0.msi, virt-viewer-x64-0.5.7.msi and virt-viewer-x86-0.5.7.msi on win7 64bit. None of them...