Backup di Host Fisici con PBS: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
Created page with "* Con autenticazione come root@pam: <pre> cat /etc/cron.d/pbs << EOFile PBS_PASSWORD=secretPassword #min hours DayOfMonth Month DayOfWeek user command 00..."
 
mNo edit summary
Line 1: Line 1:
* Con autenticazione come root@pam:
=Con autenticazione come root@pam=


<pre>
<pre>
cat /etc/cron.d/pbs << EOFile
cat | sudo tee /etc/cron.d/pbs << EOFile


PBS_PASSWORD=secretPassword
PBS_PASSWORD=secretPassword
Line 13: Line 13:
</pre>
</pre>


* Creando uno user con un token con diritti solo su quel dayastore:
=Creando uno user con un token con diritti solo su quel dayastore=


<pre>
<pre>

Revision as of 08:11, 29 August 2022

Con autenticazione come root@pam

cat | sudo tee /etc/cron.d/pbs << EOFile

PBS_PASSWORD=secretPassword

#min    hours   DayOfMonth      Month   DayOfWeek user		command
00      22      *               *      *          root		backup-pre; proxmox-backup-client backup root.pxar:/media/backup  --repository servername.example.priv:PBS --all-file-systems; backup-post

EOFile

Creando uno user con un token con diritti solo su quel dayastore

PBS_PASSWORD=70185333-b696-478a-a0d5-3bfe302b9091

#min    hours   DayOfMonth      Month   DayOfWeek user		command

00      22      *               *      *          root		proxmox-backup-client backup root.pxar:/ etc-pve.pxar:/etc/pve --repository username@pbs\!backup@servername.example.priv:DATA