Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Akibu Flash
@Craig Barratt The rsync on the Windows 
computer is version 3.1.1 and on the Linux computer is 3.1.2.  Thx.


From: Craig Barratt 
Sent: Sunday, May 28, 2017 9:49:35 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

What version of rsync are you running on the client?

Another user reported a problem that the default cygwin rsync setup on 3.x 
doesn't allow remote charset settings.  BackupPC 4.x uses the --iconv rsync 
option, which will fail without a clear error message.

You should add "charset = utf-8" to the client's rsyncd.conf to see if that's 
the issue.

(Since it fails very early in the transfer, I'd recommend you add "-vvv" to 
$Conf{RsyncArgs}.)

Craig

On Sun, May 28, 2017 at 9:32 PM, Michael Huntley 
> wrote:

Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph

On May 28, 2017 8:56:14 PM Akibu Flash 
> wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can access 
it through the CGI interface.  I am attempting to backup my Windows 10 
computer.  When I start a backup, it appears to properly connect to my Windows 
computer and then gives me an error message.  “Got fatal error during xfer 
(rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])” Though the log file is set at 3, there is not much 
information therein to diagnose the problem.  A copy of the log file is below.  
Any help would be appreciated.  Please note that I am able to ssh and rsync 
into the Windows computer manually from the linux computer without problem.  It 
is set up for password-less ssh login.  Thanks.  Akibu



Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop

2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop got 0 
errors (took 0 secs)

2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)


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/


--
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/


--
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] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Akibu Flash
Thanks.  I upped the log level to 9 and the results are below.


2017-05-29 01:18:50 full backup started for directory /mnt/j/Desktop

2017-05-29 01:18:52 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:18:57 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:18:57 Removing empty backup #0

2017-05-29 01:18:57 BackupPC_backupDelete: removing #0

2017-05-29 01:18:57 BackupPC_backupDelete: No prior backup for merge

2017-05-29 01:18:57 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop

2017-05-29 01:18:57 BackupPC_refCountUpdate: host 
akibu-desktop got 0 
errors (took 0 secs)

2017-05-29 01:18:57 BackupPC_refCountUpdate total errors: 0

2017-05-29 01:18:57 BackupPC_backupDelete: got 0 errors

2017-05-29 01:18:57 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)



2017-05-29 01:18:50 User backuppc requested backup of 
akibu-desktop 
(akibu-desktop)

2017-05-29 01:18:50 Started full backup on 
akibu-desktop 
(pid=1571, share=/mnt/j/Desktop)

2017-05-29 01:18:57 Backup failed on 
akibu-desktop (rsync 
error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-29 01:19:19  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:19:19 Running BackupPC_Admin_SCGI (pid=1587)

2017-05-29 01:20:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:20:20 Running BackupPC_Admin_SCGI (pid=1623)

2017-05-29 01:21:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:21:20 Running BackupPC_Admin_SCGI (pid=1627)

2017-05-29 01:22:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:22:20 Running BackupPC_Admin_SCGI (pid=1632)

2017-05-29 01:23:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:23:20 Running BackupPC_Admin_SCGI (pid=1636)

2017-05-29 01:24:20  scgi : BackupPC_Admin_SCGI: can't load perl SCGI module - 
install via CPAN; exiting in 60 seconds

2017-05-29 01:24:20 Running BackupPC_Admin_SCGI (pid=1640)


From: Michael Huntley 
Sent: Sunday, May 28, 2017 9:32:32 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC


Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph

On May 28, 2017 8:56:14 PM Akibu Flash  wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can access 
it through the CGI interface.  I am attempting to backup my Windows 10 
computer.  When I start a backup, it appears to properly connect to my Windows 
computer and then gives me an error message.  “Got fatal error during xfer 
(rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])” Though the log file is set at 3, there is not much 
information therein to diagnose the problem.  A copy of the log file is below.  
Any help would be appreciated.  Please note that I am able to ssh and rsync 
into the Windows computer manually from the linux computer without problem.  It 
is set up for password-less ssh login.  Thanks.  Akibu



Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop

2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop got 0 
errors (took 0 secs)

2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)


Check out the vibrant tech community on one of the 

Re: [BackupPC-users] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Craig Barratt
What version of rsync are you running on the client?

