This is a complete guide to install BackupPC on your CentOS 7 server. Install BackupPC and prerequsities yum upgrade y yum install epelrelease yum install backuppc., ,. Centos 7 Backup. PC Installation Guide. Written by Fehmi Can Tokayon May 2. Last revised by Cem Karaca, our reviewer, on July 3. This is a complete guide to install Backup. PC on your Cent. OS 7 server. Install Backup. PC and prerequsitiesyum upgrade y. Set permissionscd usrshareBackup. PC. chown backuppc apache sbin. Backup. PCsbin. chmod us Backup. PCAdmin. usermod s binbash backuppcSet firewall rule for HTTP port. Edit Backup. PC configvi etcBackup. PCconfig. pl. EditConfCgi. Admin. User. Group. ConfCgi. Admin. Users TOConfCgi. Admin. User. Group. ConfCgi. Admin. Users backuppc THENEditConfPing. Path TOConfPing. Path binping Edit your apache configurationvi etchttpdconf. Backup. PC. conflt Directory usrshareBackup. PC. Backup. PC requires valid authentication in order for the web interface to. One can view the web interface without authentication. Backup. PCapache. Auth. User. File etcBackup. PCapache. users. Auth. Name Backup. PC. lt If. Module modauthzcore. Require. All. Require valid user. Require. Any. In order to access only this specific IP. Require ip 1. 92. Uncomment for access everywhere. Require all granted. Require. Any. lt Require. All. lt If. Module. lt If. Module modauthzcore. Allow. Override All. Order allow,deny. If. Module. lt Directory. Alias Backup. PCimages usrshareBackup. PChtml. Script. Alias Backup. PC usrshareBackup. PCsbinBackup. PCAdmin. Script. Alias backuppc usrshareBackup. PCsbinBackup. PCAdminCreate username and password for Backup. PC GUIhtpasswd c etcBackup. PCapache. users backuppc. New password Re type new password Adding password for user backuppcRestart your servicessystemctl restart backuppc. Then add your ssh key to your remote server. Generating publicprivate rsa key pair. Enter file in which to save the key varlibBackup. PC. sshidrsa Created directory varlibBackup. PC. ssh. Enter passphrase empty for no passphrase Enter same passphrase again Your identification has been saved in varlibBackup. PC. sshidrsa. Your public key has been saved in varlibBackup. PC. sshidrsa. pub. Test it. ssh rootyour remote ipThen gohttp your ipBackup. PCEnter your username and password that you created before htpasswd c etcBackup. PCapache. users backuppcGo Edit HostsClick AddThen write an hostname or IP of your remote serverThen click SAVERefresh your page and select your host. DO NOT FORGET INSTALL RSYNC TO YOUR REMOTE SERVER Click Edit Config for your selected hostSelect XferAdd value for Backup. Files. Only BoxWrite down your path name that you want to create backup in Rsync. Share. Name BoxThen Click Save. Click Start FULL BACKUPYou are ready to go You can also take backup of your Windows clients using Backup. PCThe basic steps are. Create a backuppc user in your domainclient with backup operator privileges. Create a share on client server and give read and list folder permissions to backuppc user. Create inbound firewall rule for Backup. PC server. Test your configuration by typing from Backup. PC Server. smbclient U Domainbackuppc CLIENTIPShare. Name. You will see smb prompt, try to list the files by typing dirAdd the client to backuppc and edit the credentials. Xfer method to SMBenter username as DOMAINuserenter passwordchange share name from C to Share Name given.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |