Re: [BackupPC-users] BackupPC 4 practical limits

2017-07-19 Thread Bob Katz
Dear Ray: I am happy to report that Backuppc is happy over here with a
very large  drive: I have a 22TB RAID 6 going (a lot of overkill) and
it's 31% full. Backuppc reports the pool would be 66.64 T if not for
pooling and has reduced that to 8 TB. I'm a happy camper. 

I'm using an SAS backplane with (8) 4 TB SATA drives in RAID 6.

Hope this helps,


Bob



On Tue, 2017-07-18 at 16:29 -0600, Ray Frush wrote:
> Our BackupPC 4.1.3 pool hit >80% utilization, and I'm contemplating
> extending it past 4TiB as we continue to add systems to our backups.
> Pool is 3237.37GiB comprising 12776990 files and 16512 directories
> (as of 7/18 01:44),
> In a previous $JOB, I never had a pool get much larger than about
> 2.5TiB, so I'm not entirely certain what the limits of BackupPC are.
> 
> Are there reliable reports available of people who have a BackupPC
> file system >4TiB?   Are there any gotcha's that the developers are
> aware of as a pool starts to get into this size range?   What is a
> practical upper end for BackupPC to manage?
> 
> Thanks
> 
> 
> ---
> ---
> 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] Backing up the server computer

2017-07-16 Thread Bob Katz
On Sat, 2017-07-15 at 01:16 +0200, B wrote:
> On Fri, 14 Jul 2017 18:56:19 -0400
> Paul Fox  wrote:
> 
> Just a precision for B.Katz: I also have a script that creates an
> _INSTALLED_PKGS.txt file from the usual command (debian),
> launched as a pre-backup command to be able to easily reconstruct
> the full exact working system from a minimal install.
> 
> JY


I appreciate that. Well, if I have to do a bare metal restore I would
use a clone, it's safer, if it's recent. My object of backing up the
server is that hopefully I could get myself out of a disaster by
digging through incrementals.

BK

--
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] Backing up the server computer

2017-07-14 Thread Bob Katz
Dear Stefan, you are so kind! This helps a lot. Yes, I'm plodding my way 
through. You wrote:






[Backup-Data-Folder]
## Next, set the path you want backed up. Be sure to use a trailing
slash
path= /

Please don't do that:
o a Linux system has virtual file systems mounted (/proc, /temp,
   /sys/ ...) that will either not be readable, change during
   access or may lead to endless loops.





o this includes your /var/lib/backuppc directory. That's where
   your backup goes, so you backup your backup. It won't take long
   until the backup of backups of backups (...) will fill up your drive.
   I'd go for /etc at this point and add additional paths later, when
   this works.


Oh boy  I get it!!! I can't believe how stupid I was about that. 
Well, doesn't this mean I have to establish a whole bunch of modules 
with a different path for each module, in order to back up everything 
EXCEPT the backup location? Maybe I should try a different method than 
rsyncd




Most probably, BackupPC will try to connect as user backuppc, not root.
At least, that's the default.


I have root as the user for backuppc for all my other hosts and it 
works. And it's also currently set up as root for backing up the server. 
I did try "backuppc" as the user before and it failed, maybe for 
different reasons. Anyway, I'm not sure how confused the app backuppc 
would be in the case of trying to back up itself. The server app 
backuppc is running as the user "backuppc", but I do know that it can 
call through port 873 as the user "root" when it is backing up all the 
other clients. Yeah, I'm confused  :-)


From your description of how the secrets file works, it would seem to 
me that I've got that covered right now with my secrets file having one 
line describing a user called "root" with its password and in the 
config, auth users is root. Not the most elegant but I don't see a 
conflict there.



Best wishes,


Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-14 Thread Bob Katz
Still not much progress but I've simplified things. In Fedora, rsync
daemon is supposed to be run by systemctl. But I am pretty sure my
attempt to create a service for rsync as a daemon has failed somewhere.
So I'm debuggin by using the simple command line: sudo rsync ---daemon 

By the way, rsync does not accept the --foreground command as a daemon

Furthermore, the ps x | grep rsync   does NOT show me the fact that the
daemon is running, but I have every clue that it is, or at least seems
to be as hope you will agree. I can inspect the rsync daemon log,
showing a sequence of testing that I performed:

a)

2017/07/14 15:04:52 [3129] rsync: failed to create pid file
/var/run/rsyncd.pid: File exists (17)

 that was me trying to run the daemon a second time as part of a
test. Anyway, at that point I killed the process shown in the pid file
and then I deleted the pid file.




b) Then I tested rsync localhost.localdomain:: to prove that the daemon
is NOT running:


2017/07/14 15:04:52 [3129] rsync error: error in file IO (code 11) at
clientserver.c(1113) [Receiver=3.1.2]


c) Then I launched the daemon again:


2017/07/14 15:05:43 [3233] rsyncd version 3.1.2 starting, listening on
port 873


d) Then I ran rsync localhost.localdomain::  which displayed the module
 name in the terminal and this log entry resulted:

2017/07/14 15:05:54 [3241] connect from localhost (::1)
2017/07/14 15:05:54 [3241] module-list request from localhost (::1)


e) Lastly, I commanded backuppc to run a full backup of this "client"
(it's actually the server itself). Backuppc went into idle with an
immediate backup failure. The rsync daemon log shows:


2017/07/14 15:06:17 [3292] connect from localhost (::1)
2017/07/14 15:06:17 [3292] rsync denied on module Backup-Data-Folder
from localhost (::1)


So I have to find out why the rsync daemon is denying access to
backuppc. Is it the backuppc configuration? Backuppc is configured as
rsyncd, connected as root with the root password. Just in case, I put
root and root password into the secrets file. This is a lot of
overkill! 

Here is my rsyncd.conf file. I allow the host's ip and the domain name
just in case. There are a few remant lines from other attempts that I
hope are not hurting the config. I think The motd line  is a remnant of
my attempts to run rsync daemon using a service. I hope it is not
interfering with this simpler approach launching the daemon from the
command line:


###
##
##  RSYNCD config file for the backuppc server
##
###


transfer logging = false
 lock file = /var/run/rsync.lock
 log file = /var/log/rsyncd.log
 pid file = /var/run/rsyncd.pid
 port=873
 address=localhost.localdomain
 uid=root
 gid=root
 use chroot=yes
 read only = no
## host allow: this is important.
## In my case leaving the subnet-mask leads to a failure,
## so I only provide the IP.
   hosts allow = 192.168.0.217, localhost.localdomain
 motd file=/etc/rsyncd/rsyncd.motd
 
## Now you have to declare, in brackets, the RSYNC 'module', or "share
name" as it is called within backuppc
   [Backup-Data-Folder]
   ## Next, set the path you want backed up. Be sure to use a trailing
slash
   path= /
   read only   = no
   list= yes
   auth users = root
   hosts allow = 192.168.0.217, localhost.localdomain
   secrets file = /etc/rsyncd.secrets
   ## the easiest way is to use the root user
   ## This user has "ROOT"-privileges, so he can save files.
   uid = root
   gid = nogroup


   # uid = backuppc
   # gid = backuppc




######


Bob Katz, hope someone can catch my error. Very sorry for the
bandwidth. 


--
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] Backing up the server computer

2017-07-14 Thread Bob Katz
Thanks. Well, first I have to ensure that inetd and no other mechanism I 
foolishly initiated in my efforts is running. I'm working on that now.


But is there a point to running sudo rsync  if the object is to use 
systemctl to run the daemon? Is that for a test or permanent? Yes, I'm 
confused :-)  And systemctl has already been initiated.



Bob


On 7/14/17 6:02 AM, Kenneth Porter wrote:
--On Thursday, July 13, 2017 4:37 PM + Michael Stowe 
 wrote:



At this point, I'd recommend

sudo rsync --daemon --foreground --verbose

So you can actually tell what's happening.