Another user reported a problem that the default cygwin rsync setup on 3.x
doesn't allow remote charset settings.  BackupPC 4.x uses the --iconv rsync
option, which will fail without a clear error message.

You should add "charset = utf-8" to the client's rsyncd.conf to see if
that's the issue.

(Since it fails very early in the transfer, I'd recommend you add "-vvv" to
$Conf{RsyncArgs}.)

Craig

On Sun, May 28, 2017 at 9:32 PM, Michael Huntley 
wrote:

> Try upping the log level to 9.
> There will an enormous amount of detail bit it should help.
>
> Cheers,
>
> Mph
>
> On May 28, 2017 8:56:14 PM Akibu Flash  wrote:
>
>> I know that it is probably something simple, but maybe not.  I am
>> running backuppc version 4.41 on a Debian computer.  BackupPC starts and
>> I can access it through the CGI interface.  I am attempting to backup my
>> Windows 10 computer.  When I start a backup, it appears to properly
>> connect to my Windows computer and then gives me an error message.  “Got
>> fatal error during xfer (rsync error: error in rsync protocol data stream
>> (code 12) at io.c(629) [Receiver=3.0.9.6])” Though the log file is set at
>> 3, there is not much information therein to diagnose the problem.  A
>> copy of the log file is below.  Any help would be appreciated.  Please
>> note that I am able to ssh and rsync into the Windows computer manually
>> from the linux computer without problem.  It is set up for password-less
>> ssh login.  Thanks.  Akibu
>>
>>
>>
>> Log file:
>>
>>
>>
>> 2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop
>>
>> 2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained
>> error (code 255) at io.c(629) [Receiver=3.0.9.6])
>>
>> 2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code
>> 255) at io.c(629) [Receiver=3.0.9.6])
>>
>> 2017-05-28 23:23:16 Removing empty backup #0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: removing #0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host
>> akibu-desktop 
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate: host akibu-desktop
>>  got 0 errors
>> (took 0 secs)
>>
>> 2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0
>>
>> 2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors
>> 2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running
>> time: 0 sec)
>>
>> --
>> 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/
>>
>>
> 
> --
> 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/
>
>
--
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] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Michael Huntley

Try upping the log level to 9.
There will an enormous amount of detail bit it should help.

Cheers,

Mph


On May 28, 2017 8:56:14 PM Akibu Flash  wrote:

I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can 
access it through the CGI interface.  I am attempting to backup my Windows 
10 computer.  When I start a backup, it appears to properly connect to my 
Windows computer and then gives me an error message.  “Got fatal error 
during xfer (rsync error: error in rsync protocol data stream (code 12) at 
io.c(629) [Receiver=3.0.9.6])” Though the log file is set at 3, there is 
not much information therein to diagnose the problem.  A copy of the log 
file is below.  Any help would be appreciated.  Please note that I am able 
to ssh and rsync into the Windows computer manually from the linux computer 
without problem.  It is set up for password-less ssh login.  Thanks.  Akibu




Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained 
error (code 255) at io.c(629) [Receiver=3.0.9.6])


2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 
255) at io.c(629) [Receiver=3.0.9.6])


2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop


2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop got 
0 errors (took 0 secs)


2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running 
time: 0 sec)




--
--
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/

--
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] Unexplained Error Code 255 - BackupPC

2017-05-28 Thread Akibu Flash
I know that it is probably something simple, but maybe not.  I am running 
backuppc version 4.41 on a Debian computer.  BackupPC starts and I can access 
it through the CGI interface.  I am attempting to backup my Windows 10 
computer.  When I start a backup, it appears to properly connect to my Windows 
computer and then gives me an error message.  “Got fatal error during xfer 
(rsync error: error in rsync protocol data stream (code 12) at io.c(629) 
[Receiver=3.0.9.6])” Though the log file is set at 3, there is not much 
information therein to diagnose the problem.  A copy of the log file is below.  
Any help would be appreciated.  Please note that I am able to ssh and rsync 
into the Windows computer manually from the linux computer without problem.  It 
is set up for password-less ssh login.  Thanks.  Akibu



Log file:



2017-05-28 23:23:10 full backup started for directory /mnt/j/Desktop

