Recent content by TECNI.sistemas

  1. T

    Put VM name into backup name

    With sed it's easy, so I did it in my script root@XD:~# HOSTNAME=VMname root@XD:~# TARGET=/media/local/dump/vzdump-qemu-100-2016_05_20-15_10_00.vma.lzo root@XD:~# NEWTARGET=`echo $TARGET|sed -r 's|(\-[0-9]{3}\-)|\1'$HOSTNAME'-|'` root@XD:~# mv $TARGET $NEWTARGET root@XD:~# TARGET=$NEWTARGET...
  2. T

    Connecting GCS/Google Cloud Storage to PBS!

    Hola En nuestro caso con el siguiente script: root@TECNI82:~# cat /CONFIG/backup.sh #!/bin/bash HOST=`cat /etc/hostname` echo `date +%F\ %T` Inciando copia a Google Drive rclone sync -l /BKS drive:/BKS/$HOST echo `date +%F\ %T` Fin de la copia a Google Drive sincronizamos los archivos de...
  3. T

    Hookscripts: Trigger on reboot

    Hi @NLay Yes, the idea is to run it in the VM, I was trying the /etc/init.d thing and I didn't get it to work for me, apparently in the new Debian versions it doesn't work, I also tried @reboot in the crontab, but, it isn't supported in Debian, so I used systemd to create a service and in this...
  4. T

    Hookscripts: Trigger on reboot

    Hello, we use crontab and to make backups of our LXC containers, we do not use any agent, with LXC accessing the file system is easy with mounting the disk "pve-vm ---- disk - 0" from the host, I did a test scenario with a VM to test the qemu commands, Force shutdown, In my case I had to...
  5. T

    Hookscripts: Trigger on reboot

    Hello, it is easier to see it if you turn off the VM, because the reboot does it very fast. What should the command to restart the GPU look like? How do you do it? if you look with qm or pct you can turn off, turn on, execute commands without having to do it inside the LXC or VM ... and in the...
  6. T

    Proxmox 7: Another one with SSH login problem with root user/password without keys

    Hi, according to reddit it is a problem with some update, the error is solved in this way: sudo systemctl disable ssh.socket sudo systemctl enable ssh.service
  7. T

    Hookscripts: Trigger on reboot

    Hi, This our crontab, edit with nano or vi, : nano /etc/crontab This crontab executes 2 script every day, at 2AM it executes the backup.sh script and at 4AM the maintenimiento.sh script. in your case you could run a script that verifies if the VM is running, for VM you use qm for LXC you use...
  8. T

    Install Ceph on dell PowerEdge 720 with perc

    Hello, we also have a DELL PE R720, with a PERC H710 RAID controller, we are not using ceph, in our case we use LVM and create in the controller menu with ctl + R three RAID1, 1TB SSD for Proxmox, 2TB DATA HDD, and SSD 256GB CACHE and SWAP, to see the DATA CACHE and SWAP disks it is necessary to...
  9. T

    Hookscripts: Trigger on reboot

    Hello, in case I have proxmox 6.4 and the scripts are launched with crontab, both in the VM and in proxmox, all the VM are LXC, what are you trying to do? a backup?
  10. T

    Proxmox 7: Another one with SSH login problem with root user/password without keys

    Hello there, We have version 6.4 in production, I started testing with version 7.0 and surprise an LXC via SSH with connection error "ssh: connect to host 192.168.1.9 port 22: Connection refused" after reading this thread I checked the status of the SSH service on shell "service ssh status" and...

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!