Search results

  1. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    Thanks @Dunuin. With the pve root fs being on a logical volume, I wonder if it's possible to do an lvm snapshot and make that the source of your block level backup to PBS?
  2. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    Do you perform the root fs block level backups on running system? Also how do you go about restoring a PVE root fs from block level backup stored on PBS?
  3. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    Thanks. for that info. I was aware that /etc/pve was a fuse mount backed by the proxmox userland application. I didn't know that that sqlite file was part of it. So, if one were to restore config to a non-running PVE system, they must restore that sqlite db. I have added it to my rsnapshot config!
  4. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    Due to the versatility of setup, I'm wondering if such a one size fits all system backup/restore utility for PVE is feasible.
  5. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    I understand that /etc/pve is critical. However mention has been made of /var/lib/pve-cluster. Whilst it appears to store config data, I was under the impression it was part of the running state of PVE and not critical to backup. Is that correct? I have not yet used my backup to restore on top...
  6. K

    [SOLVED] HOW TO BACKUP PROXMOX CONFIGURATION FILES.

    Some of these solutions seem over complex to me but I may be missing something. My PVE host backup strategy has been to create simple backup archives that are easy to use should I need to selectively restore config: rsnapshot /etc/ (one_fs=0), /root, /usr/local (where I try to make a point to...
  7. K

    [SOLVED] KAM_SOMETLD_ARE_BAD_TLD

    For some foolish reason I was only looking at the headers for a TLD. I found the culprit in the message body.
  8. K

    [SOLVED] KAM_SOMETLD_ARE_BAD_TLD

    I've a few emails that score with: KAM_SOMETLD_ARE_BAD_TLD 5 .bar, .beauty, .buzz, .cam, .casa, .cfd, .club, .date, .guru, .link, .live, .online, .press, .pw, .quest, .rest, .sbs, .shop, .stream, .top, .trade, .work, .xyz TLD abuse However I don't see where the emails concerned match this...
  9. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    Yes, I do. No errors. INFO: HOOK: job-end INFO: HOOK-ENV: dumpdir=/mnt/pve/omv-backup/dump;storeid=omv-backup; INFO: HOOK: storage: nfs /mnt/pve/omv-backup INFO: HOOK: job-end umounted /mnt/pve/omv-backup INFO: Backup job finished successfully
  10. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    Well I don't think the directory ever gets unmounted. When I run the backup, whilst running another shell in the mounted fs, no errors occur. Ordinarily attempting to umount it under those circumstances should fail. I'm going to keep plugging away and may redo the hook script with bash rather...
  11. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    pvesm status shows the store as disabled once job completes and I can successfully umount the NFS export (manually using umount directly or running relevant perl snippet from the hookscript). Here are relevant parts of config and journal output as well as mounts before and after job runs: #...
  12. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    It seems umount, called from the hook script, has no effect. That, or the pve daemon immediately remounts it for some reason. The system call to umount in my hookscript (job-end phase) is successful in so far as it returns success (0). However checking mount and directory listing after the job...
  13. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    I felt wrong invoking perl via system from within a perl script. Incidentally after posting I just found I could do this my $cfg = PVE::Storage::config(); my $fstype = $cfg->{'ids'}{$storeid}{'type'}; my $mountpoint = $cfg->{'ids'}{$storeid}{'path'}; but haven't tested anything. However I'm...
  14. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    I just realised that disabling storage does not umount the NFS volume. Now I am attempting something like this in my hookscript: if (($phase eq 'job-end') || ($phase eq 'job-abort')) { my $mountpoint = system ("pvesh get storage/$storeid --noheader 1 --noborder 1 | grep ^path | awk...
  15. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    Just what I need. I had no idea you could set script on specific jobs. Many thanks!
  16. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    Thanks. I look forward to it. So once implemented, absence of a shedule will mean we can infer it was run from the web UI or cmdline. This was my first experience with PVE hooks. I wanted to (un)mount remote storage on demand. But not unmount if the script had been invoked via non-scheduled backup.
  17. K

    [SOLVED] Determine if backup is run interactively vs scheduled

    Within a vzdump hook script, how can I differentiate scheduled backups from those run interactively via the web UI? There doesn't appear to be anything in env I might use to do this.
  18. K

    Strange ACPI errors related to deactivating devices in BIOS.

    By the way that is not a kernel bug. It's a BIOS issue. Actually that post mentions a way of disabling specific ACPI methods. There might lie your solution.
  19. K

    Strange ACPI errors related to deactivating devices in BIOS.

    In my experience, yes. And if these only appear when you disable devices on the mobo, I'm guessing even more harmless. It seems many of these boards' firmware are written with windows in mind rather than a complete and correct implementation. Usually, all the annoying errors/warnings appear at...
  20. K

    Strange ACPI errors related to deactivating devices in BIOS.

    I like your 'fix' ;-) These ACPI method warnings are fairly common IME. More so on older boards and when you disable an onboard device. Most of the time they are harmless and usually down to the board vendor's ACPI implementation. I see them on my PVE host every time i power on a SATA hotplug...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!