2017-05-28 23:23:11 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(629) [Receiver=3.0.9.6])

2017-05-28 23:23:16 Removing empty backup #0

2017-05-28 23:23:16 BackupPC_backupDelete: removing #0

2017-05-28 23:23:16 BackupPC_backupDelete: No prior backup for merge

2017-05-28 23:23:16 BackupPC_refCountUpdate: computing totals for host 
akibu-desktop

2017-05-28 23:23:16 BackupPC_refCountUpdate: host 
akibu-desktop got 0 
errors (took 0 secs)

2017-05-28 23:23:16 BackupPC_refCountUpdate total errors: 0

2017-05-28 23:23:16 BackupPC_backupDelete: got 0 errors

2017-05-28 23:23:16 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)
--
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] What is the difference between host-specific configuration (override) and a config.pl for that host....

2017-05-28 Thread Bob Katz
I think the CGI feature to override and make a host-specific item is
fantastic! What I can't figure out is where this information must
stored. I imagine it would write and maintain a config.pl file in the
host's folder on topdir. But I can't find any.--
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] What is the difference between host-specific configuration (override) and a config.pl for that host....

2017-05-28 Thread Bob Katz
Never mind! I'm re-reading the documentation and see that in version 4,
the location for user-specific config files has changed from topdir to
/etc/BackupPC

Good idea!


Thanks, sorry for the extra bandwidth,


Bob--
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] Late to the Game: Upgrading from Version 3.x on Fedora 25

2017-05-28 Thread Tim Evans

On 05/28/2017 03:17 PM, Richard Shaw wrote:
I didn't have to modify the user BackupPC or apache runs as but I did 
change the group on config.pl  from backuppc to apache 
and that seems to work for me...


# ll /etc/BackupPC/
total 96
-rw-r-. 1 backuppc backuppc46 Jan 20  2013 apache.users
-rw-r-. 1 backuppc apache   82263 May 11 19:45 config.pl 


-rw-r-. 1 backuppc apache2293 Mar 26 13:29 hosts
-rw-r-. 1 backuppc apache   0 May 28 14:00 LOCK
drwxr-x---. 2 backuppc apache4096 Apr 29 07:31 pc


The UID thing took me off in the wrong direction.  The BackupPC service 
was failing to start, so, of course, the web interface wouldn't show 
anything!


Poking around in the journalctl output, I find:

May 28 13:08:56 osprey BackupPC[3990]: 2017-05-28 13:08:56 PoolV3Enabled 
is set, and can't create a test hardlink between a file in 
/raptor/pc-backups//pc and /raptor/pc-backups//cpool.  Either these are 
different file systems, or this file system doesn't support hardlinks, 
or these directories don't exist, or there is a permissions problem, or 
the file system is out of inodes or full.  Use df, df -i, and ls -ld to 
check each of these possibilities. Quitting...


Well, I'd removed the entire filetree that contained the version 3 pool 
in cleaning things up, but forgot to turn the upgrade option off in 
config.pl. (This maybe shouldn't be a fatal error?)


So, config.pl now fixed and the service is now running, as is a full 
backup of the Win 7 PC. Will report back when/if it finishes.


Thanks, again.
--
Tim Evans   |   5 Chestnut Court
|   Owings Mills, MD 21117
|   443-394-3864

--
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] How to backup a laptop over internet

2017-05-28 Thread Bzzzz
On Sun, 28 May 2017 21:21:32 +0200
B  wrote:

> And this won't work, even if you know by advance the IP where your
> laptop can be reached, unless you open a hole in the firewall &| adsl
> box/modem in the home that host you.

Forget about that, I was thinking about a very different thing; my bad.

JY

--
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] How to backup a laptop over internet

2017-05-28 Thread Bzzzz
On Sun, 28 May 2017 20:50:55 +0200
Xuo  wrote:

> Le 22/051/2217 à 198.44, Xuo a écrit :
> > Hi,

Hi,

> > I am using BackupPC on my laptop when it is connected to my local 
> > network at home.
> > But, when I'm not at home (durin the work week), I don't know how to
> > do. I'm not in some hotels, ... but in another flat (that I rent),
> > where I have a static IP and where I could open some ports if
> > necessary (ssh, ...).

