software:dailydata:rsbackup:rsbackup_client_installation
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:dailydata:rsbackup:rsbackup_client_installation [2021/10/03 20:41] – created rodolico | software:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 15:52] (current) – [Manually edit config file] 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 / | mkdir -p / | ||
cd / | cd / | ||
+ | # get the two things we need from the subversion repository | ||
svn co http:// | svn co http:// | ||
svn co http:// | svn co http:// | ||
+ | # fix an issue with the repo where the name is wrong | ||
mv / | mv / | ||
+ | # Copy our sample config file to the config directory | ||
mkdir -p / | mkdir -p / | ||
cp / | cp / | ||
- | apt install -y mpack gzip | + | # make an ssh key if one does not exist |
+ | # just hit enter anytime a question pops up | ||
if [ ! -f / | if [ ! -f / | ||
</ | </ | ||
===== Fix some issues with the " | ===== Fix some issues with the " | ||
- | Edit /etc/ | + | Edit /opt/camp/rsbackup/ |
Add <code perl>my $transports;</ | Add <code perl>my $transports;</ | ||
Line 49: | Line 56: | ||
edit config file | edit config file | ||
joe / | joe / | ||
+ | |||
+ | Change the following values | ||
+ | - dry run to true (remove comment) | ||
+ | - $MAIL_TO to your backup report e-mail | ||
+ | - $BACKUP_SERVER = ' | ||
+ | - $PATH_ON_SERVER = '/ | ||
+ | - $MY_NAME | ||
+ | - $CLIENT_NAME | ||
+ | - @DIRS_TO_BACKUP = ('/ | ||
+ | - $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.txt · Last modified: 2021/10/10 15:52 by rodolico