User Tools

Site Tools


software:dailydata:rsbackup:rsbackup_client_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 14:48] rodolicosoftware:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 15:52] (current) – [Manually edit config file] rodolico
Line 22: Line 22:
 cp /opt/camp/rsbackup/rsbackup_client/rsbackup.conf.example /etc/camp/rsbackup_client/rsbackup_client.conf cp /opt/camp/rsbackup/rsbackup_client/rsbackup.conf.example /etc/camp/rsbackup_client/rsbackup_client.conf
 # make an ssh key if one does not exist # make an ssh key if one does not exist
 +# just hit enter anytime a question pops up
 if [ ! -f /root/.ssh/id_rsa.pub ] ; then ssh-keygen -t rsa -b 4096 ; fi if [ ! -f /root/.ssh/id_rsa.pub ] ; then ssh-keygen -t rsa -b 4096 ; fi
 </code> </code>
  
 ===== Fix some issues with the "stable" version ===== ===== Fix some issues with the "stable" version =====
-Edit /etc/camp/rsbackup_client/rsbackup_client+Edit /opt/camp/rsbackup/rsbackup_client/rsbackup_client
 Add <code perl>my $transports;</code> at line 144 Add <code perl>my $transports;</code> at line 144
  
Line 55: Line 56:
 edit config file edit config file
 joe /etc/camp/rsbackup_client/rsbackup_client.conf joe /etc/camp/rsbackup_client/rsbackup_client.conf
 +
 +Change the following values
 +  - dry run to true (remove comment)
 +  - $MAIL_TO to your backup report e-mail
 +  - $BACKUP_SERVER = 'username@backup.server';
 +  - $PATH_ON_SERVER = '/root/backup/path';
 +  - $MY_NAME
 +  - $CLIENT_NAME
 +  - @DIRS_TO_BACKUP = ('/etc', '/root', '/home', '/opt'); 
 +  - $LOGDIR
 +  - Near bottom (line 103), change the ssh port if necessary
  
 ===== Tell server to accept stuff from us ===== ===== Tell server to accept stuff from us =====
software/dailydata/rsbackup/rsbackup_client_installation.1633895304.txt.gz · Last modified: 2021/10/10 14:48 by rodolico