All Projects â†’ marrobHD â†’ proxmox-tools

marrobHD / proxmox-tools

Licence: Apache-2.0 license
📦 A collection of stuff that I and others wrote for Proxmox 📦

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to proxmox-tools

cv4pve-api-php
Proxmox VE Client API for PHP
Stars: ✭ 45 (-59.82%)
Mutual labels:  cluster, proxmox, proxmox-cluster, proxmox-ve, proxmox-apis
cv4pve-botgram
Telegram Bot for Proxmox VE
Stars: ✭ 26 (-76.79%)
Mutual labels:  cluster, proxmox, proxmox-cluster, proxmox-ve
cv4pve-api-dotnet
Proxmox VE Client API .Net C#
Stars: ✭ 25 (-77.68%)
Mutual labels:  proxmox, proxmox-cluster, proxmox-ve, proxmox-apis
cv4pve-metrics
Metrics for Proxmox VE, Grafana with dasboard, InfluxDb
Stars: ✭ 38 (-66.07%)
Mutual labels:  proxmox, proxmox-cluster, proxmox-ve
cv4pve-pepper
Launching SPICE remote-viewer for Proxmox VE
Stars: ✭ 48 (-57.14%)
Mutual labels:  proxmox, proxmox-cluster, proxmox-ve
ansible role proxmox
Ansible role to provision containers in Proxmox VE virtualization
Stars: ✭ 42 (-62.5%)
Mutual labels:  proxmox, proxmox-cluster, proxmox-ve
pve exporter
Prometheus exporter for Proxmox VE.
Stars: ✭ 31 (-72.32%)
Mutual labels:  proxmox, proxmox-ve, proxmox-apis
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (-79.46%)
Mutual labels:  backup, maintenance
Cv4pve Barc
Backup And Restore Ceph for Proxmox VE
Stars: ✭ 74 (-33.93%)
Mutual labels:  backup, cluster
Proxmox-prepare
Preparing Proxmox VE after installation
Stars: ✭ 15 (-86.61%)
Mutual labels:  proxmox, proxmox-ve
Cylon
A CLI TUI menu driven bash shell script supporting updates, maintenance, backups and system checks for an Arch based Linux distro
Stars: ✭ 121 (+8.04%)
Mutual labels:  backup, maintenance
proxmox-ve
Proxmox VE Vagrant Base Box
Stars: ✭ 70 (-37.5%)
Mutual labels:  proxmox, proxmox-ve
dbaTDPMon
dbaTDPMon - Troubleshoot Database Performance and Monitoring
Stars: ✭ 20 (-82.14%)
Mutual labels:  backup, maintenance
Reshifter
Kubernetes cluster state management
Stars: ✭ 292 (+160.71%)
Mutual labels:  backup, cluster
pve-common
Proxmox Project's Common Perl Code
Stars: ✭ 33 (-70.54%)
Mutual labels:  proxmox, proxmox-ve
proxmox toolbox
A toolbox to get the firsts configurations of Proxmox VE / BS done in no time
Stars: ✭ 158 (+41.07%)
Mutual labels:  backup, proxmox
freenas-proxmox
ZFS over iSCSI to FreeNAS API's from Proxmox VE
Stars: ✭ 129 (+15.18%)
Mutual labels:  proxmox, proxmox-ve
ans-pve-win-templ
Ansible playbook to create Proxmox Windows VM templates
Stars: ✭ 49 (-56.25%)
Mutual labels:  proxmox, proxmox-ve
dab templates
DAB Templates for Proxmox
Stars: ✭ 21 (-81.25%)
Mutual labels:  proxmox, proxmox-ve
raptor
The definitive EasyEngine installer with fully functional backup-restore and SFTP functionalities included
Stars: ✭ 26 (-76.79%)
Mutual labels:  backup

ProxmoxTools

📦 A collection of stuff that I and others wrote for Proxmox 📦

License

Project Maintenance GitHub Activity

Github

Features

-<--->-


Remove Proxmox Nag

@home-assistant

Remove Proxmox Nag | Tested 5.1-3 - 7.1-12

To remove the Proxmox Nag, run the following in the Proxmox Shell

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/ProxmoxNag.sh)"

🔸Remove Proxmox Nag & Add Community Repo

@home-assistant

