[BackupPC-users] Backup at different times

2017-09-01 Thread Orazio Di nino

Hello everyone,
I would like to back up two hosts at different times.

es. host1 at 10:00 PM and host2 at 4:00 PM.

How do I configure this?
thank you
Orazio

-

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Error Rsync Unexpected empty share name skipped

2016-10-03 Thread Orazio Di nino

Hi,

I have BackupPC-3.3.1 running on Ubuntu server 16.04 LTS

The XferMethod is rsync

I have this error in the log /var/lib/backuppc/pc/192.168.2.80/LOG102016:

-full backup started for directory /tecno
-unexpected empty share name skipped
-Backup aborted

and this in/var/lib/backuppc/pc/192.168.2.80/XferLOG.bad.z  (only error)

Executing DumpPreUserCmd: /usr/local/bin/startbkpemail.sh  0 192.168.2.80 full 
DumpPreUserCmd
full backup started for directory /tecno
Running: /usr/bin/ssh -q -x -l root 192.168.2.80 /usr/bin/rsync --server 
--sender --numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 --recursive --ignore-times . /tecno/
Xfer PIDs are now 16298
Got remote protocol 30
Negotiated protocol version 28
Xfer PIDs are now 16298,16299
[ saltate 47 righe ]
Done: 37 files, 85325611 bytes
Executing DumpPostUserCmd: /usr/local/bin/endbkpemail.sh  0 192.168.2.80 full 
DumpPostUserCmd
Backup aborted ()
Not saving this as a partial backup since it has fewer files than the prior one 
(got 37 and 37 files versus 373201)

some help? I have no idea of the error thanks Orazio


--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 1 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  Fax: +39 0864 2508312

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] The graph is not showing on the main backuppc page

2016-09-08 Thread Orazio Di nino

Hello Alexander,

In the /var/lib/backuppc/log/pool.rrd Apache2 log file is an access 
denied error. I attach the file.

What can I do ?

Il 31/08/2016 20:16, Alexander Moisseev ha scritto:

I've seen such an error before, but I don't remember what caused the problem. I 
think CGI returns something else instead of image. If you are lucky it might be 
an error message. Try to save this object as file and inspect its content.


--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

[Wed Sep 07 06:25:03.236467 2016] [mpm_event:notice] [pid 2541:tid 
139660242560896] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal 
operations
[Wed Sep 07 06:25:03.236497 2016] [core:notice] [pid 2541:tid 139660242560896] 
AH00094: Command line: '/usr/sbin/apache2'
ERROR: opening '/var/lib/backuppc/log/pool.rrd': Permission denied
ERROR: opening '/var/lib/backuppc/log/pool.rrd': Permission denied
ERROR: opening '/var/lib/backuppc/log/pool.rrd': Permission denied
ERROR: opening '/var/lib/backuppc/log/pool.rrd': Permission denied
[Thu Sep 08 06:25:03.207327 2016] [mpm_event:notice] [pid 2541:tid 
139660242560896] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified 
domain name, using 127.0.1.1. Set the 'ServerName' directive globally to 
suppress this message
--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] The graph is not showing on the main backuppc page

2016-08-31 Thread Orazio Di nino

Sorry Alexander,

my problem is as follows:

In the CGI, instead of graphics, there are two unidentified icons.  The 
permissions of pool.rdd are correct (-rw-r-  1 backuppc backuppc 
11784 ago 31 01:03 pool.rrd).
If I try to open the image in the CGI i get the following error : 
http://192.168.2.90/backuppc/index.cgi?image=4 
<http://192.168.15.2/backuppc/index.cgi?image=4> cannot be displayed 
because it contains errors.


thanks and sorry English
Orazio

Il 31/08/2016 15:07, Alexander Moisseev ha scritto:


You didn't mention the problem you have.

Assuming you see image placeholders instead of empty graphs in the CGI:
1. Check current $LogDir and pool.rrd permissions with `ls -l` command. 
pool.rrd should be writable for backuppc user and readable for CGI user 
(commonly the same as backuppc user).
2. Modify the permissions appropriately using chown, chgrp, chmod.

In case you see empty graphs in the CGI after BackupPC installation - there is 
nothing to graph yet. Just wait for 2-3 days.

--
Alexander


--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] The graph is not showing on the main backuppc page

2016-08-31 Thread Orazio Di nino

Hi there,

