Mark Maciolek | 19 Aug 14:45 2014

exclude not working

hi,

on Ubuntu 12.04, BackupPC 3.3.0

$Conf{RsyncShareName} = [
   '/data',
   '/raid'
];
$Conf{ClientTimeout} = 720000;
$Conf{BackupFilesExclude} = {
   '*' => [
     '/mnt',
     '/net',
     '/tmp',
     '/proc',
     '/sys',
     '/dev',
     '/run',
     '/*/data/WBM_spool',
     '/*/data/EPSCoR/WBM/WBM_spool',
     '/*/data/WBM/WBM_Spool'
   ]
};

It still backups WBM_Spool, I have also tried this in the exclude list:

'/raid/data/WBM/WBM_Spool'

Is the backup of /data overriding the exclude?

(Continue reading)

Norman Goldstein | 14 Aug 02:31 2014
Picon

off-site storage

I use BackupPC to back up to an nfs-mounted NAS.
This works great.
I like the interface and control that we have for configuration,
status and "walk-abouts".  However, I am somewhat delinquent
in taking a hard copy DVD off-site on a regular basis.

I've been looking around for off-site cloud-type storage,
where I can sync the BackupPC data folder.

-- I want that there should always be a valid backup off-site.
-- The BackupPC backup process should not be active while
     the BackupPC data folder is being sync'd off-site (unless
    BPC is doing the sync'ing?)