Remove Proxmox Nag & Add Community Repo | Tested 5.1-3 - 7.1-12

To remove the Proxmox Nag & add Community Repo, run the following in the Proxmox Shell

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/proxmoxve_community.sh)"

Proxmox CPU Scaling Governor

Proxmox CPU Scaling Governor

CPU Scaling Governor enables the operating system to scale the CPU frequency up or down in order to save power or improve performance.

Generic Scaling Governors

Run the following in the Proxmox Shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/scaling-governor.sh)"

Backup Proxmox Config

Backup Proxmox Config Manual

To create a new Proxmox Node Config Backup, do the following in the Proxmox Shell

* Download the [script](https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/prox_config_backup.sh)  
```cd /root/; wget -qO- https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/prox_config_backup.sh > prox_config_backup.sh```
* Set the permanent backups directory ```export BACKUP_DIR="/root/proxmox_backups/"```
* Create a proxmox_backups folder and make the script executable ```mkdir /root/proxmox_backups/; chmod +x ./prox_config_backup.sh```
* Shut down ALL VMs + LXC Containers if you want to go the save way. (Not required) ```service pve-manager stop```
* Run the script ```./prox_config_backup.sh```

Restore Proxmox Config

@proxmox

Restore Proxmox Config

On machine, you end up with a GZipped file of about 1-10 MB with a name like "proxmox_backup_proxmoxhostname_2017-12-02.15.48.10.tar.gz".
Depending upon how you schedule it and the size of your server, that could eventually become a space issue so don't
forget to set up some kind of archive maintenance.

To restore, move the file back to proxmox with cp, scp, webmin, a thumb drive, whatever.
I place it back into the /var/tmp directory from where it came.

# Unpack the original backup
tar -zxvf proxmox_backup_proxmoxhostname_2017-12-02.15.48.10.tar.gz
# unpack the tared contents
tar -xvf proxmoxpve.2017-12-02.15.48.10.tar
tar -xvf proxmoxetc.2017-12-02.15.48.10.tar
tar -xvf proxmoxroot.2017-12-02.15.48.10.tar

# If the services are running, stop them:
for i in pve-cluster pvedaemon vz qemu-server; do systemctl stop $i ; done

# Copy the old content to the original directory:
cp -avr /var/tmp/var/tmp/etc/* /etc/
cp -avr /var/tmp/var/tmp/var/* /var/
cp -avr /var/tmp/var/tmp/root/* /root/


# And, finally, restart services:
for i in qemu-server vz pvedaemon pve-cluster; do systemctl start $i ; done

If nothing goes wrong, and you have separately restored the VM images using the default ProxMox process.
You should be back where you started. But let's hope it never comes to that.


Leave Proxmox Cluster

@home-assistant

Leave Proxmox Cluster

To leave a Proxmox-Cluster, run the following in the Proxmox Node shell, which should leave the cluster.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/leave-cluster.sh)"

Proxmox API - Guest Actions

@home-assistant

Guest Actions

The Proxmox API scripts are located in the API folder.

/api/lxc: startlxc.sh, stoplxc.sh, shutdownlxc.sh, restartlxc.sh, suspendlxc.sh and resumelxc.sh
/api/vm: startvm.sh, stopvm.sh, shutdownvm.sh, restartvm.sh, resetvm.sh, suspendvm.sh and resumevm.sh

🔸Proxmox LXC Updater

Proxmox LXC Updater

Update All LXC's Fast & Easy

Run the following in the Proxmox Shell.

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/upgrade-lxcs.sh)"

Home Assistant OS VM

@home-assistant

Home Assistant OS VM

To create a new Proxmox Home Assistant OS VM, run the following in the Proxmox Shell

bash -c "$(wget -qLO - https://raw.githubusercontent.com/marrobHD/proxmox-tools/master/install-HAOS.sh)"

âš¡ Default Settings: 4GB RAM - 32GB Storage - 2vCPU âš¡

After the script completes, click on the VM, then on the Summary tab to find the VM IP.

Home Assistant Interface - IP:8123


Sources

http://ziemecki.net/content/proxmox-config-backups

Feel free to post issues

Authors & contributors

The original setup of this repository is by Marlon.

For a full list of all authors and contributors, check the contributor's page.

Troubleshooting

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].