[SOLVED] Container names...

diaolin

Renowned Member
Jul 7, 2008
332
8
83
Trentino Italy
I use PBS and i find it very quick and good and i have anoher question:

Is it possible to have container names in the backup interface?

I add a screen shot of the actual backups
Is it possible to have even the name of the container in addition to it's ID?

Many tx.

I mean like the host/hostname

Diaolin
 

Attachments

  • PBS.png
    PBS.png
    64.7 KB · Views: 31
Last edited:
  • Like
Reactions: Matthieu Le Corre
Seen in the client side the possiblity to add a note.
It could be useful add the note automagically and add the name of the container/vm.
Have you any plan?
Many tx,
Diaolin
 
This is not true, i use it but it add's a note to the snapshot and not to the ct
ok for the hook, i'll do but why not add it automatic? With many containers (even vm)
this were useful.

I'll take a look to the hooks but if you have an update by the way :-)

Tx
 
Resolved with bash


backup-names.sh

Bash:
#!/bin/bash

# Phases passed to script as $1
#job-start
#backup-start
#pre-stop
#pre-restart
#post-restart
#backup-end
#log-end
#job-end
#
# add to vzdump as last parameter "--script completepath" (shoud be executable) in /etc/pve/vzdump.cron

export PBS_PASSWORD="password"
export PBS_REPOSITORY="backup@pbs@myservername:backup"

case $1 in
    backup-end)
        /usr/bin/proxmox-backup-client snapshot notes update "$TARGET" $HOSTNAME
        ;;
    #log-end)
    #   /usr/bin/proxmox-backup-client snapshot notes show "$TARGET"
    #   ;;
esac


Many thanks
 

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!