0431.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Backup ProxMox VE Node Configuration with Simple Script</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Virtualization,Virtual Machine,VM,Self-Hosted,Home Lab,Home Lab Ideas,Hypervisor,Backing Up Proxmox Config,Backups,Debian,Linux,Proxmox,Proxmox Backup Configuration,Proxmox Host,Proxmox Node,Proxmox Step By Step,Proxmox Tutorial,Proxmox VE,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Backup ProxMox VE Node Configuration with Simple Script">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="08/06/2023 10:00:23 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Backup ProxMox VE Node Configuration with Simple Script</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <p>NOTE: By default, backup files will be located at /mnt/backups/proxmox. Override this default by setting running<br />
  26. export BACK_DIR=&quot;/path/to/save/to/&quot; prior to executing the script. The backup path must exist before executing the script or it will fail</p>
  27. <ol>
  28. <li>Log into ProxMox VE, either at the console or the web UI and launch the web shell</li>
  29. <li>Run the following commands
  30. <div class="codeBlock"># download the backup script from github<br />
  31. wget https://raw.githubusercontent.com/DerDanilo/proxmox-stuff/master/prox_config_backup.sh<br />
  32. # make the downloaded file executable<br />
  33. chmod +x ./prox_config_backup.sh<br />
  34. # optionally, create a backup directory<br />
  35. # change the directory below before executing<br />
  36. mkdir /mnt/pve/ISOs/config_bkup -p<br />
  37. # optionally, set the backup location<br />
  38. # change the directory below before executing<br />
  39. export BACK_DIR=/mnt/pve/ISOs/config_bkup<br />
  40. # run the file<br />
  41. ./prox_config_backup.sh</div>
  42. </li>
  43. <li>Press CTRL+C to abort or Enter to continue with the backup</li>
  44. </ol>
  45. <p>Source: <a href="https://github.com/DerDanilo/proxmox-stuff" target="_blank">https://github.com/DerDanilo/proxmox-stuff</a></p> </div>
  46. </div>
  47. </body>
  48. </html>