User Tools

Site Tools


backuppc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
backuppc [2015/05/03 18:58]
stephdl created
backuppc [2019/06/05 19:48] (current)
Line 5: Line 5:
 I'm not the first author, it is an adaptation to nethserver of a smeserver contribs of Daniel Berteaud. I'm not the first author, it is an adaptation to nethserver of a smeserver contribs of Daniel Berteaud.
  
-first you have to install my repository+first you have to install my repository, [[nethserver|see how to do it]]
  
-  yum install http://mirror.de-labrusse.fr/NethServer/6/noarch/nethserver-stephdl-1.0.0-1.ns6.noarch.rpm 
 Then you can proceed to the nethserver-BackupPC installation. Then you can proceed to the nethserver-BackupPC installation.
   yum install nethserver-BackupPC --enablerepo=stephdl   yum install nethserver-BackupPC --enablerepo=stephdl
  
 +==== Documentation====
 +Documentations are here : http://backuppc.sourceforge.net/faq/BackupPC.html
 ==== Usage ==== ==== Usage ====
  
Line 24: Line 25:
         sudo=/usr/bin/rsync,/bin/gtar,/bin/tar         sudo=/usr/bin/rsync,/bin/gtar,/bin/tar
  
-**CgiMultiUser** -> enabled all users in ldap can use the backuppc CGI, disabled and only admin can do it +  * CgiMultiUser -> enabled all users in ldap can use the backuppc CGI, disabled and only admin can do it 
- +  * sudo-> you can add here more commands available by sudo to backuppc
-**sudo**-> you can add here more commands available by sudo to backuppc+
 if you want to modify something, then if you want to modify something, then
  
Line 43: Line 43:
  
   service  httpd-bkpc restart    service  httpd-bkpc restart 
-#(available stop, start, restart, status+ 
-or (enabled or disabled)+Available are  stop, start, restart, status or with the ns way (enabled or disabled)
  
     config setprop httpd-bkpc status disabled      config setprop httpd-bkpc status disabled 
Line 55: Line 55:
 https://yourIP/cygwin -> a web page to help the cygwin-rsyncd settings for windows https://yourIP/cygwin -> a web page to help the cygwin-rsyncd settings for windows
  
-==== backup a linux host with rsync ====+==== RSA Key ====
  
 Automatically, a rsa key is created in /var/lib/BackupPC/.ssh (4098 bits) you can use it to authenticate without password if you want to backup a linux host Automatically, a rsa key is created in /var/lib/BackupPC/.ssh (4098 bits) you can use it to authenticate without password if you want to backup a linux host
Line 105: Line 105:
  
 well a lot of more of course, i'm waiting your scripts and your ideas. well a lot of more of course, i'm waiting your scripts and your ideas.
 +==== Debug ====
 +There is some logs if you need to debug
  
 +    ll /var/log/httpd-bkpc/
 +    total 8
 +    -rw-r--r--. 1 root root 694 May  4 06:03 bkpc_access_log
 +    -rw-r--r--. 1 root root 749 May  4 06:03 bkpc_error_log
 +    -rw-r--r--. 1 root root   0 Apr 19 05:09 httpd-bkpc-service_log
 +
 +you can have a look also
 +
 +    less /var/log/httpd/error_log
 +    less /var/log/messages
 +
 +In order to debug you can launch the event and look if something goes wrong in log after you launch it
 +
 +    signal-event nethserver-BackupPC-update
  
 ==== Issues ==== ==== Issues ====
  
-Please raise Issues on [[https://github.com/stephdl/nethserver-tt-rss/issues|github]]+Please raise Issues on [[https://github.com/stephdl/nethserver-BackupPC/issues|github]]
  
 ===== Source ===== ===== Source =====
 sources are https://github.com/stephdl/nethserver-BackupPC/tree/ns6 sources are https://github.com/stephdl/nethserver-BackupPC/tree/ns6
 ==== Epel rpm ==== ==== Epel rpm ====
-  pwauth +  BackupPC 
-  perl-Expect +  perl-File-RsyncP 
-  mod_authnz_external+  perl-Net-FTP-AutoReconnect 
 +  perl-Net-FTP-RetrHandle
  
 {{tag>module}} {{tag>module}}
backuppc.1430679515.txt.gz · Last modified: 2019/06/05 19:48 (external edit)