If you're under Linux, use a VPN, such as: https://www.wireguard.io/ ;
under m$, duno (& don't care very much.)

> > I think I could define my laptop ip (on my BackupPC server 
> > configuration) using my remote ip adress, but this wouldn't work
> > when I come back home.

This means you'll be obliged to reach your server through the VPN
connection when in a home-home configuration; so your VPN MUST be able
to connect like that and preferably not eating your CPU.

And this won't work, even if you know by advance the IP where your
laptop can be reached, unless you open a hole in the firewall &| adsl
box/modem in the home that host you.

> > What should I do to perform these backups from my server (located at 
> > home) to my laptop located either on my local network or remotely
> > (on internet).

Notice that if you usually backuppc@1600Z, you'd better already be
connected at this particular time, unless you wanna shift it.

Under m$, this should be the same, however it depends greatly on your
user's permissions & groups, which can be quite a PITA and depends
on your setup and user's type - notice m$ VPN almost all have large
security problems.

Other possibility: in case of breakdown, ask the nsa a copy taken from
their last incursion ;-p)

Jean-Yves

--
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] Late to the Game: Upgrading from Version 3.x on Fedora 25

2017-05-28 Thread Richard Shaw
I didn't have to modify the user BackupPC or apache runs as but I did
change the group on config.pl from backuppc to apache and that seems to
work for me...

# ll /etc/BackupPC/
total 96
-rw-r-. 1 backuppc backuppc46 Jan 20  2013 apache.users
-rw-r-. 1 backuppc apache   82263 May 11 19:45 config.pl
-rw-r-. 1 backuppc apache2293 Mar 26 13:29 hosts
-rw-r-. 1 backuppc apache   0 May 28 14:00 LOCK
drwxr-x---. 2 backuppc apache4096 Apr 29 07:31 pc

Thanks,
Richard
--
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] How to backup a laptop over internet

2017-05-28 Thread Johan Ehnberg

Hi Xuo,

>> What should I do to perform these backups from my server (located at
>> home) to my laptop located either on my local network or remotely (on
>> internet).

There are many approaches:

- Dynamic DNS
- VPN
- Reverse tunnel
- Mirror files on server with rsync or unison, backup server instead
- Use a cloud storage system, backup the cloud storage instead

>> I'm not in some hotels, ... but in another flat (that I rent), where I
>> have a static IP and where I could open some ports if necessary (ssh,
>> ...).

Additionally, in your case, you could simply set up two hosts, one for 
when connected locally, one for remotely.


Best regards,
Johan Ehnberg

--
Johan Ehnberg
jo...@molnix.com
+358503209688

Molnix Oy
molnix.com

--
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] How to backup a laptop over internet

2017-05-28 Thread Xuo

Hi,

Nobody knows how to answer my question ?

Regards.

xuo.

Le 22/05/2017 à 19:44, Xuo a écrit :

Hi,
I am using BackupPC on my laptop when it is connected to my local 
network at home.

But, when I'm not at home (durin the work week), I don't know how to do.
I'm not in some hotels, ... but in another flat (that I rent), where I 
have a static IP and where I could open some ports if necessary (ssh, 
...).
I think I could define my laptop ip (on my BackupPC server 
configuration) using my remote ip adress, but this wouldn't work when 
I come back home.


What should I do to perform these backups from my server (located at 
home) to my laptop located either on my local network or remotely (on 
internet).


Regards.

Xuo.






--
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] Late to the Game: Upgrading from Version 3.x on Fedora 25

2017-05-28 Thread Tim Evans

On 05/25/2017 10:53 AM, Richard Shaw wrote:

As far as I can tell from experience with my upgrade on my CentOS 7 box, 
yes, that's all that should be required. I did update some of the 
SELinux contexts for 4.x and other tweaks so it would be good to hear 
how smoothly things go as I haven't gotten any feedback yet from people 
upgrading from 3.x to 4.x.




OK, this started out like it was going to be a trivial update.

Dnf'd the update, checked out config.pl and made needed changes there 
and my hosts file, and fired off a full, SMB-based backup of a Windows 7 PC.


Version 4.x dutifully converted the backup pool.  The backup ran for 24 
hours and never completed, then it was killed and restarted.  *This was 
the very problem that led to my abandoning version 3.x 18 months ago.*


