Re: [BackupPC-users] error restoring backup

2024-02-09 Thread Norman Goldstein
Run tarCreate at the command prompt. The log file may have the tarCreate 
command line that was used.


On 2024-02-09 14:27, daggs via BackupPC-users wrote:

Sent: Thursday, February 08, 2024 at 11:40 PM
From: "Les Mikesell" 
To: "General list for user discussion, questions and support" 

Cc: "daggs" 
Subject: Re: [BackupPC-users] error restoring backup

On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
 wrote:

any ideas? maybe to use the cli interface?


If normal permissions and mount status are OK, the next thing that
could be preventing writing is selinux.  Is it enabled/enforcing?


no selinux but I have advanced, I've rebooted the server and tried the same 
flow, this time I don't get the error as before, I get an request sent but when 
I'm looking inside the server status tab, I see this:
localhost   restore backuppc2024-02-09 22:24
2024-02-09 22:24BackupPC_tarCreate failed

how can I get more info on why it failed?


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




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


Re: [BackupPC-users] Different strategies on same host

2023-06-29 Thread Norman Goldstein
Thanks for the feedback and pointer to ClientNameAlias.  This saves me 
creating an alias at the OS level.
Here is the doc page: 
https://backuppc.sourceforge.net/faq/BackupPC.html#_conf_clientnamealias_



On 2023-06-29 06:05, Guillermo Rozas wrote:

Hi,
what I do is to have two different hosts in the server configuration 
(myPC and myPC_photo), and both hosts have defined "ClientNameAlias" 
to the same real host name address (IP or host name, but help says 
dhcp must be disabled for the host). That way I can define two 
completely separated backup strategies for two sets of folders on the 
same host, it works like a charm.

Best regards,
Guillermo

On Wed, Jun 28, 2023 at 10:00 PM Norman J. Goldstein 
 wrote:


I want to have a different strategy for backing up photos than for
backing up documents that I am editing.  Basically, it would be a
rare
event to do a full backup of my photos.   I assume that the host
name,
say myPC, must correspond to myPC.pl in the pc folder. Does it sound
reasonable to make myPC_photo an alias host name for myPC, and then
myPC_photo.pl would list its own folders and strategy for backing up?


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



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


Re: [BackupPC-users] backuppc4 just idle, no backups

2022-05-06 Thread Norman Goldstein
If you have clients with dhcp set to 1 in the /etc/BackupPC/hosts file, 
try setting the dhcp to 0.  I had a similar problem, and this worked for 
my situation.



On 2022-05-06 15:59, gregrwm wrote:
when i invoke BackupPC_dump it always just says "nothing to do".  why 
would it be doing that?



On Fri, May 6, 2022 at 4:51 PM gregrwm  wrote:

i'm trying to get backuppc4 working on manjaro.  it's up and sends
me mail like if i remove a host from the hosts file, but it's not
backing up any hosts.  The logs look mostly normal, mentioning
wakeups, nightly, and pool cleaning, but there's no mention of
even trying to do any backups.  Any ideas like what to try or what
to look for?

$Conf{IncrPeriod} = 0.97;
$Conf{BackupsDisable} = 0;
$Conf{BlackoutGoodCnt} = -1;



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


Re: [BackupPC-users] log file verbosity

2022-02-23 Thread Norman Goldstein

Sorry for replying to my own post.  I got the verbose working by editing
   /usr/share/BackupPC/bin/BackupPC
at around line 811:
  push(@args, "-v");

After some more digging in the config files, I found that the RsyncArgs 
had be overridden in the host file to be only "--stats".  I don't know 
how that happened.  When I removed the override, the RsyncArgs were 
restored to the long list in the server config.pl, and now the backup is 
succeeding.


So, sorry again for the false alarm.  I really have no idea how the 
config file was edited to be so different.



On 2022-02-22 20:19, Norman J. Goldstein wrote:

In my host LOG file, I get the line

  2022-02-22 20:12:24 can't ping melodic 
 (client = melodic 
); exiting


but would like to see the actual command line that was used (I ping 
just fine from an xterm). There is a parameter XferLogLevel, but I did 
not see anything for the host log file.


Thank you.


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


Re: [BackupPC-users] Can't access older backups after upgrade

2021-11-04 Thread Norman Goldstein

On 2021-11-04 07:36, Les Mikesell wrote:

On Thu, Nov 4, 2021 at 4:16 AM Anthony Chavez  wrote:

Namely?

I use NFS for a lot of things. And apart from an abysmal security model (that 
can fortunately be hardened with a lot of extra work), I've had no complaints.

Think about the network activity that has to happen when you rsync a
file with small changes when it is stored over an NFS mount.   The
whole thing has to be read over the network to find the differences -
when most of the point of rsync is to avoid that network traffic.
That's not your immediate problem but something to consider when
putting the backuppc pool on NFS.


Which NAS OS'es/protocols have worked best with backupc, in your experience?
I have been using NFS on a NAS for years, as the pool location for 
backuppc.  It has had its ups and downs.




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


[BackupPC-users] Is all in order?

2021-11-02 Thread Norman Goldstein

My question is in the last line of this email.

I was having errors backing up, so I decided to start with a fresh, 
empty /var/lib/BackupPC , and started a manual full backup. Afterwards, 
I was able to access various backup files, as a sanity check.  Also ...


The server log file looks good:

2021-11-01 22:24:50 User backuppc requested backup ofmelodic  
  (melodic  
)
2021-11-01 22:24:51 Started full backup onmelodic  
  (pid=14098, share=/)
2021-11-01 22:24:52 Started full backup onmelodic  
  (pid=14098, share=/home)
2021-11-01 22:55:52 Finished full backup onmelodic  


The host log file looks good:

2021-11-01 22:24:51 full backup started for directory /
2021-11-01 22:24:52 full backup started for directory /home
2021-11-01 22:55:35 full backup 0 complete, 20167 files, 5521522076 bytes, 0 
xferErrs (0 bad files, 0 bad shares, 0 other)

The server Status page looks good (no running jobs).

The server Host Summary page has an idle entry:


Host 
User 
Comment 
#Full 	Full Age 
(days) 	Full Size 
(GiB) 	Speed 
(MiB/s) 
#Incr 	Incr Age 
(days) 	Last Backup 
(days) 
State 	#Xfer 
errs 	Last 
attempt

melodic   backuppc
1   0.1 5.142.860   0.1 idle0   
idle

This idle entry looks suspicious to me. Is this something I can ignore?
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] bpc_poolWrite_unmarkPendingDelete problem?

2021-10-10 Thread Norman Goldstein

(sorry if this is a duplicate -- sent previously from wrong email account)

I get this in my log of an incremental backup.  Is it a problem that 
needs fixing?


R 
bpc_poolWrite_unmarkPendingDelete(/var/lib/BackupPC//cpool/1c/a6/1da694c9347eb6ab49812ac56d645a6d)
 failed; errno = 1

The file exists, is rwx for all, as is the folder it is in.
Here is the summary of the backup process:

incr backup 347 complete, 20033 files, 5506367594 bytes, 204 xferErrs (0 bad 
files, 0 bad shares, 204 other)

Not sure what to make of this.

This is on fedora 34 x86-64
Name : BackupPC
Version  : 4.4.0

Thank you___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] backuppc errors

2021-03-31 Thread Norman Goldstein
I found your errors.txt file in the archives -- didn't seem to make it 
to my own email client (weird).


Is it correct that tar is supposed to be getting 238 GB to deal with?  
The action seems to be happening in BackupPC_tarExtract . Maybe you can 
find out what its command line is, and try the same command line, manually.


Other than that, I don't know how to track this down.  Sorry for that.

Good luck,
Norm


On 2021-03-31 10:30 a.m., Norman J. Goldstein wrote:

An error log would help.

On 2021-03-31 9:57 a.m., s.chimere--- via BackupPC-users wrote:

Hello anyone ?

Do I need to shed more light ?

On Mar 26, 2021 3:52 PM, "s.chimere--- via BackupPC-users" 
 wrote:


Hello Everyone,

i have been using backuppc for almost a year now with no problems
when all of a sudden all my backupps started failing, i have 6
windows servers that i have been backing up and now not a single
one backs up successfully.

Please any form of assistance will be highly appreciated .

i have attached error logs for one of the hosts.

Thanks.




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




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


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


Re: [BackupPC-users] Unable to connect on port -1

2020-06-29 Thread Norman Goldstein
For what it is worth, I have been using an nfs mount to hold the pool 
files for both BPC V3 and V4.  This is the fstab entry:


192.168.1.80:/mnt/HD/HD_a2/POOLS /home/disks/nasPOOLS nfs nolock,rw,suid 0 0

The man page nfs(5) explains that nolock does not turn off locking 
completely.



On 2020-06-29 6:16 a.m., G.W. Haywood via BackupPC-users wrote:

Hi there,

On Mon, 29 Jun 2020,  Craig Barratt wrote:


...
Are you running nfs v3 or v4?  I have had experience with v3 not working
reliably with BackupPC (related to buggy lock file behaviour). BackupPC
does rely on lock files working, so it's definitely not recommended 
to turn

locking off.
...


I would go further than that.  My feeling is that NFS is not suitable
for something so important as your backups.






___
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] pings to ... have failed 114 consecutive times

2020-06-17 Thread Norman Goldstein

I managed to resolve the problem, but I don't understand the solution:
In the hosts file, I deselected "dhcp", even though the host is assigned 
an address by my router (although I did give the host a permanent 
192.168.* address in the router).


The reason I tried this is I perl-debugged the BackupPC script into the 
method, QueueOnePC, and because  $Hosts->{$host}{dhcp} is non-zero, the 
backup request was not being queued (line 1885).


??




On 2020-06-17 9:36 a.m., Tim Evans wrote:

On 6/17/20 12:28 PM, Norman Goldstein wrote:
Sorry for possible re-posting -- am having trouble with this mailing 
list.

Rats, previous email sent to "users-owner" by mistake.

--

Am running BPC 4.3.2 on fedora 32 x86-64.  I am able to run /ping/ 
from the command line as backuppc and as root (and as myself), and 
can successfully do backups from the command line using 
BackupPC_dump, but the GUI interface always puts a backup request to 
be idle, and shows ping requests always failing (which, I assume, is 
what puts the backup request to be idle).


My file system is not near 95% full, and I have full privilege in the 
GUI to edit all the Server and pc-specific config files. There are a 
fair number of posts on the net re "ping" issues with BPC, but I 
haven't been able to resolve this on my machine.  When making a 
manual backup request from the GUI, the only relevant log entry is in 
the Server LOG file:


2020-06-12 11:07:43 User backuppc requested backup ofmelodic 
<http://localhost/backuppc?host=melodic>  (melodic 
<http://localhost/backuppc?host=melodic>)


Make sure your full path to the ping executable is correct in the setup.






___
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] pings to ... have failed 114 consecutive times

2020-06-17 Thread Norman Goldstein

Sorry for possible re-posting -- am having trouble with this mailing list.
Rats, previous email sent to "users-owner" by mistake.

--

Am running BPC 4.3.2 on fedora 32 x86-64.  I am able to run /ping/ from 
the command line as backuppc and as root (and as myself), and can 
successfully do backups from the command line using BackupPC_dump, but 
the GUI interface always puts a backup request to be idle, and shows 
ping requests always failing (which, I assume, is what puts the backup 
request to be idle).


My file system is not near 95% full, and I have full privilege in the 
GUI to edit all the Server and pc-specific config files.  There are a 
fair number of posts on the net re "ping" issues with BPC, but I haven't 
been able to resolve this on my machine.  When making a manual backup 
request from the GUI, the only relevant log entry is in the Server LOG file:


2020-06-12 11:07:43 User backuppc requested backup ofmelodic  
  (melodic  
)

___
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] Wrong backup count

2019-08-06 Thread Norman Goldstein

Haven't seen your config.pl file, but this might explain/help:

   #
   # Number of incremental backups to keep.  Must be >= 1.
   #
   # Note: Starting in V4+, deleting backups is done based on
   Fill/Unfilled,
   # not whether the original backup was full/incremental.  For historical
   # reasons these parameters continue to be called IncrKeepCnt, rather
   than
   # UnfilledKeepCnt.  If $Conf{FillCycle} is 0, then incremental backups
   # continue to be unfilled, so the terms are interchangeable. For V3
   backups,
   # the expiry settings have their original meanings.
   #
   # In the steady state, each time an incr backup completes successfully
   # the oldest one is removed.  If this number is decreased, the
   # extra old backups will be removed.
   #
   $Conf{IncrKeepCnt} = 6;

   #
   # Very old incremental backups are removed after $Conf{IncrAgeMax} days.
   # However, we keep at least $Conf{IncrKeepCntMin} incremental backups no
   # matter how old they are.
   #
   $Conf{IncrKeepCntMin} = 1;
   $Conf{IncrAgeMax} = 30;



On 2019-08-06 5:27 a.m., Gandalf Corvotempesta wrote:

Can someone explain me why I have only 4 backups ?
It should keep at least 7 backups (1 full, 6 incrementals)

Any idea ? Which setting should I check ?


___
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 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] Starting BackupPC server manually

2019-08-03 Thread Norman Goldstein

On 2019-08-03 2:56 p.m., Michael Stowe wrote:


On 2019-08-03 14:14, Norman Goldstein wrote:


On 2019-08-03 2:08 p.m., Michael Stowe wrote:


On 2019-08-03 08:24, Norman Goldstein wrote:

Am running Fedora 30 x86-64, BP 4.3.1
Am not able to start the BackupPC server manually.

I would like to be able to run the BC server manually, to be
able to debug into it.  When I do, as root:

     systemctl stop backuppc

this stops the server.  Then, as user backuppc, to start the
server manually:

     /usr/share/BackupPC/bin/BackupPC

but the BP web page does not come back to life.  I kill this,
and do:

     systemctl start backuppc

and the BP web page comes back to life.  I checked the sysd file

> cat /usr/lib/systemd/system/backuppc.service

[Unit]
Description= BackupPC server
After=syslog.target local-fs.target remote-fs.target

[Service]
Type=simple
User=backuppc
Group=backuppc
ExecStart=/usr/share/BackupPC/bin/BackupPC
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/BackupPC/BackupPC.pid

so there does not seem to be anything special about invoking the
BP server.  The same problem if I use the  -d  flag when
invoking BackupPC .

Perhaps not special enough, but surely you've noticed these lines?

User=backuppc
Group=backuppc


Yes, I invoke BackupPC from a backuppc xterm:
$ groups
backuppc
$ whoami
backuppc

Thanks for raising that possibility.

Since it's a simple type, there's not anything special that systemd 
does except ... exactly what you did at the command line.  (N.B.:  
it's possible to override systemd with unit files that take priority, 
but I imagine if something like that were at play you'd know about it.)


What this leaves is environmental differences between the user 
backuppc's shell and systemd's backuppc environment -- I can't imagine 
what that would be that would be that would affect only the web 
service...  What is the configuration for that (from backuppc's config)?



Thanks for thinking about this.  Here is what I do to set up BP:

   htpasswd -c /etc/BackupPC/apache.users backuppc

Edit /etc/httpd/conf/httpd.conf:

   Change ‘User apache‘ to ‘User backuppc'

Here is the backuppc environment:
$ env -v
SHELL=/bin/bash
SUDO_GID=1000
HOSTNAME=melodic
HISTSIZE=1000
SUDO_COMMAND=/usr/bin/su -s /bin/bash backuppc
SUDO_USER=norm30
PWD=/usr/share/BackupPC/bin
LOGNAME=backuppc
HOME=/var/lib/BackupPC
USERNAME=norm30
LANG=en_CA.UTF-8
LS_COLORS= many lines of stuff :-)
TERM=xterm-256color
USER=backuppc
DISPLAY=:0
SHLVL=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SUDO_UID=1000
MAIL=/var/spool/mail/norm30
_=/usr/bin/env
OLDPWD=/home/save/src/dev/msrc/NN

The reason I want to debug into BackupPC is that I am not able to run 
backups from the GUI -- the backup requested is always set to "idle".  
However, BackupPC_dump runs fine from the backuppc command prompt, for 
both incremental and full backups.  The GUI problem only started 
happening a few weeks ago.  My disk systems are nowhere near full.







___
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] Starting BackupPC server manually

2019-08-03 Thread Norman Goldstein

On 2019-08-03 2:08 p.m., Michael Stowe wrote:


On 2019-08-03 08:24, Norman Goldstein wrote:


Am running Fedora 30 x86-64, BP 4.3.1
Am not able to start the BackupPC server manually.

I would like to be able to run the BC server manually, to be able to 
debug into it.  When I do, as root:


     systemctl stop backuppc

this stops the server.  Then, as user backuppc, to start the server 
manually:


     /usr/share/BackupPC/bin/BackupPC

but the BP web page does not come back to life.  I kill this, and do:

     systemctl start backuppc

and the BP web page comes back to life.  I checked the sysd file

> cat /usr/lib/systemd/system/backuppc.service

[Unit]
Description= BackupPC server
After=syslog.target local-fs.target remote-fs.target

[Service]
Type=simple
User=backuppc
Group=backuppc
ExecStart=/usr/share/BackupPC/bin/BackupPC
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/BackupPC/BackupPC.pid
so there does not seem to be anything special about invoking the BP 
server.  The same problem if I use the  -d  flag when invoking BackupPC .


Perhaps not special enough, but surely you've noticed these lines?

User=backuppc
Group=backuppc


Yes, I invoke BackupPC from a backuppc xterm:
$ groups
backuppc
$ whoami
backuppc

Thanks for raising that possibility.


___
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] Starting BackupPC server manually

2019-08-03 Thread Norman Goldstein

Am running Fedora 30 x86-64, BP 4.3.1
Am not able to start the BackupPC server manually.

I would like to be able to run the BC server manually, to be able to 
debug into it.  When I do, as root:


     systemctl stop backuppc

this stops the server.  Then, as user backuppc, to start the server 
manually:


     /usr/share/BackupPC/bin/BackupPC

but the BP web page does not come back to life.  I kill this, and do:

     systemctl start backuppc

and the BP web page comes back to life.  I checked the sysd file

> cat /usr/lib/systemd/system/backuppc.service

   [Unit]
   Description= BackupPC server
   After=syslog.target local-fs.target remote-fs.target

   [Service]
   Type=simple
   User=backuppc
   Group=backuppc
   ExecStart=/usr/share/BackupPC/bin/BackupPC
   ExecReload=/bin/kill -HUP $MAINPID
   PIDFile=/var/run/BackupPC/BackupPC.pid

so there does not seem to be anything special about invoking the BP 
server.  The same problem if I use the  -d  flag when invoking BackupPC .






___
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] off-site storage

2014-09-04 Thread Norman Goldstein
ssh version 5.7 or greater should be handling hard links.
Unfortunately, the two off-sites that I checked are using version 5.3 .
There must be some turn-key system these guys all buy, and it is nowhere
near the version 6.4 that is on my fedora20 pc.



On 08/16/2014 09:06 PM, Les Mikesell wrote:
 On Sat, Aug 16, 2014 at 6:35 PM, Norman Goldstein norm...@telus.net wrote:
 I can see the advantage of kick-starting a remote server with a hard
 drive backup of your system.  This is not practical for me, and,
 fortunately, my backups are under 2 GB.  Here is my plan

 1. ssh to my web-hosting company (which supports ssh)
 2. Set up an sshfs with their site (which is also linux)
 3. Point /var/lib/BackupPC to my local sshfs folder

 Before starting, there is something I'd like to do to simplify this.  I
 have noticed that on my fedora installation, that /var/lib/BackupPC is
 the home directory of the backuppc user.  Do you see any problem if, as
 a post-installation step for BackupPC on my machine, that I tell my OS
 to use a different home directory for the backuppc user e.g.
 /home/backuppc ?

 I don't believe that sshfs will handle hardlinks, so that won't work
 for backuppc storage.



--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
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] off-site storage

2014-08-16 Thread Norman Goldstein
I can see the advantage of kick-starting a remote server with a hard 
drive backup of your system.  This is not practical for me, and, 
fortunately, my backups are under 2 GB.  Here is my plan

1. ssh to my web-hosting company (which supports ssh)
2. Set up an sshfs with their site (which is also linux)
3. Point /var/lib/BackupPC to my local sshfs folder

Before starting, there is something I'd like to do to simplify this.  I 
have noticed that on my fedora installation, that /var/lib/BackupPC is 
the home directory of the backuppc user.  Do you see any problem if, as 
a post-installation step for BackupPC on my machine, that I tell my OS 
to use a different home directory for the backuppc user e.g. 
/home/backuppc ?

Thanks.




On 08/14/2014 09:15 PM, John Sellens wrote:
 On Thu, Aug 14, 2014 at 01:18:07PM -0500, Les Mikesell wrote:
 |  Or, do you mean to set up a BackupPC server in the cloud?
 |
 | Yes, a complete off-site server is the straightforward approach.

 Hmmm - depending on OS and what the remote looks like, I wonder if ZFS
 and ZFS snapshots would be a good way to get backuppc offsite?

 The initial off-siting could be via local removable drive - put the
 snapshot in one big file on the removable, remove it, and carry the disk
 to the remote, and restore the snapshot onto the remote machine.

 Then incrementals over ssh.

 I should try that one of these days.

 Hope that's useful - cheers!

 John

 --
 ___
 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 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] off-site storage

2014-08-15 Thread Norman Goldstein
Thanks very much for the ideas and experience.

On 08/14/2014 09:15 PM, John Sellens wrote:
 On Thu, Aug 14, 2014 at 01:18:07PM -0500, Les Mikesell wrote:
 |  Or, do you mean to set up a BackupPC server in the cloud?
 |
 | Yes, a complete off-site server is the straightforward approach.

 Hmmm - depending on OS and what the remote looks like, I wonder if ZFS
 and ZFS snapshots would be a good way to get backuppc offsite?

 The initial off-siting could be via local removable drive - put the
 snapshot in one big file on the removable, remove it, and carry the disk
 to the remote, and restore the snapshot onto the remote machine.

 Then incrementals over ssh.

 I should try that one of these days.

 Hope that's useful - cheers!

 John

 --
 ___
 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 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] off-site storage

2014-08-14 Thread Norman Goldstein

That would be fine.

Does anyone have experience with such a setup?
-- Would that be an rsync protocol for BPC?  I suppose it depends on the 
cloud service,

-- Any feedback on which companies out there offer such dependable service?
-- I'd also want to maintain a local copy of the BPC data folder, as 
currently, on my NAS.


Thanks.


On 08/14/2014 02:44 AM, Sorin Srbu wrote:

-Original Message-
From: Norman Goldstein [mailto:norm...@telus.net]
Sent: den 14 augusti 2014 02:32
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] 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.

How about having BPC backup to an off-site Owncloud installation?

--
//Sorin


--


___
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 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] off-site storage

2014-08-14 Thread Norman Goldstein
Ok, fair enough, and good to know. Thanks for that.

The suggestion below is to have a 2nd installation of BPC,
on another local machine.  How would you point /var/lib/BackuPC
to the cloud target location?  It is also the home folder for the
backuppc user.

Or, do you mean to set up a BackupPC server in the cloud?




On 08/14/2014 09:23 AM, Carl Wilhelm Soderstrom wrote:
 On 08/14 07:52 , Norman Goldstein wrote:
 Does anyone have experience with such a setup?
 -- Would that be an rsync protocol for BPC?  I suppose it depends on
 the cloud service,
 Past experience has been that attempting to rsync the entire BPC data pool
 is disastrous. There's too many files which leads to rsync using so much
 memory that it crashes the machine.

 Some people do have schemes for replicating the pool in pieces broken down
 on a per-machine basis, but it's a bit kludgy. The recommended solution is
 still to just set up another BPC server which has duplicate backups of all
 the machines you wish to have offsite backups for.

 I believe BPC v4 will make replication much easier, but I know nothing about
 it.



--
___
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] off-site storage

2014-08-13 Thread Norman Goldstein
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@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] Timeout waiting for output from CGI script /usr/share/BackupPC/sbin/BackupPC_Admin

2014-08-12 Thread Norman Goldstein

I have found the culprit, but can't explain why.
Backups are going to an nfs-mounted NAS.
I have the problem, below, when it is mounted by autofs.
The problem goes away when it is mounted by /etc/fstab.

In either case, I can cd to the NAS and see the files, there,
but backuppc experiences the error, below, only when the NAS
is mounted by autofs.

Here are the entries from the relevant files:

/etc/fstab
192.168.0.121:/mnt/HD/HD_a2/norman/home/disks/nasNorman
 nfs 
_netdev,nolock,auto,timeo=14,intr 0 0


/etc/auto.master
/-  /etc/auto.disks

/etc/auto.disks
/home/disks/nasNorman -fstype=nfs,noloc,timeo=14,intr
192.168.0.121:/mnt/HD/HD_a2/norman

(I have told my router to reserve 192.168.0.121 for the NAS)

The question may now be more one for the fedora group.
??

Thank you.



On 08/11/2014 05:35 PM, Norman Goldstein wrote:

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@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 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] SOLVED Re: Timeout waiting for output from CGI script /usr/share/BackupPC/sbin/BackupPC_Admin

2014-08-12 Thread Norman Goldstein
My apologies.  Spelling mistake in auto.disks (used noloc instead of 
nolock).

Now, backuppc is working with autofs.
I wish I had noticed this days earlier ...
Thank you.


On 08/12/2014 12:20 PM, Norman Goldstein wrote:

I have found the culprit, but can't explain why.
Backups are going to an nfs-mounted NAS.
I have the problem, below, when it is mounted by autofs.
The problem goes away when it is mounted by /etc/fstab.

In either case, I can cd to the NAS and see the files, there,
but backuppc experiences the error, below, only when the NAS
is mounted by autofs.

Here are the entries from the relevant files:

/etc/fstab
192.168.0.121:/mnt/HD/HD_a2/norman /home/disks/nasNorman
 nfs 
_netdev,nolock,auto,timeo=14,intr0 0


/etc/auto.master
/-  /etc/auto.disks

/etc/auto.disks
/home/disks/nasNorman -fstype=nfs,noloc,timeo=14,intr
192.168.0.121:/mnt/HD/HD_a2/norman

(I have told my router to reserve 192.168.0.121 for the NAS)

The question may now be more one for the fedora group.
??

Thank you.



On 08/11/2014 05:35 PM, Norman Goldstein wrote:

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@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 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 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] Return of backuppc_tarcreate in a logfile

2013-05-24 Thread Norman Goldstein

According to
http://www.ucblueash.edu/thomas/Intro_Unix_Text/IO_Redir_Pipes.html

this should work (but I have not tested it):

instead of  , use   2



On 05/24/2013 01:29 AM, Nicolas Cauchie wrote:

Hello all,

I'd like to catch to log the output of the backuppc_tarcreate command :
Done: 24 files, 167345 bytes, 1 dirs, 1 specials, 0 errors

If I put in a script, for example :
sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -t -h host 
-s \* -n -1 .  /archive/host.raw)  /my/logfile.log

nothing goes in my log file.

Instead of, for example :
du -sh /archive/* /my/logfile.log

sends me to my logfile :
204K/archive/folder1
366G/archive/folder2

Any idea ?

Thanks a lot

Nicolas
--





--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may


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




smime.p7s
Description: S/MIME Cryptographic Signature
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
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] Start Backuppc on boot

2013-05-16 Thread Norman Goldstein

I don't know what OS you are running backuppc on, but, at least on fedora,
the auto-startup of backuppc may need some help, by editing

/usr/lib/systemd/system/backuppc.service

(more details of this bug in 
https://bugzilla.redhat.com/show_bug.cgi?id=959309)


In a nutshell, on the After= line, add the service(s) that you need 
backuppc to wait for.
In my case, it is  httpd.service.  On my previous installation, I needed 
to add  remote-fs.target


Norm


On 05/16/2013 03:39 PM, Michael Stowe wrote:

Hi all,

I just installed a new 1TB drive and partitioned it into 2 500GB
partitions. I have a Debian Wheezy system. One of the partitions is
mounted /media/backuppc. This partition contains a directory /backuppc
The program resides on another disk drive along with the OS. I pointed
backuppc's  TopDir to /media/backuppc/backuppc. Upon boot, BackupPC
doesn't start and puts entries in the /var/log/backuppc of:
  /bin/df:  /var/lib/backuppc: No such file or directory (Well yes,
I removed it So why is it still around?)
  /bin/dif: no file systems processed.
It would appear that the hard disk is not mounted before backuppc runs
df. Since all of the disks  (including the boot disk) are started by
fstab, this doesn't make sense. Also where did /var/lib/backuppc come
from. This was the old setup.

Please help

Gary R

We'll start with the fact that you can't just change TopDir and expect
everything to work (it won't, see the archives for details) -- but you can
put it back the way it was and create a symbolic link from
/var/lib/backuppc to wherever you want the files to be.

Given that, you're unlikely to be correct about BackupPC being started
before your hard drive is mounted, especially since the error is pretty
clear about where it's looking for the directory.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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/






smime.p7s
Description: S/MIME Cryptographic Signature
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] BackupPC web interface handing when retrieving host info, after a backup

2013-05-11 Thread Norman Goldstein

I figured out the problem.

The folder on the network drive, pointed to by /var/lib/BackupPC,
did not have rx permissions for other.  This prevented root from
going in there to do things.

I hope no one spent too much time pondering this, and thank you for
the time you did.

BTW
Does anyone know how the BackupPC_Admin executable is built
from the BackupPC_Admin.pl script?
-rwsr-x---. 1 backuppc apache 6468 Jan 20 11:40 BackupPC_Admin
-rwxr-x---. 1 backuppc apache 3993 Jan 20 11:40 BackupPC_Admin.pl






On 05/10/2013 04:14 PM, Norman Goldstein wrote:

I want to track down the following error message that my browser gives me:
=


  Gateway Timeout

The gateway did not receive a timely response from the upstream server 
or application.


=

This happens after I  choose the host, from the BackupPC web page 
dropdown menu,
which I just successfully backed up manually via that same host's home 
screen.

The host name is melodic, and this is the http request that is hanging:

http://localhost/backuppc?host=melodic

In_  BackupPC.conf is the line

ScriptAlias /backuppc /usr/share/BackupPC/sbin/BackupPC_Admin
_
so, BackupPC_Admin is the script that is being called:

-rwsr-x---. 1 backuppc apache 6468 Jan 20 11:40 BackupPC_Admin
-rwxr-x---. 1 backuppc apache 3993 Jan 20 11:40 BackupPC_Admin.pl

Unfortunately, I cannot trace into BackupPC_Admin, since it is a 
binary file.

How is it related to the perl version?

Perchance, any insights into why this html request is hanging? 
Requests for other hosts or server pages work fine.
I just replaced the network drive onto which BackupPC is doing the 
backups, so might there be an inconsistency in between the lack of 
initial files on the network drive and the existing files on the 
BackupPC server?


Thank you.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may


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




smime.p7s
Description: S/MIME Cryptographic Signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
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 web interface handing when retrieving host info, after a backup

2013-05-10 Thread Norman Goldstein

I want to track down the following error message that my browser gives me:
=


 Gateway Timeout

The gateway did not receive a timely response from the upstream server 
or application.


=

This happens after I  choose the host, from the BackupPC web page 
dropdown menu,
which I just successfully backed up manually via that same host's home 
screen.

The host name is melodic, and this is the http request that is hanging:

http://localhost/backuppc?host=melodic

In_  BackupPC.conf is the line

ScriptAlias /backuppc /usr/share/BackupPC/sbin/BackupPC_Admin
_
so, BackupPC_Admin is the script that is being called:

-rwsr-x---. 1 backuppc apache 6468 Jan 20 11:40 BackupPC_Admin
-rwxr-x---. 1 backuppc apache 3993 Jan 20 11:40 BackupPC_Admin.pl

Unfortunately, I cannot trace into BackupPC_Admin, since it is a binary 
file.

How is it related to the perl version?

Perchance, any insights into why this html request is hanging? Requests 
for other hosts or server pages work fine.
I just replaced the network drive onto which BackupPC is doing the 
backups, so might there be an inconsistency in between the lack of 
initial files on the network drive and the existing files on the 
BackupPC server?


Thank you.


smime.p7s
Description: S/MIME Cryptographic Signature
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
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] BackupPC not starting at boot

2012-08-16 Thread Norman Goldstein

I posted a solution in the FedoraForum Servers forum:
http://forums.fedoraforum.org/showthread.php?t=283264

In summary, I edited
/usr/lib/systemd/system/backuppc.service

to start with the following block

[Unit]
Description= BackupPC server
After=syslog.target remote-fs.target

the change being to add remote-fs.target to
the After= line, telling bakcuppc to wait until
remote file systems are loaded.




On 08/06/2012 01:07 AM, Tim Fletcher wrote:

Sounds like backuppc is starting before the external disk has mounted

--

Sent from a mobile device

Tim Fletcher

On 5 Aug 2012, at 21:42, Norman Goldstein norm...@telus.net wrote:


I am running
BackupPC.i6863.2.1-7.fc17

and BackupPC does not load at boot.  However, I can always get it
started manually with

systemctl start backuppc.service

I have issued the command

systemctl enable backuppc.service

so that backuppc should be starting at boot.
In the system log, I used to see the message

... Can't create a test hardlink between a file in /var/lib/BackupPC//pc
and /var/lib/BackupPC//cpool

but I am not even seeing this any more.

My /var/lib/BackupPC is a soft-link to an external hard drive, which
supports hard links
(obviously, since I am able to start BackupPC, manually).

I did a test to have /var/lib/BackupPC as a plain directory, and then
BackupPC
started up properly at boot.  It seems that BackupPC has a problem with
the external drive, even though it worked fine under Fedora 15.  I moved the
mount line of the external drive in /etc/fstab to the top of /etc/fstab,
but that
did not help.







--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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/


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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/



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 not starting at boot

2012-08-05 Thread Norman Goldstein
I am running
BackupPC.i6863.2.1-7.fc17

and BackupPC does not load at boot.  However, I can always get it 
started manually with

systemctl start backuppc.service

I have issued the command

systemctl enable backuppc.service

so that backuppc should be starting at boot.
In the system log, I used to see the message

... Can't create a test hardlink between a file in /var/lib/BackupPC//pc 
and /var/lib/BackupPC//cpool

but I am not even seeing this any more.

My /var/lib/BackupPC is a soft-link to an external hard drive, which 
supports hard links
(obviously, since I am able to start BackupPC, manually).

I did a test to have /var/lib/BackupPC as a plain directory, and then 
BackupPC
started up properly at boot.  It seems that BackupPC has a problem with
the external drive, even though it worked fine under Fedora 15.  I moved the
mount line of the external drive in /etc/fstab to the top of /etc/fstab, 
but that
did not help.







--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Make Backup in a Windows Share

2012-05-19 Thread Norman Goldstein
I use NFS on a LAN NAS as my backup disk.
Works fine.


On 05/19/2012 08:06 AM, Les Mikesell wrote:
 On Sat, May 19, 2012 at 7:45 AM, MyKey0815
 backuppc-fo...@backupcentral.com  wrote:
 Ok - i understand. But how can save my backup files to a windows share? Is 
 there a workaround for the not implemented direct way?
 Disks are fairly cheap these days.  Why not just add what you need to
 the backuppc server or move the ones you have?  It might theoretically
 be possible to run NFS on windows and mount that as your archive but I
 don't think anyone has mentioned success on this list (although I
 believe people have used nfs from small NAS devices).  If your network
 is small, you might even run linux as a virtual machine on the windows
 system with the large disks if that is the only spare space.
 Performance isn't great that way but it might be better than nothing.

 I have heard something about the xfer-mode archive but I don´t understand 
 the using.
 You can't use 'archive' as your main storage.   It is used to export
 copies of backups in compressed tar archive files.   That part could
 be written to mapped windows shares, but you still need to first have
 a posix-standard filesystem to store in backuppc's hardlinked layout.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Not getting mail from BackupPC

2012-04-24 Thread Norman Goldstein

Well, that worked -- I got an email from BPC to let me know
about the folder that was not a backup target.

On another mail-related note, every time I go to, or refresh,
a host homepage within BPC, one of the Summary messages
at the top of the page is

 Last email sent to norm15 mailto:norm15 was at 4/24 05:26, 
subject .


The time is always the current time, and the subject is always empty.
But, there are no such messages in my inbox.

As Les explained earlier, emails are sent as part of the  Nightly,
respecting also the minimum time between such emails.  What events
trigger emails being sent?

Thanks, again
Norm


On 04/22/2012 05:12 PM, Les Mikesell wrote:

On Sun, Apr 22, 2012 at 2:11 PM, Norman Goldsteinnorm...@telus.net  wrote:

I'm sorry if this is appearing as a new thread -- I did not figure
out how to continue a single thread.

I followed Les's suggestion and entered a non-existent
folder and file to backup.

No, I meant put a directory under /var/lib/backuppc/pc that isn't a
backup target.


  I initiated an immediate incremental
backup.  After it completed, the log showed no errors, and no
email was sent to my account.

Emails aren't sent at the end of a backup run, they are sent when
Backuppc_Nightly runs, which should be the first time in your wakeup
interval list.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Not getting mail from BackupPC

2012-04-24 Thread Norman Goldstein
That makes sense.

How about being told to back up a non-existent file?
Would not BPC consider that important enough to
inform the user?


On 04/24/2012 05:55 AM, Les Mikesell wrote:
 On Tue, Apr 24, 2012 at 7:34 AM, Norman Goldsteinnorm...@telus.net  wrote:
 As Les explained earlier, emails are sent as part of the  Nightly,
 respecting also the minimum time between such emails.  What events
 trigger emails being sent?
 Not having a backup for that host for more than
 EMailNotifyOldBackupDays is the trigger.   And EMailNotifyMinDays must
 have elapsed since the last annoying notification to that user.   The
 idea is that such email should be rare and taken seriously since
 people tend to ignore frequently-repeated messages and the backuppc
 status page is there for the clicking if you want to check more often.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Not getting mail from BackupPC

2012-04-24 Thread Norman Goldstein
I have applied the patch.  It works for me.

Thanks!


On 04/24/2012 06:50 AM, Tyler J. Wagner wrote:
 On 2012-04-24 13:34, Norman Goldstein wrote:
 On another mail-related note, every time I go to, or refresh,
 a host homepage within BPC, one of the Summary messages
 at the top of the page is

   Last email sent to norm15mailto:norm15  was at 4/24 05:26,
 subject .

 The time is always the current time, and the subject is always empty.
 But, there are no such messages in my inbox.
 It's a display bug. The attached patch fixes it. Would anyone care to
 accept this upstream?

 Regards,
 Tyler



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Not getting mail from BackupPC

2012-04-22 Thread Norman Goldstein
I'm sorry if this is appearing as a new thread -- I did not figure
out how to continue a single thread.

I followed Les's suggestion and entered a non-existent
folder and file to backup.  I initiated an immediate incremental
backup.  After it completed, the log showed no errors, and no
email was sent to my account.

Here is the contents of the error log of this last backup:

- - - - - - - -
Contents of file /var/lib/BackupPC//pc/melodic/XferLOG.120.z, modified 
2012-04-21 18:04:02 (Extracting only Errors)

incr backup started back to 2012-04-14 20:00:07 (backup #112) for directory /
Running: /usr/bin/ssh -q -x -l root melodic /usr/bin/rsync --server --sender 
--numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 --recursive . /
Xfer PIDs are now 18006
Got remote protocol 30
Negotiated protocol version 28
Sent include: /home
Sent include: /home/disks
Sent include: /home/disks/fat
Sent include: /home/disks/fat/SW
Sent include: /home/disks/fat/SD38
Sent include: /home/norm9
Sent include: /home/norm9/.thunderbird
Sent include: /home/disks/fat/RITE
Sent include: /etc
Sent include: /etc/BackupPC
Sent include: /home/work
Sent include: /home/work/notes
Sent include: /home/norm9/Documents
Sent include: /home/norm9/Documents/cookbook2
Sent include: /home/disks/fat/ScareCrow
Sent include: /home/norm15
Sent include: /home/norm15/DoesNotExist
Sent include: /home/norm15/DoesNotExist/dne.txt
Sent exclude: /*
Sent exclude: /home/*
Sent exclude: /home/disks/*
Sent exclude: /home/disks/fat/*
Sent exclude: /home/norm9/*
Sent exclude: /etc/*
Sent exclude: /home/work/*
Sent exclude: /home/norm9/Documents/*
Sent exclude: /home/norm15/*
Sent exclude: /home/norm15/DoesNotExist/*
Sent exclude: *~
Sent exclude: /home/norm9/.thunderbird/c67zbifx.default/Mail/Local 
Folders/Archives*
Sent exclude: /home/norm9/.thunderbird/c67zbifx.default/Mail/pop.gmail.com
Xfer PIDs are now 18006,18167
[ skipped 465 lines ]
Done: 91 files, 576319460 bytes
- - - - - - - - - - -

The folder that does not exist is called DoesNotExist .

Why is DoesNotExist also in the exclude list?

I have never gotten a nightly email about the backup process.

Thank you.

--

On Sat, Apr 21, 2012 at 2:27 AM, Norman Goldsteinnormvcr@...  wrote:
  I am not getting status email from BPC.
  The following two tests work fine from the command
  line when I am the backuppc user (on Fedora 15):

  ./BackupPC_sendEmail -u norm
  ./BackupPC_sendEmail -c

  In the first case, I receive a test email from BPC.
  In the second case, I first shut down the BPC daemon,
  and I do get a message to that effect.

  So, why am I not getting regular emails from BPC?
  Here are select fields from my config file:

  EMailNotifyMinDays 0.1

Backuppc doesn't send 'status' email, it only sends notifications of
problems - and I think it only does it during the nightly run.  Has
more time than you specifed elapsed for backups when the nightly run
starts?

If you want an email just to know it is running, I think if you put
some bogus directories in the pc directory it will include that
information in the nightly mail.

-- 
Les Mikesell
 lesmikesell@...




--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
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] Not getting mail from BackupPC

2012-04-21 Thread Norman Goldstein

I am not getting status email from BPC.
The following two tests work fine from the command
line when I am the backuppc user (on Fedora 15):

./BackupPC_sendEmail -u norm
./BackupPC_sendEmail -c

In the first case, I receive a test email from BPC.
In the second case, I first shut down the BPC daemon,
and I do get a message to that effect.

So, why am I not getting regular emails from BPC?
Here are select fields from my config file:

EMailNotifyMinDays 
http://localhost/backuppc?action=viewtype=docs#_conf_emailnotifymindays_ 
0.1


CgiURL http://localhost/backuppc?action=viewtype=docs#_conf_cgiurl_ 
http://localhost/cgi-bin/BackupPC/BackupPC_Admin.pl


Given that the two tests, above, work fine, what other fields
do I need to set?  How may I debug this?

There is no indication in /var/log/maillog that BPC is trying to send me 
an email.


Thank you.







--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
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/