BackupPC on ReadyNAS
After installation (as you can see it is based on Debian)
apt-get install backuppc
I have to modify attributes:
chmod u+s /usr/share/backuppc/cgi-bin/index.cgi
Because of error:
File::RsyncP module doesn't exist
I had to install manually missing Perl module:
apt-get install libfile-rsyncp-perl
To login without password I've generated keys (as root):
ssh-keygen
and copy id_rsa.pub to .ssh/authorized_keys on host I would like to backup.
Now I can ssh to that host without password (on Windows machine You have to allow Public Key exchange).
It's time to do the same for backuppc user. By default it has bash set to /bin/false so I done it manually:
mkdir -p /home/backuppc/.ssh cp id_rsa known_hosts /home/backuppc/.ssh chown -r backuppc /home/backuppc/.ssh
Komentarze
Copping known_hosts
Środa 13 Grudzień 2017 8:29:37 pm
Jakub Walczak
Log in or create a user account to comment.