So, I assumed something, somewhere is corrupted, and dnf removed 
BackupPC and the very old pool, and re-installed.  Again, restored 
changes to config.pl and hosts file.


Now BackupPC won't start.  Web page says:

"Error: Wrong user: my userid is 48, instead of 987(backuppc)

This script needs to run as the user specified in $Conf{BackupPCUser}, 
which is set to backuppc.


This is an installation problem. If you are using mod_perl then it 
appears that Apache is not running as user backuppc. If you are not 
using mod_perl, then most like setuid is not working properly on 
BackupPC_Admin. Check the permissions on 
/usr/libexec/BackupPC/BackupPC_Admin and look at the documentation."


UID 48 is, of course, apache.

Permissions on /usr/libexec/BackupPC/BackupPC_Admin appear to be 
correct, based on comparison from a dump-based backup.


Googling this message brings up lots of hits, mostly suggestions to run 
either BackupPC as the apache user, or to run Apache as the backuppc 
user.  Neither works in this case.


Other ideas welcome.  Thanks.



--
Tim Evans   |5 Chestnut Court
443-394-3864|Owings Mills, MD 21117

--
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] running the BackupPC_backupDelete command

2017-05-28 Thread Doug Lytle

On 05/28/2017 09:44 AM, Bob Katz wrote:

My question is very basic:

In order to run the BackupPC_backupDelete command I have to preface it 
with ./


./ means current directory

If the command is found in your path, you can ignore ./

Or, you can provide the full path to the command.  For my system this 
would be:


/usr/share/backuppc/bin/BackupPC_backupDelete

Or, as the backuppc user I could

cd /usr/share/backuppc/bin/

./BackupPC_backupDelete

Meaning, I'm currently in the backuppc/bin directory and the command can 
be found in the current directory


Doug

--
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] acls and xattrs attributes

2017-05-28 Thread Bob of Donelson Trophy
Over two years ago I discovered that BackupPC v3 will not backup acl and
xattr file attributes. At that time, it was suggested to try v4 (had
just been released as beta(?), I think) and I did get an OS to run v4.0.
It (v4.0) backups failed when "acls" and "xattrs" RsyncArgsExtra where
activated. So, I worked out a simple alternative for the time being with
rsync.

 Now, let me explain my need. I have a Samba4 active directory setup
with one machine acting as a member server that carries the redirected
files from all the W workstations. This active directory requires the
use of acls and xattrs file attributes.

 Enter BackupPC v4.1.2 (now.) I have created a test rig to test bpc4 and
it is backing up the active directory setup. Both domain controllers
(these machines do NOT incorporate the use of "acls" and "xattrs"
attributes) backup just fine. The member server (a file server), on the
other hand, has acls and xattrs attributes activated on the /home
directory but, will not backup the /home directory. All other
directories are being backed up from the member server.

 When I set "RsyncArgsExtra" to include "acls" and "xattrs" the machine
backups up but the /home backup is empty. I have disabled one, then the
other and finally both to see if BackupPC will backup the /home in any
fashion, the /home directory remains empty. 

 A brief explanation of "acls" and "xattrs" settings on a member server.
Only directories under /home have had any adjustments to these file
attributes by the domain administrators. User files with in the
subdirectories are adjusted to meet the needs of users on the
workstations.

 Therefore, it is my belief that this is the reason BackupPC v4.1.2 will
not back up anything under the /home directory.

 I have checked Rsync backups and they include these file attribute
settings. So my question (finally) is this, if Rsync (on Ubuntu 16.04LTS
uses Rsync 3.1.1-3ubuntu1) works with "acls" and "xattrs", why doesn't
Rsync_bpc?

(Sorry for the lengthy explanation.)

-- 
___

Bob Wooden--
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] running the BackupPC_backupDelete command

2017-05-28 Thread Bob Katz
My question is very basic: 
In order to run the BackupPC_backupDelete command I have to preface it
with ./ 
Why is that necessary when all the examples and Craig's transcript here
on the list show the delete command being run without any preface?
Thanks,

Bob


P.S. 
Thank you for the browser-based GUI! Very nice job on the gui, Craig!
It simplifies a lot of setup. I tried doing excludes from within
config.pl and the syntax was thwarting me. 


--
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/