{"id":105,"date":"2007-12-02T20:51:00","date_gmt":"2007-12-03T01:51:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=105"},"modified":"2007-12-02T20:51:00","modified_gmt":"2007-12-03T01:51:00","slug":"backuppc-300","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=105","title":{"rendered":"BackupPC 3.0.0"},"content":{"rendered":"<p>I failed to get BackupPC 3.0 working last time I tried with the TAR install.  Found it&#8217;s available as an RPM.<\/p>\n<p><code># yum install BackupPC<br \/># service httpd start<\/code><\/p>\n<p>Browsing <code>http:\/\/localhost\/BackupPC<\/code> popped up a prompt for username and password for &#8220;BackupPC&#8221; at http:\/\/localhost.  Neither BackupPC&#8217;s password nor root&#8217;s worked.<br \/>File <code>\/etc\/httpd\/conf.d\/BackupPC.conf<\/code> says:<br \/><code>AuthUserFile \/etc\/BackupPC\/apache.users<\/code><br \/>So I created <code>apache.users<\/code> file with my user name (not backuppc) in it.<br \/>Now can see the BackupPC page, but it says it&#8217;s unable to connect to the BackupPC server.<\/p>\n<p><code># service backuppc start<\/code><\/p>\n<p>Started full backup from web interface.  It failed:<br \/><code>Read EOF: Connection reset by peer<br \/>Tried again: got 0 bytes<br \/>Done: 0 files, 0 bytes<br \/>Got fatal error during xfer (Unable to read 4 bytes)<br \/>Backup aborted (Unable to read 4 bytes)<\/code><\/p>\n<p>The problem is that BackupPC is trying to SSH to root, but there&#8217;s no key to allow backuppc to log in without a password.<br \/>See <code>http:\/\/backuppc.sourceforge.net\/faq\/ssh.html#how_do_i_setup_openssh<\/code> or:<\/p>\n<p><code>$ su -<br \/># su -s \/bin\/bash backuppc<\/code><br \/><code>$ ssh-keygen -t dsa<br \/>At password prompts, press enter.<br \/>$ exit<\/code><br \/>Edit <code>~root\/.ssh\/authorized_keys<\/code> and add <code>~backuppc\/.ssh\/id_dsa.pub<\/code><br \/>Optionally append <code>from=\"localhost.localdomain\"<\/code> if you only want backuppc to ssh to root from the local host.<br \/><code># chmod u=rw,go= ~root\/.ssh\/authorized_keys<\/code><\/p>\n<p>To test, su to backuppc as above and run <code>ssh root@localhost<\/code>.  You should be logged in without having to enter a password.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I failed to get BackupPC 3.0 working last time I tried with the TAR install. Found it&#8217;s available as an RPM. # yum install BackupPC# service httpd start Browsing http:\/\/localhost\/BackupPC popped up a prompt for username and password for &#8220;BackupPC&#8221; at http:\/\/localhost. Neither BackupPC&#8217;s password nor root&#8217;s worked.File \/etc\/httpd\/conf.d\/BackupPC.conf says:AuthUserFile \/etc\/BackupPC\/apache.usersSo I created apache.users file [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=105"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}