-- I don't want to do a wholesale copy each time, but rather
    incremental copying, to keep down the bandwidth (like
    BackupPC does with de-dup'ing)

Any suggestions?
Thank you.

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Norman Goldstein | 12 Aug 02:35 2014
Picon

Timeout waiting for output from CGI script /usr/share/BackupPC/sbin/BackupPC_Admin

I am running Fedora20, x86-64, BackupPC 3.3.0

The problem started when I switched from gnome to kde,
and only happens when I try to access client info (haven't  got to doing backups). 
The BackupPC page comes up fine.  I can view & edit server stuff,
but I cannot access the client stuff, melodic.
(I am backing up only server data, using rsync.  The server is melodic)

Here are the outputs of the two httpd log files:

/var/log/httpd/access_log
::1 - backuppc [10/Aug/2014:23:57:27 -0700]
   "GET /backuppc?host=melodic HTTP/1.1" 504 247 "http://localhost/backuppc"
   "Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0"

var/log/httpd/error_log
[Sun Aug 10 23:58:27.928760 2014] [cgi:warn] [pid 2351] [client ::1:38991] AH01220:
  Timeout waiting for output from
  CGI script /usr/share/BackupPC/sbin/BackupPC_Admin,
  referer: http://localhost/backuppc
[Sun Aug 10 23:58:27.928802 2014] [cgi:error] [pid 2351] [client ::1:38991]
  Script timed out before returning headers:
  BackupPC_Admin, referer: http://localhost/backuppc

Can anyone suggest how to use the CGI script, BackupPC_Admin,
to track down why this problem is happening?

Many thanks.,
PS
I looked at the April thread -- [BackupPC-users] Host Summary - slow generation --,
but I did not find it helpful

PPS I mistakenly sent this originally to the forum, to which I am not subscribed.
I hope it is not double posted.
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Les Mikesell | 8 Aug 14:48 2014
Picon

Re: [BackupPC-devel] rsync+xattr breaks backuppc

On Fri, Aug 8, 2014 at 4:35 AM, Kenneth Porter <shiva <at> sewingwitch.com> wrote:
> --On Friday, August 08, 2014 1:17 AM +0200 Holger Parplies
> <wbppc <at> parplies.de> wrote:
>
>> Making assumptions about the syntax of a freely configurable command is a
>> step in the wrong direction.
>
> We've gotten spoiled with network protocols that do extensive negotiation
> and fall back to the best effort minimum service, such as with ssh. I guess
> rsync's protocol is less forgiving in this way.

The backuppc rsync implementation is a complete rewrite in perl to
permit comparing the local compressed copy with the remote native
rsync's view of the uncompressed version so it is sort of amazing that
it exists at all.   I think the upcoming 4.x version will use native
rsync on the server side too, but I haven't looked at the details of
how that will work or if it supports any extra features besides not
having to send the whole directory tree before starting the file
comparisons.

--

-- 
   Les Mikesell
     lesmikesell <at> gmail.com

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Kenneth Porter | 5 Aug 15:37 2014

BackupPC_tarPCCopy usage

Refer to:

<http://backuppc.sourceforge.net/faq/BackupPC.html#Other-installation-topics>

I find myself needing to copy the pool as my external drive has run out of 
space, so I'm now attempting to use this command to recreate the link farm.

The FAQ says to use this command:

__INSTALLDIR__/bin/BackupPC_tarPCCopy __TOPDIR__/pc | tar xvPf -

After studying the code, I find it needs to be this:

__INSTALLDIR__/bin/BackupPC_tarPCCopy __TOPDIR__/pc/HOST | tar xvPf -

where HOST is one of the backup clients. (The text above the example 
command says this, but the example is wrong, because it doesn't specify a 
subdirectory of pc.)

Also, the command fails when one of the files is read and causes a short 
read (ie. zero bytes read but the file length is non-zero). I think this is 
because the filesystem needs checking after filling up, so I'm doing that 
now.

The error message is:

substr outside of string at /usr/share/BackupPC/lib/BackupPC/Lib.pm line 
876.

The real error happens up in TarWriteFile when the compressed file in 
pc/HOST is read and $len is zero (ie. the read fails).

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Robert Wooden | 3 Aug 00:02 2014
Picon
Picon

no ssh access backuppc server to Windows 7 client

I have been using BackupPC for many years with Linux clients. All has always gone well.

Recently it has become necessary to add a Windows 7 client.

I downloaded the "cygwin-rsyncd-3.0.9.0_installer.exe" from sourceforge and installed it.

I have created a backuppc user (on the Windows box) that has backup and administrator rights. One of the next steps I did was to open port 22 for ssh access on the Windows box. When I go to the backuppc server, I cannot ssh into the windows box. So, if I can't ssh in, backuppc does not have access to the windows box. The server can ping the windows box ipaddress.

Does anyone know what log files I can 'tail' to figure out why I cannot ssh into the Windows box from the backuppc server?
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
G.W. Haywood | 2 Aug 22:11 2014
Picon

Re: problem with windows 7 and smb

Hi there,

On Thu, 19 Jun 2014, Dale Renton wrote:

> On Wed, Apr 16, 2014 at 8:54 AM, Roberto Tagliaferri - Tosnet srl wrote:
> 
> >  Hi, i've 3 pc with win7 and i try to backup them..
> >
> > i,ve got the exclusion from a site (
> > http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html#7Vista ) but i
> > get a lot of error:
> >
> > Running: /usr/bin/smbclient \\\\fernando-win7\\C\$ -A [...snip...]
> > full backup started for share C$
> > Xfer PIDs are now 15923,15922
> > tar_re_search set
> > [ saltate 21 righe ]
> > NT_STATUS_ACCESS_DENIED listing \Documents and Settings\*
> 
> Could be related to this :
> 
> https://bugzilla.samba.org/show_bug.cgi?id=10605

I'm sure it is.  I've been having the same problem, and I found these
posts by the simple if tedious expedient of reading the BackupPC Users
List for the past five years.  Unfortunately I started reading at 2009
so it's taken a while to reach June 2014.  Did I miss an announcement?

I've now patched Samba 3.6.24 as per the diffs attached to the bugzilla
report and I'm waiting for the next scheduled backup which, will be the
one at 0300BST tomorrow (3 August 2014).  I'd schedule one but it's now
2100 and I've been working on this all day so it's time for something a
little more relaxing. :)

As it's a bit of a pain patching from the diffs in the bugzilla report
I'll gladly post a unified diff here if anybody's interested.

--

73,
Ged.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Ed Burgstaler | 31 Jul 22:01 2014
Picon

BackupPc files for Centos 7?

I would like to install BackupPc on a new Centos 7 install but BackupPc is not available on any of the repos and I even added the EPEL repo but no luck.

I’m looking for BackupPc from yum as well as the perl-File-RsyncP, perl-Net-FTP-AutoReconnect, perl-Net-FTP-RetrHandle files for Centos 7 if anyone knows where I could obtain all the files.

Much appreciated!

 

-Ed

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Dr. Boris Neubert | 31 Jul 12:54 2014
Picon

BackupPC 3.3.0 on CentOS 6.5 with Plesk-generated VirtualHosts

Hi,

I installed BackupPC 3.3.0 via yum on CentOS 6.5 on a VPS in the
standard setup (CGI with setuid BackuPC_admin). The
BackupPC-3.3.0-2.el6.x86_64 package drops the BackupPC.conf Apache
configuration file (below) in Apache's default server configuration
directory. Added the perl-suidperl-5.10.1-136.el6.x86_64 and BackupPC
worked right out of the box. Great.

What caused me several hours of fruitless messing around with Apache's
config files was the following (IP addresses and host names for
illustrative purposes only):

The web interface can be accessed via the VPS's IP address: 
http://192.0.2.1/backuppc

But I get the "Premature end of script headers" issue if I use the host
name instead of the IP address:  http://backuppc.example.com/backuppc

This is probably related to the way the BackupPC_Admin program proceeds
in terms of perl script calls and hostnames.

example.com and backuppc.example.com are configured via VirtualHost
directives automatically by the Paralles Plesk Power Panel.

This is not strictly a BackupPC question. But maybe someone has a hint
for me anyway. In particular to what the BackupPC_Admin binary actually
does.

Kind regards,
Boris

/etc/httpd/conf.d/BackupPC.conf:

<Directory       /usr/share/BackupPC/≥
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"

<IfModule mod_authz_core.c>
  # Apache 2.4
  <RequireAll>
    Require valid-user
    <RequireAny>
      Require local
    </RequireAny>
  </RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
  # Apache 2.2
  order deny,allow
  deny from all
  allow from 127.0.0.1
  allow from ::1
  allow from all
  require valid-user
</IfModule>

</Directory>

Alias           /BackupPC/images       
/usr/share/BackupPC/html/                                                                     

ScriptAlias     /BackupPC              
/usr/share/BackupPC/sbin/BackupPC_Admin                                                       

ScriptAlias     /backuppc              
/usr/share/BackupPC/sbin/BackupPC_Admin                                                       

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Don Fike | 30 Jul 20:57 2014
Picon

how to preserve deleted files in archive

Greetings,

I am using BackupPC 3.3.0 with the rsync Xfer method.
If a file is deleted on a host I would like to keep this file in the BackupPC backup.
Is this possible?
I looked at the --max-delete=0 option for rsync but it appears this will cause rsync to exit.

Thanks,

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Hans Kraus | 29 Jul 18:45 2014

Pool and cpool vanished

Hi,

I had to fix the file system (xfs) of my backup server after a harddisk
failure.

BackupPC ran normally at first. But now it doesn't work any more. The
status output of the html ui is:
----------------%x-----------------%x---------------%x-----------------
0 pending backup requests from last scheduled wakeup,
0 pending user backup requests,
0 pending command requests,
Pool is 0.00GB comprising files and directories (as of 7/29 16:09),
Pool hashing gives repeated files with longest chain ,
Nightly cleanup removed 0 files of size 0.00GB (around 7/29 16:09),
Pool file system was recently at 46% (7/29 16:08), today's max is 48% 
(7/28 15:38) and yesterday's max was %.
----------------%x-----------------%x---------------%x-----------------
I ran the following tools:
BackupPC_fixupBackupSummary which reported no faults.
BackupPC_trashClean
BackupPC_nightly 0 255 wich gave following (truncated) output:
----------------%x-----------------%x---------------%x-----------------
BackupPC_stats 0 = pool,600,18,1634472,632024,0,0,0,0,0,7,1051
BackupPC_stats 1 = pool,620,17,1590832,497636,0,0,0,0,0,7,2150
BackupPC_stats 2 = pool,612,17,1443460,313624,0,0,0,0,0,5,3237
BackupPC_stats 3 = pool,594,17,1597464,591800,0,0,0,0,0,7,4286
:
:
BackupPC_stats 252 = pool,585,17,1776696,643628,0,0,0,0,0,7,270040
BackupPC_stats 253 = pool,592,17,1850752,742680,0,0,0,0,0,7,271076
BackupPC_stats 254 = pool,656,17,1889968,606956,0,0,0,0,0,7,272232
BackupPC_stats 255 = pool,584,17,1537300,264704,0,0,0,0,0,7,273269
BackupPC_stats 0 = cpool,9818,18,22314480,162060,0,0,438,1,0,2455,412024
BackupPC_stats 1 = cpool,9850,17,9937152,303072,0,0,455,4,0,2675,557908
BackupPC_stats 2 = cpool,9888,17,35467844,1856280,0,0,463,10,0,4379,697083
BackupPC_stats 3 = cpool,9662,17,17541856,294844,0,0,424,2,0,1351,833789
:
:
BackupPC_stats 252 = 
cpool,9874,17,48297752,144008,0,0,466,11,0,1705,35986948
BackupPC_stats 253 = cpool,9629,17,13529032,820444,0,0,416,1,0,1351,36124967
BackupPC_stats 254 = 
cpool,9742,17,107252096,1543676,0,0,454,2,0,3688,36270782
BackupPC_stats 255 = cpool,9753,17,17471688,304780,0,0,423,1,0,1303,36411243
BackupPC_nightly lock_off
----------------%x-----------------%x---------------%x-----------------
How do I restore BackupPC to normal working? I need a backup ...

Any help appreciated,
Hans

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Gmane