I performed the following tests to verify problems with rrdtools
$ su >># cd $LogDir >># rrdtool info pool.rrd >># rrdtool dump pool.rrd 
| more
$ su # sh # cd $LogDir # rrdtool graph /tmp/image.png --imgformat=PNG 
--start=end-4w --end=-300 --title="BackupPC Pool Size (4 weeks)" 
--base=1000 --height=100 --width=600 --alt-autoscale-max --lower-limit=0 
--vertical-label="" --slope-mode --font TITLE:10:Times --font 
AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FF 
DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in 
bytes" GPRINT:a:LAST:"Current\\:%8.2lf %s" 
GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf 
%s\\n" I did the above and that worked just fine...created a file called 
image.png and shows an empty graph. I read in some post that CGI who 
should have permissions to read the file pool.rdd. But how do I assign 
permissions ? thank you.



--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_tarExt crashes

2016-07-27 Thread Orazio Di nino

Hello everyone,

I'm trying to make a backup of a Buffalo NAS with smb method. The backup 
starts, but after some hours the BackupPC_tarExt process hangs, and does 
not copy more files. Only smbclient is still in operation. In the Server 
Status screen, the process is still ongoing, but the files are no longer 
copied. Thanks for the support

Orazio
--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] smbclient tar problem with umlauts

2016-07-25 Thread Orazio Di nino

Now., and it works !!!.
Thank you all
Orazio

Il 25/07/2016 11:53, Alexander Moisseev ha scritto:

Did you set


--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] smbclient tar problem with umlauts

2016-07-25 Thread Orazio Di nino

Hi Neymar , and thanks for the reply.
I replaced the SMB file you sent me, but it does not solve. there is 
always the error "No files dumped for share .".

Do you have any other idea?
Thank you.

Orazio


Il 22/07/2016 14:26, Neimar Volpini ha scritto:


Hi Orazio, that patch looks old ... some of the corrections were 
already applied in 3.3.1, attached my Smb.pm with the corrections that 
make backups work for the same samba and backuppc version as yours, 
replace it (backup first, of course) and give it a try.


The two lines that matter...

233 } elsif ( /^\s*tar: dumped \d+ files/
234|| /Total bytes received: \d+/i

Neimar


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] smbclient tar problem with umlauts

2016-07-22 Thread Orazio Di nino

Hello,

I'm not very experienced, how do I apply the patch? My version of Samba 
is 4.3.9, and 3.3.1 backuppc.

thank you
Orazio


Il 05/07/2016 18:21, Oliver Freyd ha scritto:

Hello,

here's the patch to make smbclient 4.2.10 work with backuppc:

diff -u Backuppc3.2.1/lib/BackupPC/Xfer/Smb.pm
BackupPC3/lib/BackupPC/Xfer/Smb.pm
--- Backuppc3.2.1/lib/BackupPC/Xfer/Smb.pm  2012-11-09
18:37:14.0 +0100
+++ BackupPC3/lib/BackupPC/Xfer/Smb.pm  2016-07-01 13:56:10.162250854 +0200
@@ -230,7 +230,9 @@
   $t->{byteCnt} += $2;
   $t->{fileCnt}++;
   $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 1 );
-} elsif ( /^\s*tar: dumped \d+ files/ ) {
+} elsif ( /^\s*tar: dumped \d+ files/
+ || /Total bytes received: \d+/i
+) {
   $t->{xferOK} = 1;
   $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
   } elsif ( /^\s*tar: restored \d+ files/ ) {
@@ -239,7 +241,7 @@
   } elsif ( /^\s*read_socket_with_timeout: timeout read. /i ) {
   $t->{hostAbort} = 1;
   $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
-} elsif ( /^code 0 listing /
+} elsif ( /^code 0 listing /
   || /^\s*code 0 opening /
   || /^\s*abandoning restore/i
   || /^\s*Error: Looping in FIND_NEXT/i
@@ -270,6 +272,7 @@
   } elsif ( /^\s*directory \\/i ) {
   $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 2 );
   } elsif ( /smb: \\>/
+|| /^\s*tar:\d+/
   || /^\s*added interface/i
   || /^\s*tarmode is now/i
   || /^\s*Total bytes written/i

As you see The first chunk accept the message "total bytes received"
as success, the last chunk ignores the other messages that start with
"tar:linenumber".

Sadly smbclient does no more send the number of files transmitted, so
one has to put
$Conf{BackupZeroFilesIsFatal} = 0;
into the config and live without this check.

That's it for now,

Oliver


Am 02.07.2016 um 18:08 schrieb megaram:

Could you please link how to patch the smb.pm ?

+--
|This was sent by m...@megaram-group.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


--

TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi

Orazio Di nino

Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313  +39 0864 578509  7 Fax: +39 0864 2508312

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/