This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| backuppc [2018/12/18 19:53] – [Locked out from root access (no sudo possible anymore)] admin | backuppc [2018/12/19 09:09] (current) – [Locked out from root access (no sudo possible anymore)] admin | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| < | < | ||
| $Conf{PingCmd} = 'sudo $pingPath -c 1 -w 3 $host'; | $Conf{PingCmd} = 'sudo $pingPath -c 1 -w 3 $host'; | ||
| + | </ | ||
| + | |||
| + | ===== Change sudoers file ===== | ||
| + | |||
| + | |||
| + | After root ALL ... add the following in / | ||
| + | < | ||
| + | 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) |/ | ||
| + | </ | ||
| + | |||
| + | Server - your backuppc instance | ||
| + | |||
| + | < | ||
| + | watch "lsof -n | grep rsync | egrep ' (REG|DIR) ' | egrep -v '( (mem|txt|cwd|rtd) |/ | ||
| </ | </ | ||