proxmox backup client & file server

larry77

Member
Jul 25, 2021
6
0
6
41
Hello, tell me if I'm doing everything right or can I improve something?

There is a file server from which I backup to PBS with a script. after completion, an email with the result is sent.
[google translate] :rolleyes:


Bash:
#!/bin/bash
export PBS_PASSWORD=MyPasswordSecret
export PBS_LOG=error
proxmox-backup-client backup root.pxar:/ public.pxar:/mnt/public  repository.pxar:/mnt/repository --repository root@pam@backup-server:MD1-4T --backup-id storage.server.local
proxmox-backup-client prune host/storage.server.local --repository root@pam@backup-server:MD1-4T --keep-last 14
export PBS_PASSWORD=
cat "/opt/bin/backup.log" | mail -s "backup log" me@mail.info


+
data transfer takes a very long time. Network speed is 10 Gbps, disks are in SAS raid

Thank you for your time.
 
looks ok. u can save some time if u don want to encrypt the data. simply add --crypt-mode none.
 
  • Like
Reactions: larry77

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!