User Tools

Site Tools


backuppc

BackupPC on DS 413j

Based on this guide https://wiki.qnap.com/wiki/How_to_install_the_BackupPC_application

Install Bootstrap

  • Download this file: Bootstrap for DS 413j
  • Make it executable:chmod +x ./syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
  • Run it: ./syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

Install BackupPC requirements

Install packages:

ipkg install perl-compress-zlib
ipkg install perl-archive-zip
ipkg install optware-devel

CPAN modules

cpan install File::Listing CGI::Fast

Add User

Add backuppc user and backuppc group using the webinterface.

Change home dir

Find backuppc user and adjust the path according -d param in command above. Make sure you set this to the NAS disk not the rootfs

vi /etc/passwd

Ping Command

$Conf{PingCmd} = 'sudo $pingPath -c 1 -w 3 $host';

Change sudoers file

After root ALL … add the following in /opt/etc/sudoers:

admin ALL = NOPASSWD: /bin/ping
backuppc ALL = NOPASSWD: /bin/ping

Watch progress

Client - the machine where data is pulled from

watch "lsof -n | grep rsync | egrep ' (REG|DIR) ' | egrep -v '( (mem|txt|cwd|rtd) |/LOG)' | awk '{print $9}'"

Server - your backuppc instance

watch "lsof -n | grep rsync | egrep ' (REG|DIR) ' | egrep -v '( (mem|txt|cwd|rtd) |/LOG)' | awk '{print $9}'"

Locked out from root access (no sudo possible anymore)

Works 8-):

https://forum.synology.com/enu/viewtopic.php?t=116116

backuppc.txt · Last modified: 2018/12/19 10:09 by admin