Questa è una vecchia versione del documento!
Indice
Manuale UrBackup
Installazione Server
Scegliere prima l'ultima versione
wget https://hndl.urbackup.org/Server/2.1.20/urbackup-server_2.1.20_amd64.deb
sudo dpkg -i urbackup-server_2.1.20_amd64.deb
sudo apt install -f
It has some dependencies which you can automatically resolve by running apt-get -f install. If it does not work you probably chose the wrong packet from stable/testing/unstable. During the installation you will be asked for the directory your backups will be saved in. This directory can be changed by running dpkg-reconfigure urbackup-server. You have to copy all files from the old to the new directory first! In /etc/default/urbackupsrv you can change some settings like the TCP-port, the log file, the log level or the port on which the build-in web server will listen. It may be important to change the temporary file directory because UrBackup can use up much space there. The web interface is available at port 55414. To restrict the access you have to create an admin account in Settings→Users. Without this account everyone can access all backups using the web interface.
Installazione/Disinstallazione Client
Binary Linux client (solo command line ; con auto-update; x86/AMD64/ARMv6+/ARM64)
Solo questo Linux client ha auto-update dal server UrBackup.
UrBackup Client 2.1.17 for Linux
Installa con:
TF=`mktemp` && wget "https://hndl.urbackup.org/Client/2.1.17/UrBackup%20Client%20Linux%202.1.17.sh" -O $TF && sh $TF; rm $TF
Quando si arriva al punto:
Please select the snapshot mechanism to be used for backups: 2) LVM - Logical Volume Manager snapshots 4) Use no snapshot mechanism
Scegliere 4
Configurare il client
In /etc/default/urbackupclient
cambiare in RESTORE=server-confirms se si vuole fare il restore dal web.
In /usr/local/etc/urbackup/
creare script eseguibili con nome prefilebackup o postfilebackup in caso di commandi prima, o dopo il backup.
Esempio:
#!/bin/bash echo -e "#####################" echo `date` echo "Parto con la procedura di START del Oracle DB;" service oracle start echo "Parto con la procedura di START del Tomcat7:" service tomcat7 start echo -e "#####################"
Disinstallare UrBackup Client
uninstall_urbackupclient
Utilizzo Web Browser
Per gestire i backup, entrare nel seguente indirizzo:
Nella prima pagina si vedono tutti i client. Normalmente se gli IP sono nello stesso subnet, appaiono in automatico. Se no. Aggiungere le IP manualmente sul bottone +Aggiungi nuovo client
Avvio Backup/Incrementale manualmente
Restore
Andando sul tab Backups in alto al menu. Si possono vedere i backup e fare i restore.
Impostazioni
Andando sul tab Impostazioni si possono fare tutte le configurazioni del server.
Nel tab Generale si possono impostare i criteri predefiniti per tutte le macchine che non hanno configurazioni specifiche o che sono aggiunte nuove.
Si consiglia di mettere le impostazioni specifiche per ciascuna macchina nel tab di Impostazioni client Il primo tab File Backups è dove si impostano le cartelle da fare backup.
In questa sezione si possono decidere i criteri di backup. Sia esclusioni di file.
Tab Client
Quà è dove si definiscono i giorni e gli orari di backup.