According to the man page, --foreground should be --no-detach. That 
keeps the daemon from disappearing and causes its output to appear on 
the terminal. So the command would be:


sudo rsync --daemon --no-detach --verbose

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


-- 


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/


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-13 Thread Bob Katz
This is for Fedora 26. Backuppc is working fine backing up all sorts of
client computers But conquering backing up itself seems to be very
complex. 

I set up a service rsyncd using instructions at https://lists.fedorapro
ject.org/pipermail/users/2011-November/408706.html

This seems to work, but things have gotten worse instead of better :-(

Because When I run: 

[bobkatz@localhost ~]$ rsync localhost.localdomain::
rsync: failed to connect to localhost.localdomain (::1): Connection
refused (111)
rsync: failed to connect to localhost.localdomain (127.0.0.1):
Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(125)
[Receiver=3.1.2]
[bobkatz@localhost ~]$ 


Whereas previously when I was trying to run an rsync daemon using
simply sudo rsync --daemon, I was able to get the rsync
localhost.localdomain to respond with the name of the rsync module

It's a mess and I wish I could back out of it and start from scratch.
Also in the process I tried to create a xinet.d method of initiating
rsync and I fear a conflict. All I did was install xinetd and create
some config files but I can try to back out of that if you think it's
creating a conflict. 

I repeat, it's a mess  I don't know where to start debugging at
this point. I'm so sorry,


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] Backing up the server computer

2017-07-13 Thread Bob Katz

Guys: Since it appears the correct way to launch rsync on fedora is:

systemctl start rsyncd

How would I do this in verbose mode?  I'm hoping the log file will do 
the job anyway.


I think I'll restart the computer to ensure rsync is NOT running and 
start debugging again.


Crossing fingers and thanks for the help,


Bob

Michael Stowe wrote:

At this point, I'd recommend


sudo rsync --daemon --foreground --verbose

So you can actually tell what's happening.




--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Could Not Open Password File

2017-07-13 Thread Bob Katz
vice file.



b) In terminal

# sudo systemctl enable httpd
# sudo systemctl enable backuppc
# sudo systemctl start backuppc

If all goes well pointing your browser to the gui at 
http://localhost/BackupPC should show the interface. Keep in mind that 
the default apache configuration only allows access from localhost, if 
you want to access it from another machine you'll have to edit the 
configuration in /etc/httpd/conf.d/BackupPC.conf.


Then reboot the machine (this is important), then test the link to the 
gui. If all goes well, then start the fun! If you still don’t connect, 
perhaps it’a an apache-related error, which you may be able to debug in 
the apache log in /var/log/httpd





Enjoy,


Bob Katz


On 7/12/17 11:21 PM, Akibu Flash wrote:


I did a package install of BackupPC 4.1.3 on a Fedora 26 server.  
BackupPC appears to be running, though I cannot access it via the CGI 
interface.  When I check the httpd error log, it states: “Permission 
denied:  Could not open password file: /etc/BackupPC/apache.users”.  I 
changed the permissions on /etc/BackupPC/apache.users to rwx for 
everyone, but this did not solve the problem.  My 
/etc/httpd/conf.d/BackupPC.conf file contents is below.




# BackupPC requires valid authentication in order for the web interface to

# function properly.  One can view the web interface without 
authentication


# though all functionality is disabled.

#

# htpasswd -c /etc/BackupPC/apache.users yourusername

AuthType Basic

AuthUserFile /etc/BackupPC/apache.users

AuthName "BackupPC"



  # Apache 2.4

  

Require valid-user



  Require local

  Require ip 10.10.10



  





  # Apache 2.2

  order deny,allow

  deny from all

  allow from 127.0.0.1

  allow from ::1

  allow from 10.10.10

  require valid-user





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

ScriptAlias /BackupPC /usr/libexec/BackupPC/BackupPC_Admin

ScriptAlias /backuppc /usr/libexec/BackupPC/BackupPC_Admin

Any ideas on how to resolve this? Thanks in advance.

Akibu



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


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-13 Thread Bob Katz


On 7/12/17 11:08 AM, Les Mikesell wrote:

I noticed in your rsyncd.conf that you are running it as user
backuppc.   That probably will prevent it from accessing ports below
1024 unless it starts as root.  Also, you won't be able to back up all
of the files on the machine.



Thanks, Les. You can also see by the commented lines in my rsyncd.conf 
that I had tried user "root" in the past with no success so in 
desperation I tried user backuppc. At this moment to get things started, 
I have been manually launching


sudo rsync --daemon

so it is launching with root privileges. And at some point in my 
iteration it made the PID successfully but not anymore so maybe the 
daemon is already running BUT I'm having no success finding a command to 
stop the daemon from running on fedora. There is a "cat" command I've 
seen but it fails. There must be a foolproof way of displaying running 
daemons, finding out the PID and killing it.  The PS command that 
everyone is fond of does not show the daemon is runnning, I don't believe.


For secrets to work is it sufficient to have a secrets line in the conf 
file and a secrets file with the user name and password? I never use 
secrets on any of my other hosts and added the secrets line on the 
server conf in desperation.


In the conf file would you agree that it would be ok to change the uid 
back to root?


Then when it still fails I'm flailing in the dark. I'm stretching the 
limits of my linux knowledge also, as you can see.



Sorry,


Bob


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-12 Thread Bob Katz
Hi, guys. To review:

I'm Trying to back up the server computer using method rsyncd. The
backup fails.

I'm on Fedora 26. Yes, I know it's in beta.

Maybe this rsyncd log entry will help:

2017/07/12 05:08:52 [13623] rsyncd version 3.1.2 starting, listening on
port 873
2017/07/12 05:08:52 [13623] bind() failed: Permission denied (address-
family 2)
2017/07/12 05:08:52 [13623] bind() failed: Permission denied (address-
family 10)
2017/07/12 05:08:52 [13623] unable to bind any inbound sockets on port
873
2017/07/12 05:08:52 [13623] rsync error: error in socket IO (code 10)
at socket.
c(555) [Receiver=3.1.2]
2017/07/12 05:09:42 [13652] connect from localhost (::1)
2017/07/12 05:09:42 [13652] rsync denied on module Backup-Data-Folder
from local
host (::1)
[bobkatz@localhost log]$ 


Backuppc is configured to use user backuppc with password  "password"
secrets file has just this entry:   backuppc:password
I manually run sudo rsync --daemon and there is no "response" in
terminal. I take it to mean the daemon launched with no problem.

Making the PID has been problematic. There is no PID file being created
and I haven't conquered the issue. Not sure if this is the cause of the
problem but anyway I don't even know how to stop the daemon as the only
command I've found to stop the daemon incorporates the nonexistent PID
file.

Any thoughts, please? Thanks!

--
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] Backing up the server computer

2017-07-11 Thread Bob Katz
It's still a struggle, and I thank everyone who has tried to help.
Here's what I've done so far.

I've succeeded in getting this command to work:

[bobkatz@localhost etc]$ rsync localhost.localdomain::
Backup-Data-Folder  



"Backup-Data-Folder" is the rsync task (module) named in rsyncd.conf

However, this command does not work:


[bobkatz@localhost etc]$ rsync host::
rsync: getaddrinfo: host 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(125)
[Receiver=3.1.2]


AND, backuppc gui reports:


Host localhost.localdomain Backup Summary

This PC has never been backed up!!

This PC is used by root.
Last email sent to root was at 7/7 01:01, subject "Backuppc has not
backed up".
Last status is state "idle" (backup failed) as of 7/11 13:47.
Last error is "No files dumped for share Backup-Data-Folder".
Pings to localhost.localdomain have succeeded 184 consecutive times.

~

I have tried several UID/GID settings with no luck.

My current rsyncd.conf file is as follows:

###
##
##  RSYNCD config file for the backuppc server
##
###

gid = users

read only = false
# false will allow backuppc to restore files to the server
transfer logging = false
 lock file = /var/run/rsync.lock
 log file = /var/log/rsyncd.log
 #pid file = /var/run/rsyncd.pid
