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

Next revision
Previous revision
Last revisionBoth sides next revision
software:dailydata:rsbackup:rsbackup_client_installation [2021/10/03 20:41] – created rodolicosoftware:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 14:59] rodolico
Line 8: Line 8:
 ===== Grab the project and move files around ===== ===== Grab the project and move files around =====
 <code bash> <code bash>
 +# make sure subversion is installed
 +apt install -y subversion mpack gzip
 +# create a directory to put rsbackup_client into
 mkdir -p /opt/camp/rsbackup mkdir -p /opt/camp/rsbackup
 cd /opt/camp/rsbackup cd /opt/camp/rsbackup
 +# get the two things we need from the subversion repository
 svn co http://svn.dailydata.net/svn/rsbackup/tags/stable/rsbackup_client svn co http://svn.dailydata.net/svn/rsbackup/tags/stable/rsbackup_client
 svn co http://svn.dailydata.net/svn/rsbackup/tags/stable/rsbackup_lib svn co http://svn.dailydata.net/svn/rsbackup/tags/stable/rsbackup_lib
 +# fix an issue with the repo where the name is wrong
 mv /opt/camp/rsbackup/rsbackup_client/rsbackup /opt/camp/rsbackup/rsbackup_client/rsbackup_client mv /opt/camp/rsbackup/rsbackup_client/rsbackup /opt/camp/rsbackup/rsbackup_client/rsbackup_client
 +# Copy our sample config file to the config directory
 mkdir -p /etc/camp/rsbackup_client mkdir -p /etc/camp/rsbackup_client
 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
-apt install -y mpack gzip+# 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
  
software/dailydata/rsbackup/rsbackup_client_installation.txt · Last modified: 2021/10/10 15:52 by rodolico