software:dailydata:rsbackup:rsbackup_client_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 14:36] – rodolico | software:dailydata:rsbackup:rsbackup_client_installation [2021/10/10 15:52] (current) – [Manually edit config file] rodolico | ||
---|---|---|---|
Line 9: | Line 9: | ||
<code bash> | <code bash> | ||
# make sure subversion is installed | # make sure subversion is installed | ||
- | apt install -y subversion | + | apt install -y subversion |
# create a directory to put rsbackup_client into | # create a directory to put rsbackup_client into | ||
mkdir -p / | mkdir -p / | ||
Line 16: | Line 16: | ||
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 53: | 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.1633894589.txt.gz · Last modified: 2021/10/10 14:36 by rodolico