## host allow: this is important.
## In my case leaving the subnet-mask leads to a failure,
## so I only provide the IP.

 
## Now you have to declare, in brackets, the RSYNC 'module', or "share
name" as it is called within backuppc
   [Backup-Data-Folder]
   ## Next, set the path you want backed up. Be sure to use a trailing
slash
   path= /
   read only   = no
   list= yes
  # auth users = user1
   hosts allow = 192.168.0.217
   #secrets file = /etc/rsyncd.secrets
   ## the easiest way is to use the root user
   ## This user has "ROOT"-privileges, so he can save files.
   # uid = root
   # gid = nogroup


   uid = backuppc
   gid = root

--
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] BackupPC 4.1.x vs. MacOS rsyncd

2017-07-10 Thread Bob Katz

On 7/10/17 9:47 AM, Josh Malone wrote:


Thanks, but I'm trying to figure out why BPC 3.x worked with the stock 
OSX rsync and now 4.x doesn't. I really can't install homebrew and a 
second rsync on all my OSX machines just for backuppc.




Dear Josh:

I don't see any harm in installing Homebrew (which you can uninstall if 
you wish) in order to install rsync. It's not a big bother. I've given 
full instructions on how to handle this.


The rsync in osx is so moldy old that any apps that want to use it 
incorporate rsync in their packages. For example, Carbon Copy Cloner 
incorporates a new version of rsync in its own app contents. This is 
because people (rightly) don't trust the version of rsync which apple 
continues to bundle with their machines. Apple really isn't that 
interested in making their linux fully functional, as long as the BSD 
undercarriage works well with their GUI, they are satisfied.



Bob



--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC 4.1.x vs. MacOS rsyncd

2017-07-07 Thread Bob Katz
nds it, then type:

rsync --version

to confirm you have the right one, which should be version 3+. However, 
OSX may take time to find the new one. I believe I kept on hammering 
'which rsync' in terminal until it found it.



*6) But in case it doesn't find the new rsync,* find out the paths:

echo $PATH

If the new rsync installer put it into one of these paths it should run, 
but it took a few tries of my running
rsync --version for the system to find the newly-installed rsync. The 
top path was actually the one where the new rsync was installed so it 
makes little sense why the system didn't find it at first, but 
eventually it did.


Then, finally, run:
sudo rsync --daemon


*7) Now you can go to backuppc, *configure the new client and start a 
backup.


*8) Once you are happy, you need to configure the daemon to run each 
time at startup.* OSX does NOT use cron or inet.d so you have to make a 
plist file. You can try changing the locations in the following plist to 
the standard locations for rsync, but I followed the lead of this new 
rsync install and where it wanted to put things. The new rsync install 
used some symlinks so I advise checking that each of your elements 
corresponds with or links to the locations in the plist. This did work 
for me:


To launch/rsyncd/, The following/plist/(property list) file is installed 
as owner root into//Library/LaunchDaemons/org.samba.rsync.plist.

/

/sudo touch org.samba.rsync.plist
/

/-rw-r--r--   1 root  wheel 0 May 30 20:50 org.samba.rsync.plist
/

I gave it 644 permissions. /On OSX it's easiest to edit with the free 
'textwrangler'.

/


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


Disabled

Label
org.samba.rsync
Program
/usr/bin/rsync
ProgramArguments

/usr/local/bin/rsync
--daemon
--config=/usr/local/etc/rsyncd.conf

inetdCompatibility

Wait


Sockets

Listeners

SockServiceName
rsync
SockType
        stream








Then restart the Mac and ensure you can back it up.



Regards,


Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-05 Thread Bob Katz
Dear Les and group:

The rsync command you gave me for testing makes rsync think it's
pushing a file, not connecting with the remote server.

Here's a different test command I worked out, just to see if rsync can
communicate with the daemon on its own computer. There is an rsync task
mentioned in rsyncd.conf called [Backup-Data-Folder]


[bobkatz@localhost Documents]$ rsync --dry-run -v 'Bobby/test'
localhost.localdomain::Backup-Data-Folder
rsync: failed to connect to localhost.localdomain (::1): Connection
refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(125)
[sender=3.1.2]


So it seems the daemon is not running on the port? This ps command
seems to say the daemon is running:


[bobkatz@localhost Documents]$ ps x | grep rsync
17690 pts/1S+ 0:00 grep --color=auto rsync

Not sure where to go to further debug this :-(


Sorry,


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] Backing up the server computer

2017-07-03 Thread Bob Katz
Thanks, Ken. localhost.localdomain is definitely the 127... address 
we would expect


ps  command tells me that the daemon is running

I haven't run lsof but I do know the daemon is running

So I'm still stuck  :-(


Best,



Bob



On 7/3/17 5:47 PM, Kenneth Porter wrote:

On 7/3/2017 1:16 PM, Bob Katz wrote:

But I get this error. I suppose I'm doing something fundamentally not
permitted (can't use rsync daemon to connect to the same computer???):

rsync_bpc: failed to connect to localhost.localdomain (::1): Connection
refused (111)
rsync_bpc: failed to connect to localhost.localdomain (127.0.0.1):
Connection refused (111)


Test the connection with the regular command line rsync client. Just 
run "rsync localhost.localdomain::" and see what happens. (It should 
list the modules available to back up.) You can also use "lsof -i" to 
see if anything is listening on the rsyncd port. Maybe rsyncd isn't 
running? Could you have a firewall rule blocking that port on the 
loopback interface? Also try "ping localhost.localdomain" to see what 
address is being used.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


-- 


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/


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backing up the server computer

2017-07-03 Thread Bob Katz
Hi guys. 

All of my hosts are connected by rsyncd so I decided to try backing up
the server computer via rsyncd. It's "localhost.localdomain" of course.
I am not using any secrets file, I've always just connected as root.
Secrets is not mentioned in rsyncd.conf, and there are no keys used:

But I get this error. I suppose I'm doing something fundamentally not
permitted (can't use rsync daemon to connect to the same computer???):

File /var/lib/BackupPC//pc/localhost.localdomain/XferLOG.bad.z

Contents of file
/var/lib/BackupPC//pc/localhost.localdomain/XferLOG.bad.z, modified
2017-07-03 16:00:06

XferLOG file /var/lib/BackupPC//pc/localhost.localdomain/XferLOG.0.z
created 2017-07-03 16:00:00 
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx
=  (FillCycle = 7, noFillCnt = )
Running: /usr/bin/rsync_bpc --bpc-top-dir /var/lib/BackupPC/ --bpc-
host-name localhost.localdomain --bpc-share-name Backup-Data-Folder --
bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-
prevcomp -1 --bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 1 --
super --recursive --protect-args --numeric-ids --perms --owner --group
-D --times --links --hard-links --delete --delete-excluded --one-file-
system --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --
stats --checksum --timeout=72000 --password-
file=/var/lib/BackupPC//pc/localhost.localdomain/.rsyncdpw2827 root@loc
alhost.localdomain::Backup-Data-Folder /
full backup started for directory Backup-Data-Folder
Xfer PIDs are now 2834
This is the rsync child about to exec /usr/bin/rsync_bpc
rsync_bpc: failed to connect to localhost.localdomain (::1): Connection
refused (111)
rsync_bpc: failed to connect to localhost.localdomain (127.0.0.1):
Connection refused (111)
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 1 inode
rsync error: error in socket IO (code 10) at clientserver.c(122)
[Receiver=3.0.9.8]
rsync_bpc exited with fatal status 10 (2560) (rsync error: error in
socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9.8])
Xfer PIDs are now 
Got fatal error during xfer (No files dumped for share Backup-Data-
Folder)
Backup aborted (No files dumped for share Backup-Data-Folder)
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1,
inPlace = 1, lastBkupNum = 
Removing empty backup #0
Xfer PIDs are now 2856
BackupPC_backupDelete: removing #0
BackupPC_backupDelete: No prior backup for merge
Xfer PIDs are now 2856,2857
BackupPC_refCountUpdate: host localhost.localdomain got 0 errors (took
0 secs)
Xfer PIDs are now 2856
Xfer PIDs are now 
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are now 
Running BackupPC_refCountUpdate -h localhost.localdomain -f on
localhost.localdomain
Xfer PIDs are now 2858
BackupPC_refCountUpdate: host localhost.localdomain got 0 errors (took
0 secs)
Xfer PIDs are now 
Finished BackupPC_refCountUpdate (running time: 0 sec)
Xfer PIDs are now 

--
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] Feature request: Restore Search across all shares/backups

