readme
This commit is contained in:
parent
a9ba074795
commit
3ba76a3ef7
1 changed files with 23 additions and 1 deletions
24
README.md
24
README.md
|
@ -28,7 +28,7 @@ A robust and efficient backup solution for Proxmox Backup Server (PBS) that secu
|
||||||
|
|
||||||
1. Clone the repository:
|
1. Clone the repository:
|
||||||
```bash
|
```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
|
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
|
CREDENTIALS_FILE="/root/.smb-pbs-cred" # SMB credentials file
|
||||||
CHUNK_SIZE="10G" # Size of backup chunks
|
CHUNK_SIZE="10G" # Size of backup chunks
|
||||||
MIN_SPACE_REQUIRED="5G" # Minimum required space in /tmp
|
MIN_SPACE_REQUIRED="5G" # Minimum required space in /tmp
|
||||||
|
SRC="/mypool /etc" # Directories to backup (space-separated)
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create the credentials file:
|
4. Create the credentials file:
|
||||||
|
@ -55,6 +56,21 @@ echo "password=your_password" >> /root/.smb-pbs-cred
|
||||||
chmod 600 /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
|
## Usage
|
||||||
|
|
||||||
### Regular Backup
|
### Regular Backup
|
||||||
|
@ -103,10 +119,16 @@ The script includes comprehensive error handling for:
|
||||||
|
|
||||||
Contributions are welcome! Please feel free to submit a Pull Request.
|
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
|
## Contact
|
||||||
|
|
||||||
For support or questions, please contact:
|
For support or questions, please contact:
|
||||||
- Email: gabriel@pandem.fr
|
- Email: gabriel@pandem.fr
|
||||||
|
- Discord: Join our server at https://discord.gg/rcqUj2mFBm
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue