How to Back Up Your Server with Proxmox Backup Server (PBS)
Backing up your server is essential, and Proxmox Backup Server (PBS) makes it straightforward and reliable. Here’s a step-by-step guide to get you started:
Step 1: Set Up Proxmox Backup Server
- Install PBS on a dedicated machine or virtual environment. You can download the ISO and follow the installation guide here.
- Once installed, access the PBS web interface at
https://<PBS_IP>:8007
and log in with your credentials.
Step 2: Configure a Datastore
- In the PBS web interface, create a datastore to store your backups:
- Navigate to Datastore > Add Datastore.
- Provide a name and specify the storage path.
Step 3: Connect PBS to Proxmox VE
- In your Proxmox VE web interface:
- Go to Datacenter > Storage > Add > Proxmox Backup Server.
- Enter the PBS IP address, port (default is 8007), and credentials.
- Select the datastore you created earlier.
Step 4: Create a Backup Job
- In Proxmox VE:
- Navigate to Datacenter > Backup > Add.
- Choose the VMs or containers you want to back up.
- Select the PBS storage as the target.
- Configure the schedule and retention settings to suit your needs.
Step 5: Run the Backup
- You can manually trigger a backup by selecting the backup job and clicking Run Now.
- Alternatively, backups will run automatically based on the schedule you set.
Pro Tips for Effective Backups
- Retention Policies: Set up different retention policies for daily, weekly, and monthly backups to optimize storage.
- Verification: Use the verification feature to ensure your backups are valid and restorable.
- Notifications: Enable email notifications to stay informed about backup successes or failures.
With PBS, you can ensure your server data is safe and easily recoverable. Whether you’re managing a home lab or a production environment, these steps will help you set up a robust backup system.