Introduction
A practical guide to configuring Proxmox Backup Server inside an LXC container using external network resources. The material focuses on secure backup storage off the main host and resolving permission issues in unprivileged containers.
Key takeaways 5
The gist of the content in a few sentences
- Using Proxmox helper scripts significantly speeds up the automated installation and initial configuration of the container.
- Proper UID/GID mapping is crucial for the LXC container to write data to a mounted SMB share.
- Storing backups on an external NAS server ensures data security in the event of a physical server failure.
- Configuring the fstab file with credentials parameters allows for stable and secure mounting of network shares at system startup.
- Integration with the main host requires correctly copying the certificate fingerprint and using PAM authentication.
Video chapters 13Click and the video will play from the selected moment
- 1:21Installing Proxmox Backup Server in an LXC container
- 5:01Logging in and initial web interface configuration
- 5:13Preparing the system for mounting SMB resources
- 10:44Automatically mounting SMB resources in Proxmox
- 10:44Passing the mount point to the LXC container
- 12:24Mapping permissions in unprivileged LXC containers
- 16:39Configuring the mount point and adding storage
- 20:04Troubleshooting SMB permissions in fstab
- 20:04Integrating Proxmox Backup Server with the main host
- 22:11Executing and verifying the container backup
- 23:48Resource mapping logic in unprivileged containers
- 24:00Connection and authentication configuration in PBS
- 24:52Conclusion
Summary
First 3 of 13 partsInstalling Proxmox Backup Server in an LXC Container
Using an LXC container to run Proxmox Backup Server allows you to leverage the full capabilities of the backup system without dedicated hardware. To maintain security, the speaker emphasizes that the data storage drive should not be located directly on the Proxmox machine, but on an external network resource. Examples include a NAS server or a shared resource from a daily-use computer. This solution ensures that in the event of a main server failure, backups remain intact outside the virtualization environment itself.
The installation process relies on the Proxmox Helper Scripts tool, which automates container creation. During configuration, special attention should be paid to disabling IPv6 when using the advanced installation, as an error in this area may prevent the process from completing correctly. The user copies a ready-made command into the system Shell, which initiates the installation script. Choosing the default installation is recommended as safe and sufficient for most applications, providing appropriate resource allocation and system isolation.
Logging in and Initial Web Interface Configuration
After the automatic container installation is complete, the server becomes available at a specific IP address, for example, 10.0.0.221. However, before logging into the management panel, it is necessary to manually change the root user password directly in the container console. This is done using the passwd command, allowing you to set your own access credentials. After this operation, the user can go to the graphical user interface (GUI) in the browser, entering the login and the newly set password to gain full access to the running Proxmox Backup Server system.
Preparing the System for Mounting SMB Resources
To attach external data storage via the SMB protocol, it is essential to update the repositories and verify the presence of the cifs-utils package. This tool enables mounting network resources regardless of the operating system type. The speaker chooses to configure from the command line instead of the GUI to avoid duplicate entries in the interface and maintain order in the structure visible on the left side of the panel. This process begins by creating a credentials file in the /etc/pve/ directory, where the username, password, and domain are defined, allowing for automation without the need to enter data every time.
Read the full summary – for free
10 parts of text left, key takeaways, facts, questions and answers, action items – with the source minute for every passage. Plus search, collections and the AI assistant.
Keep reading for freeFree, in a minute. Have an account? Log in