2017-06-15 Thread Bob Katz
On Wed, 2017-06-14 at 21:27 -0700, Craig Barratt wrote:

> Les is right for 3.x.
> 
> For 4.x the files are not stored in the backup tree.  So you'll need
> to use BackupPC_ls -R, or you could also grep the XferLOG.nnn.z files
> (although the format and what appears or not depends on the
> XferMethod).
> 
> Examples:
> 
> BackupPC_ls -R -h HOST -n NUM -s SHARE / | egrep FILENAME
> BackupPC_zcat TOPDIR/pc/HOST/XferLOG.NUM.z | egrep FILENAME
> 
> For BackupPC_ls you'll need to write a script to iterate over every
> HOST, backup NUM and SHARE.  Or you could use wildcards with
> BackupPC_zcat for HOST and/or NUM.
> 
> I'd rather not build this into the CGI interface, since the running
> times could be very long.
> 

Thanks, Craig for the syntax. I would not have been able to come up
with that command line on my own without your example! So I'm
experimenting with zcat and grep search as I think this search
mechanism is very important to ensure restore success. 

Here was my first search, for the occurrence of the word "headphone" in
any file from any backup from any host:

[backuppc@localhost bin]$ ./BackupPC_zcat /Bobby/pc/*/XferLOG.*.z |
egrep *headphone*


The output of this command is instantaneous! So the search from the CLI
is very powerful and VERY fast. The problem is that the results do not
tell which backup has the resulting file, the backup number or the 
modification date. 

Here is some of the output result:

newrecv >f+ rw-r--r--  400, 401165508 Program
Files (x86)/Common Files/Digidesign/DAE/Plug-In Settings/Speakerphone/-
top 5 tiny speakers/leaking headphone.tfx
newrecv >f+ rw-r--r--  400, 401166501
Program Files (x86)/Common Files/Digidesign/DAE/Plug-In
Settings/Speakerphone/tiny stuff/occasional headphone leak.tfx
newrecv >f+ rwxr-xr-x  400, 401 29632
Program Files
(x86)/VideoLAN/VLC/plugins/audio_filter/libheadphone_channel_mixer_plug
in.dll
newrecv >f+ rw-r--r--  400, 401  5263
Program
Files/Flux/FluxTAnalyzer.app/Contents/Resources/GEngine/256/headphones.
png
newrecv >f+ rw-r--r--  400, 401 57931
ProgramData/Audio Ease/Speakerphone/Main Presets/-top 5 tiny
speakers/leaking headphone.spp


Do you think you or anyone could come up with a command line or script
that tells us which host the file came from and possibly which backup
number if that is necessary? As well as the last modified date? I know
I may be asking for too much, but backuppc is so powerful I dream of a
comprehensive search facility to make restoration easier considering
years and years of backups and many hosts, if you get my drift. 

I am puzzled how the master command could be concatenated with "zcat"?
Is that a feature of perl? Forgive my programming ignorance!

I think we could live with a command line result as we could then go to
the gui to do the restore. 

Thanks,


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/


[BackupPC-users] Feature request: Restore Search across all shares/backups

2017-06-14 Thread Bob Katz
Is it possible to design a search tool that will look for the occurrence 
of a string in the file name across all shares/backups?


It should come up with any versions of the file, last modified date, 
etc. and what backup it is stored in. Ideally it should allow the user 
to navigate to the file in the backup and then use the normal restore 
choices to restore it.



Wouldn't that be nice? Sometimes we don't know which computer/host might 
have had the file we're looking for and/or we want to go back to an old 
version of that file.



Thanks,



Bob


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Proper syntax to delete a particular directory within a share

2017-06-13 Thread Bob Katz
I'm trying to delete an entire directory that should have been excluded
from all backups. (Ironically, this directory contains all OSX time
machine backups on the network so you can see why I need to exclude
it). I think (I hope) I've got the exclude syntax working but I want to
delete this extensive backup that's wasting space on the backup volume.

The host name is "n6850.local"
The rsync share name is "Backup-Data-Folder"
Method of backups is rsyncd if that's important.
It contains a directory called "Time Machine". In the CGI this shows up
as:
"Backup-Data-Folder/Time Machine"

I've run the following command chasing it down from the highest
numbered backup down, but the CGI gui still shows "Time Machine" as
containing data after I run it several times each time decrementing the
backup #. I ran it several times because each time the delete command
merges the backup into the next lower backup so I figured I need to run
the delete command once for each valid backup number. I don't fully
understand the progress indications that come up after I run the delete
command. Here's an example trying to delete the particular folder
within backup #4:


./BackupPC_backupDelete -h n6850.local -n 4 -s Backup-Data-Folder/Time
Machine

Any ideas? Thanks for the help! 


--

P.S. 

backuppc is a killer app! (meaning "I love it"). 
Status shows current CPool V4 is 7.78 T. Prior to pooling and
compression it would have taken up 63.37 T! I "only" have 22 T capacity
 storage so it's a damn good thing we have excellent de-
duplication!


Best wishes,


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/


[BackupPC-users] Solved: Backup is stalled

2017-06-06 Thread Bob Katz
I ran iotop and found rsync-bpc appears to be occupied with an exclude 
that belongs to a different share.


So I stopped the backup and remade the config to exclude items on a per 
share basis instead of globally. Then restarted the backup and there was 
instant improvement.



Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Solved: Backup is stalled

2017-06-06 Thread Bob Katz
I ran iotop and found rsync-bpc appears to be occupied with an exclude 
that belongs to a different share.


So I stopped the backup and remade the config to exclude items on a per 
share basis instead of globally. Then restarted the backup and there was 
instant improvement.



Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Backup is stalled

2017-06-05 Thread Bob Katz
Well, finally the backup got "unstalled", without any human 
intervention. It filled in only about 3 more folders. Keeping in mind 
that there are a tremendous amount of very big files in this 
photographer's backup. But it surprises me that it took about 36 hours 
to gain three more folders worth of backup. What was backuppc doing for 
the past 36 hours?


This was not a case of blackout period because it's the very first full 
backup for this share.


Thanks, Doug, for cluing me into "iotop". It shows me that rsync_bpc is 
at work. I think that I need to get a lot more excludes going because 
there's a tremendous amount of time wasted backing up useless photo 
previews in the lightroom database. Maybe that will speed up a full 
backup. It will be interesting to see how long it takes to do an 
incremental once this 7 Terabyte full back up is complete.



BK


On 6/5/17 11:52 AM, Doug Lytle wrote:

Is there any way I can examine what backuppc is doing or attempting to do 
"now"? To try and figure out why it is stalled.

Install iotop to view what's being written to the file system

Doug



--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Debugging excludes and....

2017-06-05 Thread Bob Katz
Hi, guys. I want to exclude any file that contains "Previews.lrdata".  

For example:

Lightroom Catalog/Lightroom 5/Lightroom 5
Catalog/Old/original1.Lightroom 5 Catalog-2 Previews.lrdata/9/9965



Another challenging exclude needs to contain "PreviewsDefective.lrdata"


Lightroom Catalog/Lightroom 5/Lightroom 5 Catalog/original1.Lightroom 5
Catalog-4 Smart PreviewsDefective.lrdata/9/9E74


--  

Would it be as simple as using *Previews.lrdata*, for example:


$Conf{BackupFilesExclude} = {
  '*' => [
'*Previews.lrdata*',
'Lightroom ACR cache/',
'Library/Caches/',
'*.lrprev',
'Lightroom Catalog/Backups/',
'Library/Logs/CrashReporter/',
'Library/Application Support/MobileSync/Backup/'
  ]




Thanks for any advice,


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/


[BackupPC-users] Backup is stalled

2017-06-05 Thread Bob Katz
I currently have three hosts going. The first two are "behaving" ok and
are on backup # 6 or 7 already.  Method is all rsyncd. 

The third host, "Mary's iMac" (OSX) is stalled in backup #0. It has
three shares. The first share, her home directory, proceeded fine.
Everything backed up. The second share, a backup of a very large photo
storage, is stalled about midway through. rsync has produced all the
folders and has gone through part of letter O successfully, but the
rest of the folders are empty from "Orlando" through to folder
'z.". It's been about 22 hours in this exact condition:

Host marys-imac.local Backup Summary

This PC is used by root.Host marys-imac.local is queued on the user
queue (will be backed up soon).Last status is state "backup in
progress" as of 6/4 12:22.Pings to marys-imac.local have succeeded 8
consecutive times.

The server host summary also says "backup in progress". 

Is there any way I can examine what backuppc is doing or attempting to
do "now"? To try and figure out why it is stalled.


-

I had the same problem with this same client four days ago, after it
had been stalled for 48 hours, when it was stalled around letter "k". I
became concerned that maybe my having added some excludes while the
backup was going, so I decided to wipe the storage (using the command
"BackupPC_backupDelete" and start over and watch it like a hawk, not
changing any settings. The delete wiped 168320 directories. Then I
started a full backup from the GUI and at first the GUI reported that
the backup was missing but that soon cleared up. 

I'm not sure if it stalled exactly at the same place but it was a
similar place about midway through the backup. 


Any ideas?

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/


[BackupPC-users] Has anyone had an issue with "open files"?

2017-06-04 Thread Bob Katz
I'm just asking to be thorough. I don't think the documentation mentions 
"open files". Over the years I've used different backup systems with 
mechanisms that ensured open files would be copied correctly, both on 
Mac and PC.


My main concern is a Lightroom database, which is always open if 
Lightroom is open. And in fact, before you back up the database, the 
application first quits. I suppose I could force Lightroom to quit 
during the overnight periods when backuppc is backing up.


BK


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Consequence of "always incremental" after first full backup

2017-06-04 Thread Bob Katz

Fabulous, Michael. Thanks for that assurance,



Bob


On 6/4/17 12:51 AM, Michael Huntley wrote:


Hi Bob -

I regularly backup older multi-gigabyte PST files.  I use a 7 day Fill 
schedule.  BackupPC doesn't actually backup the file if it is 
unchanged, but it will appear in the backup # of the Filled backup. 
 I've messed with full backups and filled schedules.   It's all a wash 
- any pre-existing unchanged file isn't backed up - it simply appears 
in the backup #.


Craig stated the fulls and filled backups are de-coupled and it 
appears to be so.





*$Conf{FullPeriod} --- which we want large enough to ensure we NEVER 
do another full backup*


Why?



As you pointed out, it's not an issue, thanks to de-duplication. I just 
got the impression from the documentation that the user could/should 
choose never doing another full backup. The documentation discusses the 
option of setting a very long Full period.



*$Conf{FillCycle}--- if we set this >0 would it slow down the 
day-to-day backup operation?

*
With these very large files is there any issue with 
setting*$Conf{FullKeepCnt}  >1   ?*



*Full keep count *seems* to correspond to the number of Filled backups 
kept around...*


I'm not seeing any negative results with keeping FullPeriod at 6.97 
and FillCycle at 7.





Excellent. I'll just leave these defaults.



BK

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Adding excludes after a backup has begun.... Restarting a backup that had been manually stopped.

2017-06-03 Thread Bob Katz
1) While examining the contents of a backup I discover it's wasting a 
lot of time backing up


'Library/Caches/'

so I add that to the exclude list. I then "stop/dequeue backup" from the 
GUI in hopes it will read and obey the new exclude list.


I then restarted the backup from the GUI and I chose "Start Incremental 
backup" because I was afraid that "start full backup" would be a bad 
choice. Apparently it continued with the full backup that was underway, 
which was what I was hoping for.


2) What about the new exclude? Will it exclude the new items from this 
moment forward? It's hard to tell from the Xfer log since rsync seems to 
list every file it sees, even the items it's going to exclude. That's 
one of the most disconcerting features of rsync, it leaves you guessing.


Your thoughts, please.


Bob
--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Consequence of "always incremental" after first full backup

2017-06-02 Thread Bob Katz
*O*ne of the hosts being backed up is a photographer's computer with a 
huge 7 TB store of photos. Many of the photos are multi-layer photoshop 
files some larger than a GB each. The vast majority of this storage is 
archival. Only a small percentage of photos are changing or being added 
to at any moment in time.


What would be the consequences of setting the backuppc parameters so 
this host never gets another full backup? The documentation speaks of an 
ever-increasing number of deltas and a tradeoff in speed.


For such a host with many very large files and a very large file 
storage, what would be the optimum suggested settings for:


*
$Conf{FullPeriod} --- which we want large enough to ensure we NEVER 
do another full backup

*
*
$Conf{FillCycle}--- if we set this >0 would it slow down the 
day-to-day backup operation?

*
With these very large files is there any issue with setting*
$Conf{FullKeepCnt}  >1   ?
*
*
I must admit I'm confused by the documentation for *$Conf{FullKeepCnt}:***
*

"In the steady state, each time a full backup completes successfully the 
oldest one is removed. If this number is decreased, the extra old 
backups will be removed."


Does this still apply since "fullkeepcnt" in v4+ means "filledkeepcount"?


Thanks for any advice,


Bob Katz


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Excluding all files containing the word 'cache' regardless of their path....

2017-06-02 Thread Bob Katz
On Fri, 2017-06-02 at 00:10 -0500, Michael Stowe wrote:
> 
> No.
> 
> At best, this might exclude all shares that happen to have some
> variation of “cache” in the name, but I'm not even sure it would do
> that, depending on the xfer method.
> 
> What you're probably looking for is something along these lines:
> 
> $Conf{BackupFilesExclude} = {
> 
> '*' => [
>   '*cache*'
>   ]
> };
> 
> I note that this will exclude all files containing the word cache as
> well as all files in all directories containing the word cache, which
> seems like a very poor idea, should somebody named “musicache” have a
> user directory or one tries to store their research files on
> cachexias.

Would backuppc be able to use any standard regex? 

Here are is a cache file. Similar files would be great to exclude:

Cache020507.dat

In this case there is a folder that contains all these caches which I
could exclude, but I think regex could help in difficult cases.







--
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] Excluding all files containing the word 'cache' regardless of their path....

2017-06-01 Thread Bob Katz
Would this work?

$Conf{BackupFilesExclude} = {
  '*cache*' => [
''
  ]
};

--
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] Success: OSX backup without "secrets" and notes:

2017-05-31 Thread Bob Katz
ocations in the following plist to 
the standard locations for rsync, but I followed the lead of this new 
rsync install and where it wanted to put things. The new rsync install 
used some symlinks so I advise checking that each of your elements 
corresponds with or links to the locations in the plist. This did work 
for me:


To launch/rsyncd/, The following/plist/(property list) file is installed 
as owner root into//Library/LaunchDaemons/org.samba.rsync.plist.

/

/sudo touch org.samba.rsync.plist
/

/-rw-r--r--   1 root  wheel 0 May 30 20:50 org.samba.rsync.plist
/

I gave it 644 permissions. /On OSX it's easiest to edit with the free 
'textwrangler'.

/


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


Disabled

Label
org.samba.rsync
Program
/usr/bin/rsync
ProgramArguments

/usr/local/bin/rsync
--daemon
--config=/usr/local/etc/rsyncd.conf

inetdCompatibility

Wait


Sockets

Listeners

SockServiceName
rsync
SockType
stream
        







Then restart the Mac and ensure you can back it up.



Regards,


Bob


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.



--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


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


[BackupPC-users] error log for new host

2017-05-30 Thread Bob Katz
I think I've conquered the Thecus as a client and now for the next
challenging client: a macbook pro. Also via rsyncd. I have the daemon
running and what looks like a good rsyncd.conf file for the macbook
pro. I'm not using "secrets" and that seems to work as a philosophy for
the Thecus.

However, the backup starts and immediately ends with this error:
Can't open log file /var/lib/BackupPC//pc/bobs-macbook-
pro.local/XferLOG.0

The thing is there are two forward slashes in this error note which
doesn't make sense. I believe the correct route should
be:/var/lib/BackupPC/pc/bobs-macbook-pro.local/XferLOG.0

What do you think went wrong?
Thanks for any help,

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/


[BackupPC-users] Debugging Excludes

2017-05-29 Thread Bob Katz


  

  
Richard's suggestion for excludes did not work for me:
backuppc was not excluding my files. Dieter's suggestion for excludes
is working for me. I'm getting excludes and includes and not getting a
bunch of empty folders in the backup. My host config looks like this:
$Conf{BackupFilesExclude} = {   '*' =>[  '**/Thecus Audio', 
'**/incremental-backup',  '**/Wordpress_Backup', 
'**/NAS_Module_Source_',  '**/FM_and_Computer_Backups',  '**/USBCopy', 
'**/_Module_Folder_',  '**/eSATAHDD',  '**/USBHDD',  '**/NAS_Public', 
'**/Time%20Machine',  '**/_NAS_Picture',  '**/iTunes_music'  ]};
However, based on googling rsync discussions, I'm betting that it will
work without the ** in front of the /  For example, from the web:
A user running rsync had his entire source directory in an exclude.txt
file:
rsync -Paz --exclude-from 'rsync-exclude.txt' /home/chris/ admin@192.16
8.1.65:LinuxHome

  where rsync-exclude.txt has this
content:

  /home/chris/Downloads/*
/home/chris/Downloads/
/home/chris/Downloads/*.*

  The response was:59down
  voteaccepted


  
The problem is
  that you are specifying complete
directory
  paths.
With rsync, all
  exclude (or include) paths beginning
with / are
  are anchored to the root of
transfer. The root of transfer in
  this case is /home/chris. 
But since you're
  just trying to sync your home directory,
  and there is no subDdirectory
of /home/chris named home/chris/Downloads,
  it ignores your exclusion.
Try removing the /home/chris parts
  from your rsync-exclude.txt file.
  

  

  

   
Similarly, I'm amazed that Dieter's suggestion of **/ is working. 
But I don't want to rock the boat and will try differently on the next
machine I set up to back up.

Best wishes,

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/


[BackupPC-users] Debugging excludes and....

2017-05-29 Thread Bob Katz
Thanks to everyone for the help so far! Don't want to clog the list
with too many thank you notes!

I'm just getting my first backup of one computer sorted out. Method is
rsyncd.

1.  One of the excludes is not working. Its contents are showing up in
the backup. It's being done with an override for this host:


Include/ExcludeBackupFilesOnly 
 OverrideNew ShareName or '*':  BackupFilesExclude 
 Override/raid/FM_and_Computer_Backups 



(Yes, I'm backing up a raid, but this is an essential machine and it
needs its own backup)
However, 'browse backups' is showing all the content of the excluded
directory FM_and_Computer_Backups. Here's an excerpt of 'browse
backups':

 FM_and_Computer_Backups .AppleDB .AppleDesktop .AppleDouble .Temporary
Items Computer_Disk_Images








and so on, all the way through every file that should have been
excluded. Any ideas?


2) xfer log shows that backuppc is "wasting time" listing each file in
a very large directory that is being excluded. Is that avoidable? I'm
pretty sure this directory is really excluded because there is nothing
showing in its contents in browse backups. But I also fear that the
system froze as the xfer log stopped about 2/3 of the way through
displaying this directory, which should have been excluded anyway. I
have seen rsync list excludes in a verbose list, so this behavior may
be an artifact of rsync. 


3) Is it acceptable to use the shortcut %20 for a space in a file name
in an exclude? For example:

/raid/Thecus%20Audio




For the directory 'Thecus Audio".   I wonder if this is why the xfer
log is showing the system going through this directory, yet it is
supposed to be excluded? 

3) Can I Override the blackout period for testing? I want to manually
continue this backup and watch its progress. In the CGI, will one of
these buttons "continue" the full backup which is active into the
blackout period? Is that possible?:

"Start Incr Backup"
"Start Full Backup"


4) Browse Backups. I can't always get it to shrink a list. The '-"
button on some directories is not working. But the master '-' button at
the top is working


Thanks for any help, 








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


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


[BackupPC-users] Test, please ignore

2017-05-16 Thread Bob Katz

test


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] testing list from bobkatz24...@gmail.com, please ignore

2017-05-15 Thread Bob Katz

testing list from bobkatz24...@gmail.com, please ignore

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Recommend add to manual

2017-05-14 Thread Bob Katz
On Sun, May 14, 2017 at 9:37 PM, Kenneth Porter 
wrote:


>
> What if you have TWO drives you want to mount to /var/lib/backuppc? With
> BackupPC 4, it's not unreasonable to swap your backup media every week
> to an offsite location.
>


Is there a way to configure alternation between the two backup drives
within a single instance of backuppc?

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] Exchanging keys

2017-05-14 Thread Bob Katz
Les wrote:

"Normally the key goes in root's home directory under
.ssh/authorized_keys. That 'ssh-copy-id' command is a shell script
if you want to see what it does.  Maybe you find wherever root's home
directory is in the sandbox environment and make a copy there."


I see that script does something with *.pub" and perhaps it puts it into
the text file authorized_keys. That's the file that ends up on the Thecus
inside /root/.ssh. I've kind of verified that ssh is running as a process
on the Thecus.

So I'm (potentially) giving up... it could be the Thecus or it could be me.
I implemented the Thecus basic ssh daemon (which deals with root ssh
access) and disabled the module's special ssh daemon. I used Richard's
advice and dis ssh-copy-id

Well, I've tried and tried, deleting files on both server and client, and I
keep on dealing with this error: sign_and_send_pubkey: signing failed:
agent refused operation

So basically I'm giving up.


Les also wrote:

"If not, and you end up using rsyncd instead, just change the
$Conf{XferMethod} to rsyncd instead of rsync."

Looks like rsyncd is my option for the Thecus. I'm so sorry, too. I feel
I'm close to conquering the key issue, but so far :-(.

On Sun, May 14, 2017 at 6:05 PM, Les Mikesell  wrote:

> On Sun, May 14, 2017 at 4:43 PM, Bob Katz  wrote:
> >
> > Again, you're a godsend. I can root ssh to the Thecus!
> >
> > But I wish exchanging keys were that simple with the Thecus NAS. The
> Thecus
> > has a sandboxed operating system. Anything below /raid will be eaten up
> on
> > reboot. To do keys you have to use a module called FajoSSHD that's
> located
> > here on the Thecus:
> >
> > Office-MacBook-Pro:~ bobkatz$ ssh root@192.168.0.213
> >
> > N6850:~# cd /raid/data/module/FaJoSSHD
> > # ls
> > cgi-bin/ log.txt  Shell/   system/  www/
> > COPY shell@   sys/ VERSION
> > N6850:/raid/data/module/FaJoSSHD#
> >
> > I know that FajoSSHD keeps authorized keys in here:
> >
> > N6850:/raid/data/module/FaJoSSHD/system/etc/ssh/users/root# ls
> > authorized_keys
> >
> > But I cannot figure out where the public key you want me to transfer
> should
> > go. Would it go into that same directory? If not, I can explore any other
> > directories. Somewhere in this hierarchy I need to put the key which I
> > generated on my Fedora server.
> >
> > I'm going to try your code and see if I can get it to work using the
> above
> > url. Stand by.
> >
>
> Normally the key goes in root's home directory under
> .ssh/authorized_keys. That 'ssh-copy-id' command is a shell script
> if you want to see what it does.  Maybe you find wherever root's home
> directory is in the sandbox environment and make a copy there.
>
> If not, and you end up using rsyncd instead, just change the
> $Conf{XferMethod} to rsyncd instead of rsync.
>
> --
>   Les Mikesell
> lesmikes...@gmail.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/
>



-- 
-- 

Bob Katz 407-831-0233 DIGITAL DOMAIN | "There are two kinds of fools,
Recording, Mastering, Manufacturing  | One says-this is old and therefore good.
Author: *Mastering Audio  *| The other says-this is new
and therefore
Digital Domain Website <http://www.digido.com/>   | better."

No trees were killed in the sending of this message. However a large number
of electrons were terribly inconvenienced.
*No more Plaxo, Linked-In, or any of the other time-suckers. Please
contact me by regular email. Yes, we have a facebook page and a
You-Tube site!*
--
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] Exchanging keys

2017-05-14 Thread Bob Katz

Dear Richard:

Again, you're a godsend. I can root ssh to the Thecus!

But I wish exchanging keys were that simple with the Thecus NAS. The 
Thecus has a sandboxed operating system. Anything below /raid will be 
eaten up on reboot. To do keys you have to use a module called FajoSSHD 
that's located here on the Thecus:


Office-MacBook-Pro:~ bobkatz$ ssh root@192.168.0.213

N6850:~# cd /raid/data/module/FaJoSSHD
# ls
cgi-bin/ log.txt  Shell/   system/  www/
COPY shell@   sys/ VERSION
N6850:/raid/data/module/FaJoSSHD#

I know that FajoSSHD keeps authorized keys in here:

N6850:/raid/data/module/FaJoSSHD/system/etc/ssh/users/root# ls
authorized_keys

But I cannot figure out where the public key you want me to transfer 
should go. Would it go into that same directory? If not, I can explore 
any other directories. Somewhere in this hierarchy I need to put the key 
which I generated on my Fedora server.


I'm going to try your code and see if I can get it to work using the 
above url. Stand by.


Thanks,


Bob


On 5/10/17 6:46 PM, Richard Shaw wrote:


The easy way to exchange keys on Fedora to use rsync over ssh assuming
you're using root to do the backup on the clien:

(as root)
# su -s /bin/bash -l backuppc
# ssh-keygen
(don't add a passphrase, it would defeat the purpose)
# ssh-copy-id root@

After that you should be able to "ssh root@" and it login without
prompting for a password.

Thanks,
Richard




--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Fedora 26 backup pc package missing configure.pl?

2017-05-13 Thread Bob Katz

Thanks, Richard.

OK, got it. Don't want to futz with symbolic links.  I'll change fstab 
to mount the RAID in the approved directory.


Why wouldn't this be fixed, though, if we run the configure script with 
a new topdir?



Bib



On 5/13/17 8:21 PM, Richard Shaw wrote:
On Sat, May 13, 2017 at 5:56 PM, Robert Katz <mailto:bobk...@digido.com>> wrote:


Guys

I installed backuppc into my Fedora 26 using, simply "dnf install
BackupPC"

I found that the main files have been placed in /etc/BackupPC/

So I started working my way through editing config.pl
<http://config.pl> (after making a
backup, of course). At some point I learned that it is not a good
idea to
change the topdir location without adding some kind of symbolic link
(which I did not want to do) or re-running configure.pl
<http://configure.pl> (the install
script).


You can use a symbolic link or bind in /etc/fstab. It's not a good 
idea to change it because Fedora runs with SELinux enabled by default 
and there are specific policies applied for the package to allow 
BackupPC to work. If you really can't use /var/lib/backuppc as the 
backup directory you'll have to disable SELinux.


So I searched for configure.pl <http://configure.pl> and could not
find it anywhere on my
system. Maybe it's no longer necessary? But rerunning the install says
"nothing to do" so I guess configure.pl <http://configure.pl> is
still necessary.


configure.pl <http://configure.pl> will not be available because the 
package comes pre-configured, configure.pl <http://configure.pl> will 
not run outside of the full source archive.


Richard


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC v4 for Fedora / EPEL Update

2017-05-13 Thread Bob Katz
Thanks, Richard. I just bit the bullet and did a new install of Fedora 25, 
copied my scripts over, configured the machine, cloned it, tested the clone, 
and upgraded to 26!

Now I'm working on installing backup pc


Thanks for your fantastic help, 

Bob

My iPhone made me write this. Quotes only below this line. Nothing more to see 
here. 


> On May 12, 2017, at 2:40 PM, Richard Shaw  wrote:
> 
>> On Fri, May 12, 2017 at 9:59 AM, Bob Katz  wrote:
>> Those were VERY old packages that I attempted to install in a very new 
>> system. The 3DM2 software is long into End of Life. There is no support, 
>> though some of the old 3DM2 people are working at Broadcom I might be able 
>> to get an answer. I can't even find the uninstaller  :-(.  So do you have 
>> any advice on how I can disconnect these old packages from Fedora?  :-(
>> 
> 
> You'll have to do your best with dnf and see if you can get them to 
> uninstall... Something like (as root):
> 
>  # dnf erase 3dm2 3ware-status
> 
> If it balks at that you can add "--allow-erasing" to see if it can come up 
> with a complete transaction.
> 
> 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] BackupPC v4 for Fedora / EPEL Update

2017-05-12 Thread Bob Katz
Dear Richard. You are a godsend! Of course I'd like to upgrade to Fedora 
26 as it would simplify how much I have to maintain.


You wrote:



Those conflicts are with the 3ware 3dm2 software and the 3ware
status, which aren't working anyway. I couldn't get them to work.
Those are the GUIs for the 3ware raid card (3ware was bought by
Broadcom). I've tried all the standard and nonstandard methods for
removing those packages and could not remove them. Any ideas how
to remove these packages?  So I'm using the CLI for the card and
it works, ok.


This is basically because the 3ware packages are apparently *very 
poorly* packaged. They should not be trying to claim ownership of the 
root "/", /usr/sbin, or /etc/init.d directories. If they have an 
upstream you should let them know that.



Those were VERY old packages that I attempted to install in a very new 
system. The 3DM2 software is long into End of Life. There is no support, 
though some of the old 3DM2 people are working at Broadcom I might be 
able to get an answer. I can't even find the uninstaller :-(.  So do you 
have any advice on how I can disconnect these old packages from Fedora?  :-(



Best wishes,


Bob
--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC v4 for Fedora / EPEL Update

2017-05-11 Thread Bob Katz
Hi, guys. Still working towards install of Backuppc on my Fedora. I 
apologize that I got Fedora and Redhat mixed up. I definitely am using 
Fedora!


At the end of the day today I somehow got it in my head that the 
COPR/EPEL installers required Fedora 26. It's all new to me so please 
excuse.


But I got this conflict during the upgrade process, which did not complete:

[SKIPPED] js-jquery-3.2.1-1.fc26.noarch.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful 
transaction.

You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file / from install of filesystem-3.2-40.fc26.x86_64 conflicts with 
file from package 3dm2-2.11.00.019+10.2.1+KB16625-2.x86_64
  file /usr/sbin from install of filesystem-3.2-40.fc26.x86_64 
conflicts with file from package 3dm2-2.11.00.019+10.2.1+KB16625-2.x86_64
  file / from install of filesystem-3.2-40.fc26.x86_64 conflicts with 
file from package 3ware-status-0.5-2.noarch
  file /usr/sbin from install of filesystem-3.2-40.fc26.x86_64 
conflicts with file from package 3ware-status-0.5-2.noarch
  file /etc/init.d from install of chkconfig-1.10-1.fc26.x86_64 
conflicts with file from package 3dm2-2.11.00.019+10.2.1+KB16625-2.x86_64
  file /etc/init.d from install of chkconfig-1.10-1.fc26.x86_64 
conflicts with file from package 3ware-status-0.5-2.noarch


Error Summary

Those conflicts are with the 3ware 3dm2 software and the 3ware status, 
which aren't working anyway. I couldn't get them to work. Those are the 
GUIs for the 3ware raid card (3ware was bought by Broadcom). I've tried 
all the standard and nonstandard methods for removing those packages and 
could not remove them. Any ideas how to remove these packages?  So I'm 
using the CLI for the card and it works, ok.


-

All right, back to Fedora 25 and backuppc  :-)


Best wishes,


Bob


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Need script linux-backuppc

2017-05-11 Thread Bob Katz

On 5/9/17 9:37 AM, Richard Shaw wrote:

What version are you running? 5  / 6 / 7?



I finally figured out, Richard you are asking me about my Redhat 
version! Well, it reports as Fedora 25 so I'm not sure which Redhat but 
maybe that information helps you! Today I'm trying to implement COPR, 
etc. in order to install backuppc properly on this machine.


*I just spent a day yesterday creating and testing a Linux script that 
runs as a cron job, launches the CLI for my RAID card, gets the status 
and sends an email to me. So if anyone wants that script, just ask!**

*
That was fun.  ;-)


Best wishes,


Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Need script linux-backuppc

2017-05-11 Thread Bob Katz

On 5/9/17 9:37 AM, Richard Shaw wrote:

What version are you running? 5  / 6 / 7?



I finally figured out, Richard you are asking me about my Redhat 
version! Well, it reports as Fedora 25 so I'm not sure which Redhat but 
maybe that information helps you! Today I'm trying to implement COPR, 
etc. in order to install backuppc properly on this machine.


*I just spent a day yesterday creating and testing a Linux script that 
runs as a cron job, launches the CLI for my RAID card, gets the status 
and sends an email to me. So if anyone wants that script, just ask!**

*
That was fun.  ;-)


Best wishes,


Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC v4 for Fedora / EPEL Update

2017-05-10 Thread Bob Katz

On 5/10/17 8:29 AM, Richard Shaw wrote:
On Tue, May 9, 2017 at 9:49 PM, Bob Katz <mailto:bobk...@digido.com>> wrote:


Thanks, Richard and list!

Does the EPEL and COPR installer for backuppc recognize that
backuppc has already been installed and overwrite it? I don't mind
overwriting. I just want to know if the installer covers existing
installs. I've already  installed the modified rsync, all the Perl
dependencies, etc. I've run the Perl install script as well,
following along with


Yes, it will work like any other upgrade / package update, it's not a 
parallel installable package.


Got it. GOTHAM'S RECOMMENDATIONS HAD ME MAKE A NEW USER "BACKUPPC" AND 
RUN APACHE IN IT, AND DO A LOT OF STUFF FROM WITHIN ROOT. Should I 
delete the new user, change the Apache user back to default, and as much 
as possible undo all of the steps he gave? Any harm in leaving the Perl 
modules intact and the modified Rsync in the bin folder? I wouldn't know 
how to uninstall a Perl module anyway off the top of my head.


Ordinarily I would wipe this Redhat machine and start from scratch but I 
spent a whole day installing an old driver for my now-obsolete RAID 
card. It's not that old a card, it was working fine in Windows. EOL 
for hardware comes much too soon :-(.  and I'm working on a script to 
send mail when the RAID controller has problems. And in that case if I 
start from scratch I guess I would switch to Debian. :-)



Yes, probably best to wipe anything you've done manually. The readme 
in the package has basic instructions on what you'll need to do after 
package install.


I'm not sure if you mentioned what version you are running but the 
package should install a SysV init script on EL 6 and the Systemd 
service file on EL 7.




I'm not running EL yet at all, not fully understanding your syntax 
above  :-)



Bob

--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Need script linux-backuppc

2017-05-09 Thread Bob Katz

Dear Richard.

On 5/9/17 9:37 AM, Richard Shaw wrote:
On Tue, May 9, 2017 at 8:13 AM, Bob Katz <mailto:bobk...@digido.com>> wrote:


Hi guys.

I've got too much time invested in Redhat to try Debian ;-(

What version are you running? 5  / 6 / 7?

Version of what? I've got Redhat based on Fedora 25 is the release 
number off the top of my head, and I can recheck. So I don't understand 
the numbers "5 / 6 / 7".




I'm currently building for CentOS/RHEL in my COPR[1] but I don't have 
any testing reports from anything other than 7.





--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC v4 for Fedora / EPEL Update

2017-05-09 Thread Bob Katz

Thanks, Richard and list!

Does the EPEL and COPR installer for backuppc recognize that backuppc 
has already been installed and overwrite it? I don't mind overwriting. I 
just want to know if the installer covers existing installs. I've 
already  installed the modified rsync, all the Perl dependencies, etc. 
I've run the Perl install script as well, following along with


http://sgowtham.com/journal/backuppc-on-red-hat-enterprise-linux/

It seems most of the stuff is there, though I haven't launched the app 
yet. Maybe I'm just missing the inet.d script and who knows what else. 
But installing from a complete Fedora or Redhat repository instead would 
be much better of course. Should I wipe any stuff from my installation 
before venturing into a whole new install using EPEL and COPR approach?


Thanks,


Bob


On 5/9/17 1:56 PM, Richard Shaw wrote:

That's where the actual packages are stored, you need to start with 
installing the repository:


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] BackupPC v4 for Fedora / EPEL Update

2017-05-09 Thread Bob Katz

Dear Daniel and Richard and group:

Sorry, I'm not familiar with all the acronyms.

I'm very excited to see a repository for Fedora/Redhat!

When I go to the EPEL repository page


https://dl.fedoraproject.org/pub/epel/7/x86_64/

I'm presented with a plethora of possible downloads and I'm completely 
lost, I don't know what to download.



Thanks for any help,



Bob Katz


On 5/9/17 12:44 PM, Daniel Berteaud wrote:




Le 29/04/2017 à 01:08, Richard Shaw a écrit :

Been available for a while on my COPR:

https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/

Must have missed the announcement.

Requires EXTRAS+EPEL repositories.



Hi, and thanks for your packages.
Unfortunatly, it cannot be installed on EL6 as there's no par2cmdline 
for this version. As this is an optional feature, could you relaxe it 
? (or enclose in Requires in a conditional > el6)


Cheers,
Daniel

--

Logo FWS

*Daniel Berteaud*

FIREWALL-SERVICES SAS.
Société de Services en Logiciels Libres
Tel : 05 56 64 15 32 
Visio : http://vroom.im/dani
/www.firewall-services.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/


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--
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] Need script linux-backuppc

2017-05-09 Thread Bob Katz

Hi guys.

I've got too much time invested in Redhat to try Debian ;-(

Currently I'm working my way through the out-of-date tutorial by the 
excellent Gowtham:


http://sgowtham.com/journal/backuppc-on-red-hat-enterprise-linux/

I'm progressing very well using the latest version of Backuppc, but I 
cannot find the script to self start on boot, which is supposed to go 
into etc/init.d


This script is called

linux-backuppcand I cannot find it anywhere. Can someone please 
point me to it?


Thanks  Hopefully this will take me further on my journey to getting 
Backuppc fully working.


-
--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


--

If you want good sound on your album, come to Bob Katz 407-831-0233 
DIGITAL DOMAIN MASTERING STUDIO Author: *Mastering Audio *Digital Domain 
Website <http://www.digido.com/> No trees were killed in the sending of 
this message. However a large number of electrons were terribly 
inconvenienced.


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