[SOLVED] Startup Proxmox Backup server and then run and then shutdown

cazz

Member
Jul 18, 2021
65
2
13
46
Sweden
Hello
Ok this may sound a bit strange but will try to explain what I am looking for and then I want to know if it is a good or bad solution.

I have two Proxmox server that I like to backup some VM
I was thinking about install Proxmox Backup Server on a HP Microserver that I going to have some TB storage.
But I do not want to have it running all the time, just a few hours on the weekends.

My idea is that run wake on lan command on a certain fixed time, let us say 7am in the morning on saturday so Proxmox Backup Server start up.
And then at 7.10am it start to run backup on VM1 and after that VM2 and so on.
And when it done backup it going to shutdown the Proxmox Backup Server.

Maybe set a time that turn the server of or run a script on the last backup job when it is finnish.

Right now I do not want to have three server running 24/7 and I wonder if this is a good or bad idea?
Not even sure if I can run wake on lan on the server but I going to look into that later.
 
You can also make use of hook scripts. Such a hook script could send a WoL and check using the API if PBS is ready when the backup job starts and it could shutdown the PBS at the end of the backup job using the API, IPMI or SSH.
But keep in mind that the PBS also needs to do maintaince tasks. So you might also boot it up on a regular schedule to do the prune, GC, verify and scrub (in case of ZFS).
 
Last edited:
  • Like
Reactions: cazz
Thanks for the replay
Hmm ok, I think the best idea is to run a WoL to the server and then have it running 24 hour and then shutdown the server.
 

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!