From 3ba76a3ef7299ebb3bcaaa287d5999fecf64502f Mon Sep 17 00:00:00 2001 From: gabi Date: Sat, 24 May 2025 00:39:46 +0200 Subject: [PATCH] readme --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bcbc6d..a5fbac8 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ A robust and efficient backup solution for Proxmox Backup Server (PBS) that secu 1. Clone the repository: ```bash -git clone https://git.pandem.fr/gabriel/ProxmoxBackupsServer-to-SMB.git +git clone https://github.com/yourusername/ProxmoxBackupsServer-to-SMB.git cd ProxmoxBackupsServer-to-SMB ``` @@ -46,6 +46,7 @@ MOUNT_POINT="/mnt/smb-backup" # Local mount point CREDENTIALS_FILE="/root/.smb-pbs-cred" # SMB credentials file CHUNK_SIZE="10G" # Size of backup chunks MIN_SPACE_REQUIRED="5G" # Minimum required space in /tmp +SRC="/mypool /etc" # Directories to backup (space-separated) ``` 4. Create the credentials file: @@ -55,6 +56,21 @@ echo "password=your_password" >> /root/.smb-pbs-cred chmod 600 /root/.smb-pbs-cred ``` +## Backup Targets Configuration + +The script allows you to specify multiple directories to backup. In the configuration section, the `SRC` variable defines which directories will be included in the backup: + +```bash +SRC="/mypool /etc" # Example configuration +``` + +You can customize this to include any directories you want to backup. For example: +- For a Proxmox server: `SRC="/etc/pve /var/lib/vz"` +- For a web server: `SRC="/var/www /etc/nginx /etc/apache2"` +- For a database server: `SRC="/var/lib/postgresql /etc/postgresql"` + +Multiple directories should be space-separated. The script will automatically handle the backup of all specified directories. + ## Usage ### Regular Backup @@ -103,10 +119,16 @@ The script includes comprehensive error handling for: Contributions are welcome! Please feel free to submit a Pull Request. +## Support and Community + +Join our Discord community for support, discussions, and updates: +[Pandem Discord Server](https://discord.gg/rcqUj2mFBm) + ## Contact For support or questions, please contact: - Email: gabriel@pandem.fr +- Discord: Join our server at https://discord.gg/rcqUj2mFBm ## License