Re: [BackupPC-users] Storing Identical Files?

2023-02-11 Thread Greg Harris
Dumb question.  They aren’t encrypted on the drive are they?

Thanks,

Greg Harris

On Feb 11, 2023, at 8:49 PM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org> wrote:

It does and in fact almost has to since pool files are stored
according to their md5sum.
So unless you have either an md5sum collision (extremely unlikely
unless creating them intentionally -- as in (number of files)*2^-128
unlikely), you shouldn't have any files in your pool with an
underscore in them.

If you have any such files, use BackupPC_zcat to compare their
contents. If they are different, then congrats you have
(unintentionally) created a blue moon md5sum collision.

If the contents are the same, then indeed for some reason
de-duplication isn't working. The only thing that I could think of
that could possibly cause duplicates is if the compression is set
differently on the different backups -- but I'm not sure that would
even create a problem.

Also, confirm that all your backups are in a v4 pool...

Christian Völker wrote at about 09:12:22 +0100 on Saturday, February 11, 2023:
Hi,

I am using BackupPC now for years. It is really great. Meanwhile I use
v4.4.0 on Debian.

As far as I understood it os very efficient in storing identical data.
Now I noticed something which let me doubt this. I guess there is an
explanation. So what do I have?

I have two clients which have a large share. These two (Debian) clients
sync this share on a daily base through rsync (through a third clientC,
but this should not make a difference). On clientA there is a cron job
doing rsync to clientC and on clientB there is a cron job doing rsync
from clientC. So in the end all three hosts have identical data. rsync
command runs through ssh and use "-avH".

BackupPC itself is only backing up host clientA so far (since months
now).  So the data is stored in /var/lib/backuppc.

Now I added the clientB share to BackupPC and expected the filesystem
usage on /var/lib/backuppc to stay more or less equal after the backupc
of clientB as the data is already stored from clientA. At least after a
while when doing some cleanups.

Unfortunately, the usage of the pool increased approximately about the
size of the share and has not been dropped since (more than a week now).

So my questions are:

 *   Is there dupe detecion on BackupPC?
 * If so, why does my pool size not decrease after a while?
 * If by default it has to decrease, is there an explanation why it
   does not on my host?

Thanks a lot!


/KNEBB



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


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


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


Re: [BackupPC-users] Backup strategy for rarely-connected clients

2023-01-31 Thread Greg Harris
Honestly, why back it up at all?  Nothing changed.  If it’s off the shelf for 
that short of time, it’s not got anything on it that’s not somewhere else.  
Now, the update argument is real.

Thanks,

Greg Harris

On Jan 31, 2023, at 4:47 PM, Les Mikesell 
mailto:lesmikes...@gmail.com>> wrote:

On Tue, Jan 31, 2023 at 3:36 PM Richard Shaw 
mailto:hobbes1...@gmail.com>> wrote:

An additional problem is that the machine might only be connected for a
short period, so the server might miss that window and fail to back it
in the short period it's connected, as it's busy with other backups.


I think the perfect world example would be if there was a client you could run 
so the computer could inform the server when it's up, perhaps via a REST 
interface.


Why can't the user log into the web interface and start the backup at
appropriate times?   And if the admin gets the email that it hasn't
been backed up, he can call the guy up and remind him...

--
  Les Mikesell
lesmikes...@gmail.com<mailto:lesmikes...@gmail.com>


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


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


Re: [BackupPC-users] Backup strategy for rarely-connected clients

2023-01-31 Thread Greg Harris
It’s a canary. The day it’s not in your email is the day you start to sweat 
about Backuppc. 

Thanks,

Greg Harris

> On Jan 31, 2023, at 3:55 PM, Kenneth Porter  wrote:
> 
> My company has a laptop that spends most of its time on a shelf, not in use. 
> So I'm constantly seeing a daily BackupPC alert in my email that the machine 
> hasn't been backed up recently.
> 
> How do others deal with this situation, with machines that are rarely 
> connected to the LAN for backup?
> 
> An additional problem is that the machine might only be connected for a short 
> period, so the server might miss that window and fail to back it in the short 
> period it's connected, as it's busy with other backups.
> 
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
> 

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


Re: [BackupPC-users] errors on network-mounted pool filesystem

2022-09-02 Thread Greg Harris
I’d suspect that the rsync_bpc call is using a user that isn’t what you expect. 
 However, I can’t find the exact setting I was expecting.  In my setup, the 
group that owns the backup location is the web group, (I think www for Ubuntu), 
not backuppc, and backuppc is part of the web group.

Thanks,

Greg Harris

On Sep 2, 2022, at 9:01 AM, Sandro Bordacchini 
mailto:sandro.bordacch...@gmail.com>> wrote:

Hello all.

Just wanted to share with you what happened to me and check if you have any 
idea on what is going on.
I have been a satisfied user of backuppc for a long time. So far I am using a 
3.3.0 version on a debian 7 on a local vm (a local vmware esxi i have full 
control on): no problem with this approach.

I needed to switch to a cloud solution, though.

No need to migrate the pool. I thought about installing backuppc v4 and just 
starting from that, adding my old hosts (to avoid v3/v4 pool version issues)
My pool is 0.7 TB so to keep the budget low I planned to buy a low-middle sized 
vm plus some "cloud storage space".
I read that hardlinks support is no longer strictly mandatory (but it can 
affect performance) on v4 so I was about to give it a try. I hope I understood 
this crucial point correctly.

So i installed backuppc 4.4.0-3 (standard repo version on debian 11)
I mounted the cloud space with sshfs as user backuppc, this are the options in 
the fstab line:

idmap=user,allow_other,default_permissions,IdentityFile=/root/.ssh/,port=23,ServerAliveInterval=15,reconnect,_netdev,uid=108,gid=114

uid and gid are backuppc user and group
I got a working installation and I tried a successful backup (full and incr) of 
localhost (tar method), with no errors.

Then I tried to add some remote linux servers (rsync over ssh method) and I got 
several transfer errors... very similar across all the servers... for example a 
sample from xferLOG:

[...]
This is the rsync child about to exec /usr/libexec/backuppc-rsync/rsync_bpc
Xfer PIDs are now 39411,39414
xferPids 39411,39414
G bpc_path_create: can't create f%2fetc%2f/attrib (errno 2)
G bpc_path_create: can't create f%2fetc%2f/attrib (errno 2)
=> [lots of repeated lines]
rsync_bpc: recv_generator: mkdir "/NetworkManager" failed: No such file or 
directory (2)
*** Skipping any contents from this failed directory ***
G bpc_path_create: can't create f%2fetc%2f/fX11 (errno 2)
G bpc_path_create: can't create f%2fetc%2f/fX11 (errno 2)
rsync_bpc: recv_generator: mkdir "/X11/xkb" failed: No such file or directory 
(2)
*** Skipping any contents from this failed directory ***
G bpc_path_create: can't create f%2fetc%2f/facpi (errno 2)
G bpc_path_create: can't create f%2fetc%2f/facpi (errno 2)
rsync_bpc: recv_generator: mkdir "/acpi/events" failed: No such file or 
directory (2)
*** Skipping any contents from this failed directory ***
G bpc_fileReadAll: can't open 
/var/lib/backuppc/cpool/36/16/37170a6409f1fa9cf67d20660b1d0f2d (from 
alternatives/ALTER_OPERATOR_CLASS.7.gz)
rsync_bpc: symlink "/alternatives/ALTER_OPERATOR_CLASS.7.gz" -> 
"/usr/share/postgresql/13/man/man7/ALTER_OPERATOR_CLASS.7.gz" failed: File 
exists (17)
rsync_bpc: symlink "/alternatives/ALTER_OPERATOR_FAMILY.7.gz" -> 
"/usr/share/postgresql/13/man/man7/ALTER_OPERATOR_FAMILY.7.gz" failed: File 
exists (17)
G bpc_fileReadAll: can't open 
/var/lib/backuppc/cpool/e2/48/e34810c68ce29a133fbc30d73c6ad6a0 (from 
alternatives/ALTER_TABLESPACE.7.gz)
[...]

All the remote servers i added so far (all debian servers) got several errors 
and if i try to browse their backups, the web interface tells me they are empty.

My main concern is: why the backup with tar method is working and the other 
with rsync is not?
If it was something about the pool filesystem ... should not affect all the 
backups?
Is something about the options i mount the sshfs filesystem? Should I set write 
syncs?
Seeing the log someone could argue user backuppc has no rw access but i can 
tell you that backuppc created a lot of files and folders in that fs.

Thank you in advance.
S

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

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


Re: [BackupPC-users] Getting lost in installation following documentation

2022-03-01 Thread Greg Harris
Ah, but Christian, you have hit the perfect paradox of Open Source Software!  
When you find a problem, you have the opportunity to lend a hand in fixing it.  
Yep, it’s annoying, but hopefully rare.  This is one of the benefits of Linux, 
that you have the opportunity and tools available to fix things yourself.

Yes, you are correct that wrong information should and must be corrected.  
However, because there’s not a monetary exchange, sometimes there is a time 
exchange.  When you begin to understand, prepare for, and embrace this dynamic, 
then these frustrations are not nearly as foreign or jarring.  Sometimes the 
frustration will never go away.  However, demanding that somebody else do 
something so that you can have something for free is not going to put those in 
charge in a great mood to help you.

I get it, and have been there.  I’m still there many times.  However, changing 
the tone to more of a helper stance can go a long way.

Thanks,

Greg Harris

On Mar 1, 2022, at 2:45 PM, Christian Möller 
mailto:dcmoel...@gmx.de>> wrote:

Thanks Johan for your reply and time.


Hello, BackupPC community,

sorry, to me this sounds like the following:

There is BackupPC software with documentation how to install it from
scratch ... but this documentation is wrong or at least misleading!

One of the benefits of using Linux-based machines is the ease to
install/upgrade software. I don't know who is responsible for
preparation of BackupPC's Debian package, but in essense it seems to be
useless (at least for initial installation)!

So please
- wipe out this chapter from documentation,
- fix DEB package.

Fiddling around with scripts is not acceptable to me! I want to apply
BackupPC for backing up my computers, not to train my ability typing
commands.

Christian

Am 23.02.22 um 14:50 schrieb Johan Ehnberg:
Hello Christian,

If you prefer not to install manually, the BackupPC Wiki has an
installer script that works on Debian-based distributions:

https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu

The script source can also be of use for you to identify where you got
stuck when installing manually.

Another option is to build your own packages or download premade ones:

https://github.com/backuppc/backuppc/wiki/Build-Your-Own-Packages

Best regards,

Johan Ehnberg


On 23/02/2022 13.39, Christian Möller wrote:
Hello,

I've tried to install BackupPC v4 following your documentation at

https://backuppc.github.io/backuppc/BackupPC.html

on a Debian 11 machine.

Starting with "Step 1"

https://backuppc.github.io/backuppc/BackupPC.html#Step-1:-Getting-BackupPC


everything works fine, both packages "backuppc" and "rsync-bpc" get
installed smoothly (as far as I can tell).
So according to the recommendation, I skip to Step 3 ... which gets me
lost in transition, because:

https://backuppc.github.io/backuppc/BackupPC.html#Step-3:-Setting-up-config.pl


states

"After running configure.pl, browse through the config file,
__CONFDIR__/config.pl [...]"

Well, which "configure.pl" to ran (and when)? What is "__CONFDIR__"? The
same as with v3, so "/etc/backuppc"? I recognized that this folder is
created freshly during installation (be aware of the file's timestamps),
but contains NO "config.pl" file:

  $ ls -al /etc/backuppc
  total 20
  drwxr-xr-x   2 backuppc www-data  4096 Feb 23 11:42 .
  drwxr-xr-x 130 root root 12288 Feb 23 11:57 ..
  -rw-r-   1 backuppc www-data47 Feb 23 11:42 htpasswd
  lrwxrwxrwx   1 root root13 Feb 23 11:42 pc -> /etc/backuppc

So my attempt stops at this point unfinished.

Any help appreciated. Thanks.

Christian


PS: A little bit of background info: I'm using BackupPC v3 for many
years now. Prior to my attempt to install v4, I've uninstalled v3 and
moved away the "old" folder /etc/backuppc by renaming it.


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

Founder, CEO

Molnix Oy


jo...@molnix.com

+358 50 320 96 88

molnix.com <https://molnix.com>


/The contents of this e-mail and its attachments are for the use of the
intended recipient only, and are confidential and may contain legally
privileged information. If you are not the intended recipient or have
otherwise received the e-mail in error, please notify the sender by
replying to this e-mail immediately and then delete it immediately from
your system. Any dissemination, distribution, copying or use of this
communication without prior and explicit permission of the sender is
strictly prohibited./



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net

Re: [BackupPC-users] Run command per file before storing in the pool

2022-02-17 Thread Greg Harris
Yet another sideline sitter here.  However, here goes with a very questionable 
thought.  Maybe BackupPC is the wrong tool for this particular 
directory/instance?  Perhaps something like Amazon Glacier with Cryptomator is 
a wiser choice in this one scenario?

Thanks,

Greg Harris

On Feb 17, 2022, at 10:27 AM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org> wrote:

G.W. Haywood via BackupPC-users wrote at about 13:24:26 + on Thursday, 
February 17, 2022:
Hi there,

On Thu, 17 Feb 2022, brogeriofernandes wrote:

I'm wondering if would be possible to run a command just after
client transfers file data but before it's stored in backuppc
pool. My idea is to do an image compression, like jpeg-xl lossless,
instead of the standard zlib one.

Have you considered using a compressing filesystem on the server?

I think that is the best idea as:
1. It is transparent to BackupPC
2. You benefit from all the optimizations of the underlying file
  system
3. No new coding is needed
4. No need to create special compression cases for different file
  types
5. Compression is automagically multi-threaded and cached/backgrounded
  so as to minimally slow down the program (I never "feel" the
  overhead of compression on my btrfs/zsd file system).
5. It's essentially totally reliable

It's particularly easy for a filesystem like btrfs... where you can
use 'zstd' which is both fast and good compression.

I would compare the speed and compression ratio of btrfs with 'zstd'
with the speed and compression ratio of your raw lossless jpg
compression.

... more bandwidth-friendly ... compression before transferring to
server ...

The data can be compressed on the client by the transfer tools during
the transfer.  This can be purely to reduce network load and it can be
independent of any compression (perhaps by a different method) of the
data when it is stored by the server.  The compression algorithms for
transfer and storage can be chosen for different reasons.  Of course
if it is required to perform multiple compression and/or decompression
steps for each file, the server will have to handle an increased load.

This can all be more or less transparent to BackupPC.

--

73,
Ged.


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


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


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


Re: [BackupPC-users] Changing Backuppc Web UI Password

2022-02-16 Thread Greg Harris
Sorry, answered to quickly on the copy/paste from my notes.  The -c is a create 
flag, drop it to update.  Additionally, you may need to adjust the directory.

Thanks,

Greg Harris

On Feb 16, 2022, at 8:54 AM, Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:

It’s a web user password.  To my knowledge, you cannot change it via the web 
interface.

su htpasswd -c /etc/BackupPC/apache.users admin

Replace “admin” with whatever username you are looking for.

Thanks,

Greg Harris

On Feb 16, 2022, at 7:17 AM, Mr J Arnold 
mailto:james.arn...@plantsbrookschool.co.uk>>
 wrote:

Hi all, hopefully not a tricky one.

I cannot for the life of me figure out how to change the password for the 
backuppc web ui. Anyone with sock puppets and crayons able to help?

Thanks much all.

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


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


Re: [BackupPC-users] Changing Backuppc Web UI Password

2022-02-16 Thread Greg Harris
It’s a web user password.  To my knowledge, you cannot change it via the web 
interface.

su htpasswd -c /etc/BackupPC/apache.users admin

Replace “admin” with whatever username you are looking for.

Thanks,

Greg Harris

On Feb 16, 2022, at 7:17 AM, Mr J Arnold 
mailto:james.arn...@plantsbrookschool.co.uk>>
 wrote:

Hi all, hopefully not a tricky one.

I cannot for the life of me figure out how to change the password for the 
backuppc web ui. Anyone with sock puppets and crayons able to help?

Thanks much all.

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

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


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-04-27 Thread Greg Harris
Ralph,

I have a feeling that those who know are going to want to see a list of the 
relevant settings to get a better grasp on how things are set.  However, I have 
a suspicion that you are on the right track.  If a backup is missed, then it is 
put into the queue and it will start as soon as it is able to.  You may be able 
to use the blackout hours to help.

Thanks,

Greg Harris

On Apr 27, 2021, at 6:50 AM, Ralph Sikau 
mailto:ra...@hassun.de>> wrote:

Hi,

I hope that somebody can help. I'm lost with the parameters of WakeupSchedule 
and Backupplan.
My Intention is that BackupPC wakes up once at 3 pm to do the nightly Jobs and 
the backup of a host shall start shortly before midnight and run from then 
throughout the following night.
Whatever I try the backup of the host always starts at 3 pm. Is that because 
the 
BackupPCNightlyPeriod<http://192.168.2.2/index.cgi?action=view=docs#_conf_backuppcnightlyperiod_>
 is set to 8 so that on days without doing nightly jobs the host backup starts 
instead? What's wrong here?
I also tried to start the backup jobs as cron jobs. That didn't work either.

Thanks for any assistance.

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

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


Re: [BackupPC-users] Simple server side embedded config file to allow full shadow backups of Windows host

2021-02-25 Thread Greg Harris
Okay, I was just making things way harder than they needed to be.  Sorry Jeff.  
Doug, from my understanding DeltaCopy is nearly just an alternative version of 
cygwin-rsyncd.  I think all you need to do is dump these scripts into the 
bottom of the .pl file for the host.  Otherwise, all of the other setup you 
normally do should be the same.

Thanks,

Greg Harris

On Feb 23, 2021, at 10:58 AM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org> wrote:

Yes. SSH needs to be minimally configured just as you do when using
the 'rsync' method (over ssh) for any other system.

And SSH is pretty basic for any type of communication, login, file
transfer between machines in the 20th century (with the exception
maybe of pure Windows environments)

Technically, SSH may not be a dependency for rsync in that you can
use 'rsyncd' without SSH but the vast majority of rsync usage between
local and remote machines (with or without backuppc) is over ssh.

Greg Harris wrote at about 15:51:26 + on Tuesday, February 23, 2021:
I was hoping that I could reply with at least a basic outline.  However, I’m 
still trying to figure out what I’m missing.

Jeff, you seem to imply that there’s no client side config that needs to be 
done?  When I installed SSH via the base CygWin, it seems like there is at 
least basic setup steps to getting sshd running.  Maybe you are considering 
those basic install pieces?  Sorry I’m such a newb on this, but I’m wading my 
way through and feeling a bit tripped up as I try to do the minimum possible to 
maximize the usage.

Additionally, it seems that openssh is not a dependency for rsycn in Cygwin, so 
I had to specify both separately.

I get the feeling that what I was expecting to do is a hybrid of using the 
BackupPC Cygwin install on the client and then this script on the server side, 
rather than configuring anything on either side.  Maybe my expectations are 
wildly off.

Thanks,

Greg Harris

On Feb 18, 2021, at 9:30 AM, Doug Lytle 
mailto:supp...@drdos.info><mailto:supp...@drdos.info>> 
wrote:

'cygpath' is part of the basic 'cygwin' package.

Okay,

For someone that has always used DeltaCopy on the clients, is there a 
step-by-step instruction page that explains on how to use this?

Thanks!

Doug


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

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



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

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


Re: [BackupPC-users] Simple server side embedded config file to allow full shadow backups of Windows host

2021-02-23 Thread Greg Harris
I was hoping that I could reply with at least a basic outline.  However, I’m 
still trying to figure out what I’m missing.

Jeff, you seem to imply that there’s no client side config that needs to be 
done?  When I installed SSH via the base CygWin, it seems like there is at 
least basic setup steps to getting sshd running.  Maybe you are considering 
those basic install pieces?  Sorry I’m such a newb on this, but I’m wading my 
way through and feeling a bit tripped up as I try to do the minimum possible to 
maximize the usage.

Additionally, it seems that openssh is not a dependency for rsycn in Cygwin, so 
I had to specify both separately.

I get the feeling that what I was expecting to do is a hybrid of using the 
BackupPC Cygwin install on the client and then this script on the server side, 
rather than configuring anything on either side.  Maybe my expectations are 
wildly off.

Thanks,

Greg Harris

On Feb 18, 2021, at 9:30 AM, Doug Lytle 
mailto:supp...@drdos.info>> wrote:

'cygpath' is part of the basic 'cygwin' package.

Okay,

For someone that has always used DeltaCopy on the clients, is there a 
step-by-step instruction page that explains on how to use this?

Thanks!

Doug


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


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


Re: [BackupPC-users] Simple server side embedded config file to allow full shadow backups of Windows host

2021-02-17 Thread Greg Harris
Well, now I’ve gone and done it!  This machine had the BackupPC CygWin that 
Michael so generously bestowed upon us and I didn’t check before I installed 
the general CygWin.  This ought to be fun to untangle.

So, that does clear up a few things, so thanks.  One bit of weirdness is that 
“tail” doesn’t show up in the CygWin list.  There’s a few “enhanced” versions, 
but not a specific tail.  Any particular one you run?  Additionally, I can’t 
find anything that is labeled cygpath.  Date also isn’t listed, but I expect 
that’s part of another base package, however there is the dateutils package?  
Or did you just run with the BackupPC version of CygWin?

Here’s what I’ve got:

Base install plus:
OpenSSH
Rsync


Sorry,

Greg Harris

On Feb 17, 2021, at 9:35 AM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org> wrote:

I may have been a little too literal in definition of 'base' - I meant
that you don't anything beyond what you need for generally running
BackupPC over cygwin (which of course includes rsync/ssh).

Greg Harris wrote at about 14:03:22 + on Wednesday, February 17, 2021:
Jeff,

These look like awesome scripts.  Thanks so much for sharing!  (Hrm, is 
BackupPC headed towards a plugin extension set?)  However, I’ve had little 
exposure to CygWin.  In the olden days, we’d grab the CygWin for BackupPC and 
roll.  However, your notes seem to indicate just installing a base CygWin.  
Yet, that doesn’t look like it includes SSH or Rsync.  Or is the base 
installing only the client side, and not installing the server side SSH and 
Rsync?  Sorry, my brain contorted in knots in the middle of this one and I’m 
struggling to find the ends to untie it.

Thanks,

Greg Harris

On Feb 15, 2021, at 8:35 AM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org><mailto:backu...@kosowsky.org>
 wrote:

Your welcome!
Thomas Trueten wrote at about 12:04:40 +0100 on Monday, February 15, 2021:
Hi there,

thanks for the hack. It runs very well here, I always had the problem
that backing up Windows computers in our network was quite a problem.

Am 10.02.21 um 21:51 schrieb 
backu...@kosowsky.org<mailto:backu...@kosowsky.org><mailto:backu...@kosowsky.org>:
Just posting an updated version of my perl hacks to the
/etc/backuppc/pc/windowshost.pl file that will allow you to easily and
reliably create (and later remove) VSS shadow copies on any Windows host
so that all files (including locked ones) can be backed up.

--
Sincerely,
Thomas Trueten http://www.trueten.de

PGP Key Id: 0xD96D6E68 available @ pgp KeyServers
Fingerprint = 6BF5 2B63 87A2 E6BA C3F3 6AF5 CC75 00D7 D96D 6E68
Threema: FS9ZFTZF jabber: 
true...@riseup.net<mailto:true...@riseup.net><mailto:true...@riseup.net> irc: 
spamboun...@irc.freenode.net<mailto:spamboun...@irc.freenode.net><mailto:spamboun...@irc.freenode.net>
 skype: thomas.trueten



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


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

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



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

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


Re: [BackupPC-users] Simple server side embedded config file to allow full shadow backups of Windows host

2021-02-17 Thread Greg Harris
Jeff,

These look like awesome scripts.  Thanks so much for sharing!  (Hrm, is 
BackupPC headed towards a plugin extension set?)  However, I’ve had little 
exposure to CygWin.  In the olden days, we’d grab the CygWin for BackupPC and 
roll.  However, your notes seem to indicate just installing a base CygWin.  
Yet, that doesn’t look like it includes SSH or Rsync.  Or is the base 
installing only the client side, and not installing the server side SSH and 
Rsync?  Sorry, my brain contorted in knots in the middle of this one and I’m 
struggling to find the ends to untie it.

Thanks,

Greg Harris

On Feb 15, 2021, at 8:35 AM, 
backu...@kosowsky.org<mailto:backu...@kosowsky.org> wrote:

Your welcome!
Thomas Trueten wrote at about 12:04:40 +0100 on Monday, February 15, 2021:
Hi there,

thanks for the hack. It runs very well here, I always had the problem
that backing up Windows computers in our network was quite a problem.

Am 10.02.21 um 21:51 schrieb 
backu...@kosowsky.org<mailto:backu...@kosowsky.org>:
Just posting an updated version of my perl hacks to the
/etc/backuppc/pc/windowshost.pl file that will allow you to easily and
reliably create (and later remove) VSS shadow copies on any Windows host
so that all files (including locked ones) can be backed up.

--
Sincerely,
Thomas Trueten http://www.trueten.de

PGP Key Id: 0xD96D6E68 available @ pgp KeyServers
Fingerprint = 6BF5 2B63 87A2 E6BA C3F3 6AF5 CC75 00D7 D96D 6E68
Threema: FS9ZFTZF jabber: true...@riseup.net<mailto:true...@riseup.net> irc: 
spamboun...@irc.freenode.net<mailto:spamboun...@irc.freenode.net> skype: 
thomas.trueten



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


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


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


Re: [BackupPC-users] Using BackupPC 4.x with rrsync on the client

2021-02-10 Thread Greg Harris
Felix,

I’m trying to follow along and learn a bit here.  Is this the concept you 
working towards:

https://dev-notes.eu/2016/08/secure-rsync-between-servers/

Thanks,

Greg Harris

On Feb 10, 2021, at 11:24 AM, Felix Wolters  wrote:

Thank you, HTH, for your effort! Your setup is absolutely reasonable –
as long as you are on a trusted (local) network and don’t need encrypted
transport.

Apart from that, the setup with rrsync would be much less complicated –
if it worked …


Am 10.02.21 um 17:10 schrieb G.W. Haywood via BackupPC-users:
Hi there,

On Wed, 10 Feb 2021, Felix Wolters wrote:

I'd like to use it with restricted access to the client ...

If I understand you correctly there's no need for complications, you
can do that with plain vanilla rsyncd.  It's what I do on my machines.
Forbidding ssh access further reduces the attackable surface.

1.  Set up an rsyncd daemon on the client which listens for connections
from rsync on the backup server.  Configuration like this for example:

8<--
...
[Config]
path=/etc
auth users=whatever
secrets file=/etc/rsyncd.auth

[Homes]
path=/home
auth users=whatever
secrets file=/etc/rsyncd.auth
...
8<--

The [words] in square brackets are what rsyncd knows as 'modules'.
Any module is read-only by default, so, even if it can connect to the
client's rsyncd daemon, the backup server can't write to anything in
those directories.  You forbid access to anything else.  The file
named in the 'secrets file' line contains just a single line with the
username 'whatever' (with no quotes), a colon, and the password for
that user. The user's password also appears in the Perl variable
$Conf{RsyncdPasswd} in the config fragment (usually in the file called
/.../BackupPC/pc/client.pl) on the backup server.  The user can be one
which you create purely for backup purposes, and probably should be.

2.  Set up 'rsyncd' transfers on the backup server like this, in the
file /.../BackupPC/pc/client.pl.  Obviously any other special config
for the client goes in there too.

8<--
$Conf{XferMethod}   = 'rsyncd';
$Conf{RsyncShareName}   =
['Config','Homes','usr_local_sbin','site_perl','usr_share_perl5_email'];
$Conf{RsyncdUserName}   = 'whatever';
$Conf{RsyncdPasswd} = 'redacted';
8<--

3. (Optional)

Instead of running the rsyncd daemon on the client 24/7 you can run it
via one of the super-servers, inetd or xinetd.  Nowadays I tend to use
xinetd but that's up to you.  The configurations are very different
for inetd and xinetd.  Using a super-server like this lets you further
restrict connections as you'll see below in the 'only_from' line:

8<--
client:~ cat /etc/xinetd.d/rsyncd
...
service rsync
{
flags   = REUSE
socket_type = stream
port= 873
wait= no
user= root
group   = root
server  = /usr/bin/rsync
server_args = --daemon
log_on_failure  += USERID
disable = no
only_from   = 127.0.0.1 192.168.1.5 192.168.1.47
192.168.1.246
}
8<--

If you run a super-server, don't forget that you'll need to restart it
after making any change to its configuration.

I've used this setup for quite a few years with no issues.

HTH



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

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


Re: [BackupPC-users] OT: To top-post or not?

2021-02-04 Thread Greg Harris

> On Feb 4, 2021, at 7:28 PM, Kenneth Porter  wrote:
> 
> --On Thursday, February 04, 2021 11:24 AM +0100 Sorin Srbu 
>  wrote:
> 
>> I'll continue to end-post as before. :-)
> 
> Not end/bottom post! That's really no better than top-posting, because we 
> still have to scroll down through the massive post you're quoting.
> 
> Brutally trim the post you're replying to and INTERLEAVE your reply. So it's

No one has voted for split posting yet. 

> trimmed/interleave you want to go for on public mailing lists.
> 
> Top-posting is fine for private/business where you add correspondents as the 
> conversation progresses.
> 
> The biggest pain is finding an MUA that can support both and allows the 
> different quoting style. In interleaved, prefix the quote with "> ". In 
> top-post, copy the message below a separator line with no prefix. Has anyone 
> found a decent MUA that can do that? I love the ancient Mulberry for mailing 
> lists. But it insists on prefix-quoting when I top-post. So does Thunderbird, 
> which I use in parallel to deal with HTML email (which is useful for support 
> for inline images, like when a customer is reporting a broken product).
> 
> 
> 
> 
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
> 

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


Re: [BackupPC-users] Checking rsync progress/speed/status

2021-01-13 Thread Greg Harris
The ls rendition is super useful, and keeps extra packages off the machine.   
Thanks for that one.

Thanks,

Greg Harris

On Jan 12, 2021, at 5:58 PM, Adam Goryachev via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>>
 wrote:


On 13/1/21 09:21, Les Mikesell wrote:
On Tue, Jan 12, 2021 at 4:15 PM Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:
Yeah, that “if you can interpret it” part gets really hard when it looks like:

select(7, [6], [], [6], {tv_sec=60, tv_usec=0}) = 1 (in [6], left {tv_sec=59, 
tv_usec=99})
read(6, 
"\0\200\0\0\4\200\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
32768) = 27748

Scrolling at 32756 lines in around 30 seconds.
That tells you it is not hung up.  You could grep some 'open's out of
the stream to see what files it is examining.  Sometimes the client
side will do a whole lot of reading before it finds something that
doesn't match what the server already has.

I tend to use something like:

strace -e open -p 

Also:

ls -l /proc//fd

Regards,
Adam



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

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


Re: [BackupPC-users] Checking rsync progress/speed/status

2021-01-12 Thread Greg Harris
Yeah, that “if you can interpret it” part gets really hard when it looks like:

select(7, [6], [], [6], {tv_sec=60, tv_usec=0}) = 1 (in [6], left {tv_sec=59, 
tv_usec=99})
read(6, 
"\0\200\0\0\4\200\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
32768) = 27748

Scrolling at 32756 lines in around 30 seconds.

Thanks,

Greg Harris

On Jan 12, 2021, at 5:02 PM, Les Mikesell 
mailto:lesmikes...@gmail.com>> wrote:

On Tue, Jan 12, 2021 at 2:24 PM Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:

I’ve yet to find a solid way to peer into the arena of BackupPC and
find answers to these types of questions.

Strace'ing the rsync process - possibly at both ends - gives you a
pretty detailed view of what is happening if you can interpret it.

--
   Les Mikesell
lesmikes...@gmail.com<mailto:lesmikes...@gmail.com>


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

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


Re: [BackupPC-users] Checking rsync progress/speed/status

2021-01-12 Thread Greg Harris
While all of that is true, the answers so far still seem to be kind of like 
looking at the parking lot outside the ice hockey arena.  (Well, at least, 
pre-Covid days anyways.)  Is there a game going on or is it a pre-game show 
listing players?  Is the zamboni on the ice?  Which game is in which rink?  Are 
there injuries? How much time is left?  Who’s being penalized and why?  I’ve 
yet to find a solid way to peer into the arena of BackupPC and find answers to 
these types of questions.

Thanks,

Greg Harris

On Jan 12, 2021, at 2:09 PM, Doug Lytle 
mailto:supp...@drdos.info>> wrote:

I tend to look in the top, if rsync is in progres, it its some CPU. It

iotop would be another method

You could also try following the rsync process with strace

Doug


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


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


Re: [BackupPC-users] Symlink for /var/lib/BackupPC

2020-10-28 Thread Greg Harris
Maybe sounds familiar?

Try:

cp -R /var/lib/BackupPC /BackupDriveLoc
chown -R backuppc:backuppc /BackupDriveLoc
rm -rf /var/lib/BackupPC
ln -s /BackupDriveLoc /var/lib/BackupPC
chcon system_u:object_r:var_lib_t:s0 /var/lib/BackupPC
chcon -R system_u:object_r:var_lib_t:s0 /var/lib/BackupPC/*

Thanks,

Greg Harris

On Oct 28, 2020, at 4:43 PM, Robert E. Wooden 
mailto:b...@donelsontrophy.com>> wrote:

On 10/28/2020 3:09 PM, Richard Shaw wrote:

Copied or moved? If you unmount dataR6 do you still the the directories in 
/var/lib/BackupPC? Not that it should matter, since mounting will mask any 
files left in the directory :) Symbolic links should work but I've always 
preferred bind mounting.

If you log in as the backuppc user can you create files in /var/lib/BackupPC?

# su -l backuppc -s /bin/bash
$ touch /var/lib/BackupPC/test

Or something like that. Also, look at both the BackupPC logs and the apache 
logs.

Thanks,
Richard

So, I have realized that I could rebuild (again) and I will not be "out much" 
but, what I would do differently this time is the installation sequence.

Previously, I had installed the OS, installed BackupPC (it ran but 
/var/lib/BackupPC was storing on the OS hdd and not the raid array.) After I'd 
gotten BackupPC to run, then I created the raid array. My problems began to 
mount.

This install, I would OS first, setup the array and create the symlink and 
then, install BackupPC. The BackupPC install should simply follow the symlink 
(think it is the /var/lib/BackupPC directory it's looking for) and place backup 
files and directories onto the array, like I want.

I will need to change my install sequence and that should solve my problem  . . 
. I think.

(Learn as you go, sometimes.)

--
Bob Wooden

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

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


Re: [BackupPC-users] Symlink for /var/lib/BackupPC

2020-10-28 Thread Greg Harris
Dumb question:  SELinux isn’t biting you is it?

Thanks,

Greg Harris

On Oct 28, 2020, at 3:27 PM, Robert E. Wooden 
mailto:b...@donelsontrophy.com>> wrote:


I rebuilt a machine to update to CentOS 8 and ease upgrades because BackupPC 
v.4.40 (as of 2020-10-28) is available via epel & PowerTools repo per this: 
https://kifarunix.com/install-and-configure-backuppc-on-centos-8/

I created the symlink for /var/lib/BackupPC to connect to /dataR6 (a raid6 
array). I copied all the directories and files over from /var/lib/BackupPC, 
changed directory and file permissions of the new directory to match the old 
and restarted BackupPC.

Apparently I did something incorrectly. BackupPC runs but, will not capture a 
client. "Clicking" 'FULL BACKUP' of any existing client causes nothing. 
Checking 'Server Status' and no backups have started. Checking logs states 
"Can't open log file."

Suggestions on what to do?

--
Bob Wooden

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

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


Re: [BackupPC-users] BackupFilesExclude osx catalina suggestions?

2020-10-04 Thread Greg Harris
You may want to consider adding /Library also.  This would include system 
configuration and preference files.  The /User libraries only include the user 
level configs and prefs.

Thanks,

Greg Harris

On Oct 4, 2020, at 1:36 PM, Todd Wade 
mailto:waveri...@gmail.com>> wrote:

On 10/4/20 1:29 PM, Robert Trevellyan wrote:
Hi Todd,
I backup Macs with /Users as the RsyncShareName. My excludes are mostly for 
transient things like logs and caches:

nice, thanks

Are you trying to backup the entire system, including OS and apps? My goal is 
only to backup user data in BackupPC. I let Time Machine take care of the bare 
metal backup.

Yeah. I do have Carbon Copy Cloner backups too. I guess I was thinking a yet 
another near mirror backup would be nice to have, but I guess backing up 
outside /Users is just pointless and a waste of disk space.

Thanks for the sanity check!


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

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


Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread Greg Harris
I must have run into something similar at some point, as I have additional 
notes where I copied the .pub file to a location readable by backuppc and then 
used the ssh-copy-id command with that version of the file.

Thanks,

Greg Harris

On Oct 1, 2020, at 1:26 PM, David Hoskinson 
mailto:david.hoskin...@astroshapes.com>> wrote:

Investigating your tip but here is what i get

Last login: Thu Oct  1 13:09:08 2020 from 10.60.2.25
[root@asbackup1 ~]# su -s /bin/bash backuppc
bash-4.4$ ssh-copy-id -i .ssh/id_rsa.pub 'root@vpnsvr'

/usr/bin/ssh-copy-id: ERROR: failed to open ID file '.ssh/id_rsa.pub': 
Permission denied
bash-4.4$ ll
bash: ll: command not found
bash-4.4$ ls -al
ls: cannot open directory '.': Permission denied
bash-4.4$



From: "Greg Harris" 
mailto:ghar...@teamexpansion.org>>
To: "backuppc-users" 
mailto:backuppc-users@lists.sourceforge.net>>
Sent: Thursday, October 1, 2020 1:06:28 PM
Subject: Re: [BackupPC-users] First backup failing Host Key and No files dumped


CAUTION: This email originated from outside your organization. Exercise caution 
when opening attachments or clicking links, especially from unknown senders.

David,

The backuppc user generally doesn’t have shell access.  You should be able to 
use something like:

su -s /bin/bash backuppc
ssh-copy-id -i 
.ssh/id_rsa.pub<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fid_rsa.pub=E,1,82IDWb-eudNlyvLMDJBuMLdSFXVbDrhyFpjNYS_XIRKpn7MubjAbeeOuttgj2AvaCS4X-T6od9gb1c7wVVCXcaZRsPeYIgD-GY_BT3fd=1>
 ‘r...@client.to<mailto:r...@client.to>.backup'
exit
On the server, you can add shell access to the backuppc user with:

usermod -s /bin/bash backuppc

Thanks,

Greg Harris

On Oct 1, 2020, at 12:00 PM, David Hoskinson 
mailto:david.hoskin...@astroshapes.com>> wrote:

Hello all

I am doing a new install of BackupPC 4.4.0 and am having issues with my first 
backup


XferLOG file /backup/astrobackup//pc/namesvr1/XferLOG.0.z created 2020-10-01 
11:45:54
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/bin/rsync_bpc --bpc-top-dir /backup/astrobackup/ --bpc-host-name 
namesvr1 --bpc-share-name /etc/named/ --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-log-level 6 --bpc-attrib-new -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/rsync --numeric-ids --perms --owner --group -D --links 
--hard-links --times --block-size=2048 --recursive --checksum --timeout=72000 
namesvr1:/etc/named/ /
full backup started for directory /etc/named/
Xfer PIDs are now 2766
This is the rsync child about to exec /usr/bin/rsync_bpc
bpc_path_create(/backup/astrobackup//pc/namesvr1/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
Host key verification failed.
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
Parsing done: nFilesTotal = 0
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.0]
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(226) [Receiver=3.1.2.0])
Xfer PIDs are now
Got fatal error during xfer (No files dumped for share /etc/named/)
Backup aborted (No files dumped for share /etc/named/)


I have created root ssh keys and added them to authorized_keys on the client.


We have a older 3.3 version that is running, but this is a new install on a new 
box.  I can't seem to find anything.  I think the host key verification is the 
clue.  Should i be able to login into the client from the server as backuppc?  
Currently no passwd is set on that account so i can't ssh to the client and 
accept the figure print.

Thanks for any help or leads

David Hoskinson
Systems Administrator
Ext 226


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: 
https://backuppc.github.io/backuppc/<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fbackuppc.github.io%2fbackuppc%2f=E,1,tlGEO_RyljuRR0CQDOb1C1IjG1cEzsEg5ljPxbHjK_1kESksKxoKWshZVvwtaxWX-SMc81OjsVnWtaAXH7V9nFYftZiFCi6sbL-gGqYpxZw0zGM,=1>




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

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread Greg Harris
David,

The backuppc user generally doesn’t have shell access.  You should be able to 
use something like:

su -s /bin/bash backuppc
ssh-copy-id -i .ssh/id_rsa.pub ‘r...@client.to<mailto:r...@client.to>.backup'
exit
On the server, you can add shell access to the backuppc user with:

usermod -s /bin/bash backuppc

Thanks,

Greg Harris

On Oct 1, 2020, at 12:00 PM, David Hoskinson 
mailto:david.hoskin...@astroshapes.com>> wrote:

Hello all

I am doing a new install of BackupPC 4.4.0 and am having issues with my first 
backup


XferLOG file /backup/astrobackup//pc/namesvr1/XferLOG.0.z created 2020-10-01 
11:45:54
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/bin/rsync_bpc --bpc-top-dir /backup/astrobackup/ --bpc-host-name 
namesvr1 --bpc-share-name /etc/named/ --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-log-level 6 --bpc-attrib-new -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/rsync --numeric-ids --perms --owner --group -D --links 
--hard-links --times --block-size=2048 --recursive --checksum --timeout=72000 
namesvr1:/etc/named/ /
full backup started for directory /etc/named/
Xfer PIDs are now 2766
This is the rsync child about to exec /usr/bin/rsync_bpc
bpc_path_create(/backup/astrobackup//pc/namesvr1/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
Host key verification failed.
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
Parsing done: nFilesTotal = 0
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.0]
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(226) [Receiver=3.1.2.0])
Xfer PIDs are now
Got fatal error during xfer (No files dumped for share /etc/named/)
Backup aborted (No files dumped for share /etc/named/)


I have created root ssh keys and added them to authorized_keys on the client.


We have a older 3.3 version that is running, but this is a new install on a new 
box.  I can't seem to find anything.  I think the host key verification is the 
clue.  Should i be able to login into the client from the server as backuppc?  
Currently no passwd is set on that account so i can't ssh to the client and 
accept the figure print.

Thanks for any help or leads

David Hoskinson
Systems Administrator
Ext 226


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


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


Re: [BackupPC-users] Thank you far an easier installation

2020-06-02 Thread Greg Harris
And many thanks to you!  I tried CentOS 8 six-ish months too earlier.  All’s 
well that ends well, though right?  Thanks Richard!

Thanks,

Greg Harris

On Jun 2, 2020, at 4:21 PM, Richard Shaw 
mailto:hobbes1...@gmail.com>> wrote:

On Tue, Jun 2, 2020 at 1:14 PM Bob Wooden 
mailto:b...@donelsontrophy.com>> wrote:
For those of you who may not be aware of this.

In the process of building a replacement machine (hardware update) I
have discovered that CentOS 8, the EPEL repo offers BackupPC 4.3.2. (The
CentOS 7 EPEL repo offers BackupPC 3.3.2.)

After years of building from source, building *.deb packages and various
other build processes, one of the Linux distros has "caught up" to a
current version of BackupPC (4.3.2) in one of their repos.

As the matinainer of BackupPC on Fedora/EPEL thanks! (and you even get to keep 
selinux on!)

The decision to not update EL 7 was intentional as there were some non-backward 
compatible changes that necessitate manual involvement. I didn't want to auto 
update the 10s of thousands of systems and deal will the fall out. I do however 
provide 4.X for EL 6 & 7 via my COPR:

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

The EL7 repo file has nearly 50,000 downloads.

Thanks,
Richard
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

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


Re: [BackupPC-users] how to install SCGI , exactly??

2020-05-22 Thread Greg Harris
Or better yet, use CentOS 7 and that packaging. I can’t get to that RPM link at 
this moment. I’m sure someone else has that link available quickly. 

Thanks,

Greg Harris

> On May 22, 2020, at 12:33 PM, Doug Lytle  wrote:
> 
> 
>> 
>>>> BackupPC is installed on an Ubuntu 18.04.4 system..
> 
> You won't want to be using BackupPC from Ubuntu 18.04's PPA, it's only 
> version 3.3.1.  BackupPC is currently at 4.3.2
> 
> My suggestion would be to install it from tarball.  I've found the below 
> instructions
> 
> https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu
> 
> I could not find a PPA for BackupPC 4.3.2
> 
> Doug
> 
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
> 

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


Re: [BackupPC-users] CGI Script Fails to Run But Actual Text of Script Displays Instead

2020-04-26 Thread Greg Harris
Apache is not reading the .php files as php, but text.

Thanks,

Greg Harris

On Apr 26, 2020, at 8:22 PM, Akibu Flash  wrote:


I am running an Arch Linux server (5.6.6) for the purpose of backing up several 
Windows 10 machines on a home local area  network.  I have installed the 
package distribution and also Apache with mod_perl support.  Backuppc along 
with Apache are listed as running when I check systemctl status for each.  From 
one of the Windows 10 machines on the network, I am able to access the BackupPC 
server by typing in the backuppc server address appended with /BackupPC_Admin.  
However, I seem to only get the actual text of the script rather than the 
script running.  Any guidance on what I am doing wrong.  I have followed 
https://wiki.archlinux.org/index.php/BackupPC to the letter.  Particularly, I 
have followed the below section regarding single purpose Apache:

Apache configuration

BackupPC has a web interface that allows you to easily control it. You can 
access it using Apache and mod_perl or a C wrapper but other webservers like 
lighttpd<https://www.archlinux.org/packages/?name=lighttpd> works too. Install 
apache<https://www.archlinux.org/packages/?name=apache> from the official 
repositories.

Edit Apache configuration

BackupPC's web UI needs to run as the user backuppc, but Apache normally runs 
under the user http. There are several ways to fix this. The two demonstrated 
here are common for single-purpose servers (Apache is only used to serve the 
BackupPC UI) or for multi-purpose servers (Apache may also server other 
websites under the regular http user).

Setting up Apache for single-purpose use is a bit easier but not as flexible.

General settings

Edit /etc/backuppc/config.pl. Set administrator name:

$Conf{CgiAdminUsers} = 'admin';


Next, we need to add a users file and set the admin password:

# htpasswd -c /etc/backuppc/backuppc.users admin


The BackupPC-Webfrontend is initially configured so that you can only access it 
from the localhost. If you want to access it from all machines in your network, 
you have to edit /etc/httpd/conf/extra/backuppc.conf. Edit the line:

Require ip 127.0.0.1


to:

Require ip 127.0.0.1 192.168.0


where you have to replace 192.168.0 to your corresponding IP-Adresses you want 
to gain access from. After one of the configuration steps below has also been 
performed, [re]start the Apache service.

Single-purpose Apache settings

Install<https://wiki.archlinux.org/index.php/Install> 
mod_perl<https://aur.archlinux.org/packages/mod_perl/>AUR from the official 
repositories<https://wiki.archlinux.org/index.php/Official_repositories>.

Edit the Apache configuration file to load mod_perl, tell Apache to run as user 
backuppc and to include /etc/httpd/conf/extra/backuppc.conf:

/etc/httpd/conf/httpd.conf

 LoadModule perl_module modules/mod_perl.so
 User backuppc
 Group backuppc
 Include conf/extra/backuppc.conf

I assume that it is a simple fix but don't quite know where to begin.  Any 
assistance is appreciated.  Thanks.

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


Re: [BackupPC-users] Getting rsync excludes right...

2020-04-23 Thread Greg Harris
Then you need both.


$Conf{BackupFilesExclude} = {
  '*' => [
'*/Trash’,  //Visible subdirectories
‘*/.Trash’,  //Need to add to get rid of hidden subdirectory occurrences
'/.cache',
'/.Trash*’  //Hidden subdirectory occurrence
  ]
};

Thanks,

Greg Harris

On Apr 23, 2020, at 11:46 AM, Richard Shaw 
mailto:hobbes1...@gmail.com>> wrote:

On Thu, Apr 23, 2020 at 10:32 AM Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:
There’s no dot on the first one.

That's another form I found when browsing through a backup.

Thanks,
Richard
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

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


Re: [BackupPC-users] Getting rsync excludes right...

2020-04-23 Thread Greg Harris
There’s no dot on the first one.

Thanks,

Greg Harris

On Apr 23, 2020, at 11:27 AM, Richard Shaw 
mailto:hobbes1...@gmail.com>> wrote:

I tried to upgrade my CentOS 7 box to CentOS 8 (through reinstall and 
preserving of /etc) but it went sideways and I lost everything so I had to 
setup BackupPC from scratch.

Getting the rsync excludes right has always been a problem for me. I'm not 
volunteering to start it but (I've got WAY too much going on in my life right 
now) but a Wiki or something with BackupPC recipes and best practices would be 
great!

Here's my current default exclude as I mostly backup home directories:

$Conf{BackupFilesExclude} = {
  '*' => [
'*/Trash',
'/.cache',
'/.Trash*'
  ]
};

My share is "/var/lib/pictures"

So my thought was the * should match all shares and the "/.Trash*" should match 
trash files in the root of the share but I just did a full backup and two are 
still there.

Advice?

Thanks,
Richard
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

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


Re: [BackupPC-users] Using a jump host to backup via rsync over SSH

2020-04-21 Thread Greg Harris
You seem to have a pretty good handle on stuff, but you aren’t suffering from 
CentOS’ silent killer are you?  SELinux?

Thanks,

Greg Harris

On Apr 21, 2020, at 8:10 AM, Falko Trojahn via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>>
 wrote:

Hi Pim,

using jumphost here for backing up a remote host and it's VMs without any 
problems. What BackupPC version do you use?
I am using BackupPC 4.3.1-3 from the yum repository for CentOS 7. Very good to 
hear that you got it working on your installation.

ok, so I'll try it on an 4.3.2 installation, too, and give you some information 
if it works there.

Greetings,
Falko


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

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


Re: [BackupPC-users] Freenas - HELP NEEDED

2020-03-19 Thread Greg Harris
I haven’t started down that road yet, but I was leaning towards XigmaNAS over 
FreeNAS.

https://www.xigmanas.com

At this point though, it looks like it’s probably a “convert the plugin” type 
of situation.

Thanks,

Greg Harris

On Mar 19, 2020, at 11:38 AM, Brad Alexander 
mailto:stor...@gmail.com>> wrote:

I haven't followed any of these, but:

https://www.ixsystems.com/community/threads/quickstart-guide-for-backuppc-4-in-a-jail-on-freenas.74080/

I haven't yet set it up, but it is on the todo list. I am currently running 3.3.



On Thu, Mar 19, 2020 at 9:32 AM Robert Kiss 
mailto:bobkiss...@gmail.com>> wrote:
Hi,

I just installed the BackuPC plugin for FreeNAS and I am stuck.
I have no idea how to access the Web GUI and the documentation is just too hard 
for me to swallow.
Is there a step-by-step instruction how to get the Web GUI to work?

Thanks.

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

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


Re: [BackupPC-users] BackupPC opinion

2020-01-17 Thread Greg Harris
I’ve seen the suggestion of the idea that an off-site backup utilize the 
“Archive” function to mitigate such a failure.

Thanks,

Greg Harris

On Jan 17, 2020, at 10:48 AM, Gandalf Corvotempesta 
mailto:gandalf.corvotempe...@gmail.com>> wrote:

Just a useless email but.. BackupPC is *BY FAR* the best backup software
ever made.

I'm using it with success (but with some issues) on a very old and slow server
and, starting from 2 weeks ago, even on a brand new and much faster server.

Absolutely superb.

Maybe I have just one little complain: what happens in case of
disaster on backuppc server?
I won't be able to manually recover a file, right ? rsnapshot is
better in this specific task, as
it will save the verbatim file as coming frm the remote server.
Any disaster recovery procedure available with BackupPC ? A sort of
"TOC" like in cdrom
saying which file is where without having to restore the whole pool ?


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

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


Re: [BackupPC-users] Win10 rsync and shadow

2020-01-13 Thread Greg Harris
Extraordinarily useful!  I’ll give it a spin and see what I can break, er, um, 
fix!  Thanks all!

Thanks,

Greg Harris

On Jan 13, 2020, at 4:42 AM, Daniel Berteaud 
mailto:dan...@firewall-services.com>> wrote:



- Le 12 Jan 20, à 0:14, Michael Stowe 
mailto:michael.st...@member.mensa.org>> a écrit 
:

On 2020-01-09 12:23, Greg Harris wrote:

Anyone tried enabling the in-built Win10 SSH server and then using straight 
rsync, not rsyncd, with cygwin-rsync client?

Additionally, and maybe I should create a separate thread, but does the 
cygwin-rsync client that's bundled on the GitHub page use the shadow volume?  I 
can't see anywhere that it discusses this, nor find any forum posts.  However, 
this forum post says there are at least two solutions for doing shadow copies 
with rsync:

https://sourceforge.net/p/backuppc/mailman/message/36519429/<https://u2182357.ct.sendgrid.net/wf/click?upn=rBK8reUlX8Sxr7Iz1fV-2F7YQ8BYSHbrWZS1jKQzKBLmHDvD-2BcaXOPRSW8DuNIHKGhDNdyUJdGmEZGMgRHKaX7P1K7kmZ1gTYsRz7rQadIHYI-3D_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91C9VErJ0fkm9L7N1YEY7J0k6aPdAmMs-2BUPmYfHrUS-2BlNGF2-2B-2Bjsg0MpoOjaNdyNexmche5RLR2g94Z5b-2FiwuldbCH5OCZR0Os-2B0E01CPwXp3bdBoM2ptr4QH8NAxvo6adkVbEoHUAKboAHCCvuFjvzC-2BJgw5HSFku9S1b0ofdK5eXLc1XEdceiqbpealdu3-2BRbeBJr9ovw42-2F0a2d2-2Bi7uhA-3D-3D>

Yet, searching around, I've only been able to find:

https://www.michaelstowe.com/backuppc/<https://u2182357.ct.sendgrid.net/wf/click?upn=rBK8reUlX8Sxr7Iz1fV-2F7Zaxtwab-2FG40JLJH69HA23Ye53aTPmpurGS-2FLnwtQoz5_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91C9VErJ0fkm9L7N1YEY7J0k4BxpvT-2BOvk3IjoUqhQ8jDF-2FE9nj4OCuhhb9No1f8TQctBDSZ6BaHSqje6kX3UdYOrXhDFt-2FJI-2BW8P9rmJEM9nhWqT0EHtTrygEYDAZr-2B0a9FaejogzoMSH904U-2B1-2BeH5qS3rUAqAQV9B5vBDTTVGRyzfOXqtE-2B7f5v93Cg8QLaGh7LlpOXCmHlKDwC-2FN-2BhJVA-3D-3D>

Thoughts?  Ideas?  Tomatoes?

Thanks,

Greg Harris

It has been a while since I tried it, but last time I did, I had trouble with 
permissions (i.e., there were many files that it simply did not allow reading) 
and with shadow volumes -- there's a bit of a Catch-22 where the shadow volume 
is unusable unless it's created before the ssh service is started, which kind 
of defeats the point of using it to control the shadow volume.

To work with transient shadow volume, I created a simple rsync wrapper. It uses 
Michael Stowe scripts (https://www.michaelstowe.com/backuppc/ with some slight 
modifications). I'm not using it with the native Win10 SSH Server, but with 
OpenSSH port (https://github.com/PowerShell/Win32-OpenSSH)
So yes, I use straight rsync over ssh to backup Windows hosts, with VSS 
support. The wrapper script makes it simple to use, with any pre/post backup 
action, and without the hassle of persistent shadow management.

My script is 
https://git.fws.fr/fws/wapt-backuppc-agent/src/branch/master/rsync.cmd

Cheers,
Daniel

--

[X]<https://www.firewall-services.com/>


Daniel Berteaud
FIREWALL-SERVICES SAS, La sécurité des réseaux
Société de Services en Logiciels Libres
Tél : +33.5 56 64 15 32
Matrix: @dani:fws.fr<http://fws.fr/>
https://www.firewall-services.com<https://www.firewall-services.com/>

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

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


[BackupPC-users] Win10 rsync and shadow

2020-01-09 Thread Greg Harris
Anyone tried enabling the in-built Win10 SSH server and then using straight 
rsync, not rsyncd, with cygwin-rsync client?

Additionally, and maybe I should create a separate thread, but does the 
cygwin-rsync client that’s bundled on the GitHub page use the shadow volume?  I 
can’t see anywhere that it discusses this, nor find any forum posts.  However, 
this forum post says there are at least two solutions for doing shadow copies 
with rsync:

https://sourceforge.net/p/backuppc/mailman/message/36519429/

Yet, searching around, I’ve only been able to find:

https://www.michaelstowe.com/backuppc/

Thoughts?  Ideas?  Tomatoes?

Thanks,

Greg Harris

___
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] Centos 7, BPC4, rsync & /sbin/nologin

2020-01-03 Thread Greg Harris
I’m doing something basic wrong and cannot find it.  Using Centos 7, BPC4, 
rsync & /sbin/nologin, the clients time out.  I can do key based ssh from su -s 
/bin/bash backuppc and everything works fine.  However the GUI is timing out 
with no reply, presumably because there is no shell.  I’ve read all the forum 
posts on this and am missing something, presumably very small.  What do I need 
to put where in order to get the backuppc user to have a shell only for 
execution?

Thanks,

Greg Harris

___
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] Pool storage for BackupPC on a virtual machine

2019-12-19 Thread Greg Harris
Horsepower and redundancy.  I’ve got more horsepower available on the “big 
iron” than the data pool hardware.  Additionally, by creating a snapshot of the 
VM on the data pool, then I’ve got a backup of the VM on separate hardware.

Thanks,

Greg Harris

On Dec 18, 2019, at 11:07 AM, Ray Frush 
mailto:fr...@rams.colostate.edu>> wrote:


The reason we didn’t do that (put the VM disk images on the external storage) 
was more related to the complexity (breaking our design rules) of presenting 
another storage pool to our VM environment from the external storage.   That 
being said, without our design rules in place, we could have presented a 
storage pool from the external storage to our VM infrastructure and done 
exactly as you propose.

The rationale for us is that the storage that hosts our VM disk images is quite 
robust (dual controllers), and we choose not to use our external storage (which 
doesn’t have the same dual controller redundancy)  for running VM disk images 
so that if we need to take it off line for patching, there’s zero impact.


On Dec 18, 2019, at 02:08, orsomannaro 
mailto:orsomann...@gmail.com>> wrote:

On 16/12/19 16:54, Ray Frush wrote:
I run BackupPC as a VM in my environment which backs up all of the other
8<

Exactly the same configuration for me, now.

But I'm asking myself: why don't put the entire VM in the external storage?


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



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

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


Re: [BackupPC-users] Par2cmdline and the RH family

2019-11-22 Thread Greg Harris
Okay, digging a little deeper, it seems that par2cmdline development has 
stalled with some seemingly large-ish bugs.

https://github.com/Parchive/par2cmdline/issues/138

Is BackupPC moving away from par2 and on to something else?  I have a feeling 
that RH won’t be too eager to include the current par2 package in their repos.

Thanks,

Greg Harris

On Nov 19, 2019, at 12:17 PM, Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:

It seems like the newest releases in the RedHat family don’t have the 
par2cmdline in the repos.  It seems like it’s stopped at EPEL 7 and Fedora 31, 
where EPEL 8 and Fedora 32 are current. This is despite the fact that BackupPC 
does appear in the EPEL 8 repo.  It’s also listing as missing:

perl(Net::FTP::AutoReconnect)
perl(Net::FTP::RetrHandle)
perl(XML::RSS)

I’ve got a feeling those are probably more “findable”, but without par2cmdline, 
it seems a bit useless.

Thanks,

Greg Harris


___
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] Par2cmdline and the RH family

2019-11-19 Thread Greg Harris
It seems like the newest releases in the RedHat family don’t have the 
par2cmdline in the repos.  It seems like it’s stopped at EPEL 7 and Fedora 31, 
where EPEL 8 and Fedora 32 are current. This is despite the fact that BackupPC 
does appear in the EPEL 8 repo.  It’s also listing as missing:

perl(Net::FTP::AutoReconnect)
perl(Net::FTP::RetrHandle)
perl(XML::RSS)

I’ve got a feeling those are probably more “findable”, but without par2cmdline, 
it seems a bit useless.

Thanks,

Greg Harris

___
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 Server Hardware

2019-11-01 Thread Greg Harris
Cloud is out and we are looking at purchasing new equipment.

Thanks,

Greg Harris

On Nov 1, 2019, at 10:39 AM, Jamie Burchell mailto:ja...@ib3.uk>> 
wrote:

I’m using a low spec DigitalOcean droplet. You get a certain amount of 
redundancy out of the box using virtualized servers in a datacentre rather than 
a dusty old PC in a corner somewhere. It’s backed by SSD RAID and a large block 
storage volume.


From: Greg Harris 
[mailto:ghar...@teamexpansion.org<mailto:ghar...@teamexpansion.org>]
Sent: 01 November 2019 14:17
To: General list for user discussion, questions and support 
mailto:backuppc-users@lists.sourceforge.net>>
Subject: [BackupPC-users] Backup Server Hardware

How spec’d out do you make your backup server machines, as in the ones running 
your backup software to backup the production servers?  Are they barely above 
desktop class?  Software RAID or still require hardware RAID?  Still SAS drives 
or do you go SATA and expect to replace them?  Hot swappable or do you just 
expect to take down the machine?  Dual power supplies or just a single as its 
the backup server?

Thanks,

Greg Harris

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

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


[BackupPC-users] Backup Server Hardware

2019-11-01 Thread Greg Harris
How spec’d out do you make your backup server machines, as in the ones running 
your backup software to backup the production servers?  Are they barely above 
desktop class?  Software RAID or still require hardware RAID?  Still SAS drives 
or do you go SATA and expect to replace them?  Hot swappable or do you just 
expect to take down the machine?  Dual power supplies or just a single as its 
the backup server?

Thanks,

Greg Harris

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


Re: [BackupPC-users] smbclient gets NT_STATUS_ACCESS_DENIED

2019-08-29 Thread Greg Harris
I know CentOS 5 can’t talk to Win10 over SMB because it doesn’t have a new 
enough version of SMB. CentOS 7 can. I think that 6 was in the same camp as 5 
unfortunately. 

Thanks,

Greg Harris

> On Aug 29, 2019, at 4:20 PM, Bob McClure Jr  wrote:
> 
> I'm at wit's end -- a short trip.  I have a very simple setup of a
> Linux server (CentOS 6) running BackupPC to back up a Win 10 Pro
> machine.  BackupPC is BackupPC-3.3.1-5.el6.x86_64 from the EPEL repo.
> On the Win 10 box, I created a normal user "backuppc" with a password,
> and then put him in the local "Backup Operators" group.  I'm using SMB
> for the backup method.
> 
> # smbclient '//nate/C$' -U backuppc -c pwd
> Enter backuppc's password: 
> Domain=[NATE] OS=[Windows 10 Pro 18362] Server=[Windows 10 Pro 6.3]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> 
> And of course, the backups fail.  I've done a Web search from the Win
> 10 aspect, the samba aspect, and the BackupPC aspect, and have come up
> dry.
> 
> Here is the hosts file:
> 
> hostdhcpusermoreUsers
> nate0   bob
> 
> and the config.pl file:
> 
> $Conf{ServerHost} = 'yak';
> $Conf{ServerPort} = '-1';
> $Conf{ServerMesgSecret} = '';
> $Conf{MyPath} = '/bin';
> $Conf{UmaskMode} = '23';
> $Conf{WakeupSchedule} = [
>  '1',
>  '2',
>  '3',
>  '4',
>  '5',
>  '6',
>  '7',
>  '8',
>  '9',
>  '10',
>  '11',
>  '12',
>  '13',
>  '14',
>  '15',
>  '16',
>  '17',
>  '18',
>  '19',
>  '20',
>  '21',
>  '22',
>  '23'
> ];
> $Conf{MaxBackups} = '4';
> $Conf{MaxUserBackups} = '4';
> $Conf{MaxPendingCmds} = '15';
> $Conf{CmdQueueNice} = '10';
> $Conf{MaxBackupPCNightlyJobs} = '2';
> $Conf{BackupPCNightlyPeriod} = '1';
> $Conf{MaxOldLogFiles} = '14';
> $Conf{DfPath} = '/bin/df';
> $Conf{DfCmd} = '$dfPath $topDir';
> $Conf{SplitPath} = '/usr/bin/split';
> $Conf{ParPath} = undef;
> $Conf{CatPath} = '/bin/cat';
> $Conf{GzipPath} = '/usr/bin/gzip';
> $Conf{Bzip2Path} = '/usr/bin/bzip2';
> $Conf{DfMaxUsagePct} = '95';
> $Conf{TrashCleanSleepSec} = '300';
> $Conf{DHCPAddressRanges} = [];
> $Conf{BackupPCUser} = 'backuppc';
> $Conf{TopDir} = '/var/lib/BackupPC/';
> $Conf{ConfDir} = '/etc/BackupPC/';
> $Conf{LogDir} = '/var/log/BackupPC';
> $Conf{InstallDir} = '/usr/share/BackupPC';
> $Conf{CgiDir} = '/usr/share/BackupPC/sbin/';
> $Conf{BackupPCUserVerify} = '1';
> $Conf{HardLinkMax} = '31999';
> $Conf{PerlModuleLoad} = undef;
> $Conf{ServerInitdPath} = undef;
> $Conf{ServerInitdStartCmd} = '';
> $Conf{FullPeriod} = '6.97';
> $Conf{IncrPeriod} = '0.97';
> $Conf{FullKeepCnt} = [
>  '4',
>  '0',
>  '4',
>  '0',
>  '2'
> ];
> $Conf{FullKeepCntMin} = '1';
> $Conf{FullAgeMax} = '90';
> $Conf{IncrKeepCnt} = '6';
> $Conf{IncrKeepCntMin} = '1';
> $Conf{IncrAgeMax} = '30';
> $Conf{IncrLevels} = [
>  '1'
> ];
> $Conf{BackupsDisable} = '0';
> $Conf{PartialAgeMax} = '3';
> $Conf{IncrFill} = '0';
> $Conf{RestoreInfoKeepCnt} = '10';
> $Conf{ArchiveInfoKeepCnt} = '10';
> $Conf{BackupFilesOnly} = {};
> $Conf{BackupFilesExclude} = {};
> $Conf{BlackoutBadPingLimit} = '3';
> $Conf{BlackoutGoodCnt} = '7';
> $Conf{BlackoutPeriods} = [
>  {
>'hourEnd' => '19.5',
>'weekDays' => [
>  '1',
>  '2',
>  '3',
>  '4',
>  '5'
>],
>'hourBegin' => '7'
>  }
> ];
> $Conf{BackupZeroFilesIsFatal} = '1';
> $Conf{XferMethod} = 'smb';
> $Conf{XferLogLevel} = '1';
> $Conf{ClientCharset} = '';
> $Conf{ClientCharsetLegacy} = 'iso-8859-1';
> $Conf{SmbShareName} = [
>  'C$'
> ];
> $Conf{SmbShareUserName} = 'backuppc';
> $Conf{SmbSharePasswd} = '(redacted)';
> $Conf{SmbClientPath} = '/usr/bin/smbclient';
> $Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option -U 
> $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';
> $Conf{SmbClientIncrCmd} = '$smbClientPath $host\\$shareName $I_option -U 
> $userName -E -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
> $Conf{SmbClientRestoreCmd} = '$smbClientPath $host\\$shareName $I_option 
> -U $userName -E -d 1 -c tarmode\\ full -Tx -';
> $Conf{TarShareName} = [
>  '/'
> ];
> $Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C $tarPath 
> -c -v -f - -C $shareName+ --totals';
> $Conf{TarFullArgs} = '$fileList+';
> $Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
> $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C 
> $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
> $Conf{TarClientPath} = '/bin/gtar';
> $Conf{RsyncClientPath} = '/usr/bin/rsync';
> $Conf{RsyncClientCmd

Re: [BackupPC-users] Apache problem, i guess

2019-07-18 Thread Greg Harris
Oh, and look for SELinux errors since that isn't the default /var/www/html dir.

Thanks,

Greg Harris

On Jul 18, 2019, at 3:20 PM, Greg Harris 
mailto:ghar...@teamexpansion.org>> wrote:

Check permissions on the folder
/usr/share/BackupPC/html/

I think it’s supposed to be owner: group of apache:apache, but it might be 
backuppc:backuppc instead.

Thanks,

Greg Harris

On Jul 18, 2019, at 2:19 PM, Kris Lou via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>>
 wrote:

Also Centos 7, just upgraded to 4.3.1 via the hobbes1069 copr repo.

Here's your problem:

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

My apache config script aliases look like this:

   Alias   /BackupPC/images/usr/share/BackupPC/html/
   ScriptAlias /BackupPC   /usr/libexec/BackupPC/BackupPC_Admin
   ScriptAlias //usr/libexec/BackupPC/BackupPC_Admin

I added the last one so that the webroot also points directly to 
~/BackupPC_Admin.

Alter the targets to match your environment, obviously.

Kris Lou
k...@themusiclink.net<mailto:k...@themusiclink.net>


On Thu, Jul 18, 2019 at 11:00 AM Jean-Marc 
mailto:doc@orange.fr>> wrote:
Hi,

I have set up a centos + backuppc.

To keep things easy, i have done a yum install backuppc, then upgraded
to latest version 4.3.1.

To keep it short, i can't reach the GUI through http://myip/backuppc nor
http://myip/BackupPC

Apache ask for auth, but send a 403 after

but http://myip/BackupPC_Admin  works fine ?!?!

can't find what's happening, probably a problem with backuppc.conf in
conf.d :




AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"


   # Apache 2.4
   
 Require valid-user
 
   Require ip 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0> 
127.0.0.1
 
   


   # Apache 2.2
   order deny,allow
   deny from all
   allow from 127.0.0.1
   allow from 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0>
   require valid-user




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

HTTPD Error log give me :

[autoindex:error] [pid 3734] [client 
192.168.1.13:53797<http://192.168.1.13:53797/>] AH01276: Cannot
serve directory /usr/share/BackupPC/html/: No matching DirectoryIndex
(index.html) found, and server-generated directory index forbidden by
Options directive

Thanks

Jean-Marc



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


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


Re: [BackupPC-users] Apache problem, i guess

2019-07-18 Thread Greg Harris
Check permissions on the folder
/usr/share/BackupPC/html/

I think it’s supposed to be owner: group of apache:apache, but it might be 
backuppc:backuppc instead.

Thanks,

Greg Harris

On Jul 18, 2019, at 2:19 PM, Kris Lou via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>>
 wrote:

Also Centos 7, just upgraded to 4.3.1 via the hobbes1069 copr repo.

Here's your problem:

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

My apache config script aliases look like this:

   Alias   /BackupPC/images/usr/share/BackupPC/html/
   ScriptAlias /BackupPC   /usr/libexec/BackupPC/BackupPC_Admin
   ScriptAlias //usr/libexec/BackupPC/BackupPC_Admin

I added the last one so that the webroot also points directly to 
~/BackupPC_Admin.

Alter the targets to match your environment, obviously.

Kris Lou
k...@themusiclink.net<mailto:k...@themusiclink.net>


On Thu, Jul 18, 2019 at 11:00 AM Jean-Marc 
mailto:doc@orange.fr>> wrote:
Hi,

I have set up a centos + backuppc.

To keep things easy, i have done a yum install backuppc, then upgraded
to latest version 4.3.1.

To keep it short, i can't reach the GUI through http://myip/backuppc nor
http://myip/BackupPC

Apache ask for auth, but send a 403 after

but http://myip/BackupPC_Admin  works fine ?!?!

can't find what's happening, probably a problem with backuppc.conf in
conf.d :




AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"


   # Apache 2.4
   
 Require valid-user
 
   Require ip 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0> 
127.0.0.1
 
   


   # Apache 2.2
   order deny,allow
   deny from all
   allow from 127.0.0.1
   allow from 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0>
   require valid-user




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

HTTPD Error log give me :

[autoindex:error] [pid 3734] [client 
192.168.1.13:53797<http://192.168.1.13:53797/>] AH01276: Cannot
serve directory /usr/share/BackupPC/html/: No matching DirectoryIndex
(index.html) found, and server-generated directory index forbidden by
Options directive

Thanks

Jean-Marc



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

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


Re: [BackupPC-users] Which file system for data pool?

2018-08-14 Thread Greg Harris
You are probably already aware of this, but an SSD’s life expectancy is based 
on the number of writes.  Therefore, utilizing an SSD as the cache drive and 
the OS drive might require some additional considerations over the long haul.

Thanks,

Greg Harris



On Aug 14, 2018, at 9:44 AM, Johan Ehnberg 
mailto:jo...@molnix.com>> wrote:


Regarding the location of the "pc" folder... I think I need to re-visit that 
since I created a symlink from /var/lib/BackupPC and moved the entire contents 
of that folder to my platters. It sounds like I need to undo that to keep the 
"pc" folder on the SSD. Would a better move be to create a symlink just to the 
"cpool" folder? ie:
ln -s /mnt/backup-volume/BackupPC/cpool /var/lib/BackupPC/cpool
and leave "pool" and "pc" on the SSD with the operating system?
Either way of linking works with the same results when the actual 'pc' folder 
is on SSD. However, I would keep both 'pool' and 'cpool' on the platters since 
they serve the same purpose (one when using compression, the other when not - 
usually only one of them is being used anyway).

Best regards,
Johan

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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] Win10 rsync

2017-12-07 Thread Greg Harris
On Dec 7, 2017, at 12:42 PM, Michael Stowe 
<michael.st...@member.mensa.org<mailto:michael.st...@member.mensa.org>> wrote:


On 2017-12-07 07:08, Greg Harris wrote:

With the release of WSL in Win10, I thought I’d utilize the functionality of 
WSL to get rsync up and running for backing up the client. However, as I’ve 
been working on getting it going, it seems like WSL is like using a jackhammer 
when you need a light ball peen hammer. From what I can tell, it’s a full 
Ubuntu install that then requires separate updates and permissions maintenance. 
Essentially, it seems that WSL is just a VM with some fancy integration for 
file and resource sharing. Anybody done this? Am I missing something and making 
it harder than it should be?

Thanks,

Greg Harris

It's not really a VM, per se — it's better to think of it as a sort of Cygwin 
but with the goal of running unmodified Linux binaries rather than providing 
GNU tools that work with Windows. On the plus side, this abstraction and ABI 
compatibility means that with WSL, you can copy over a binary from Ubuntu and 
it will run. On the minus side, this separates each WSL binary from Windows 
file semantics and baffles them with the simplest Windows filesystem 
interactions.

In short, it's probably a terrible choice for backing up Windows files, but 
it's probably a good choice if your goal is to back up WSL files.


Thanks for the confirmation Michael.  I think I’ll retreat back to the tried 
and true.

Thanks,

Greg Harris

--
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] Win10 rsync

2017-12-07 Thread Greg Harris
With the release of WSL in Win10, I thought I’d utilize the functionality of 
WSL to get rsync up and running for backing up the client.  However, as I’ve 
been working on getting it going, it seems like WSL is like using a jackhammer 
when you need a light ball peen hammer.  From what I can tell, it’s a full 
Ubuntu install that then requires separate updates and permissions maintenance. 
 Essentially, it seems that WSL  is just a VM with some fancy integration for 
file and resource sharing.  Anybody done this?  Am I missing something and 
making it harder than it should be?

Thanks,

Greg Harris

--
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] DumpPre/DumpPost scripting with $type incr

2017-08-04 Thread Greg Harris
I started down that road.  The main problem with that process is amount of 
extra space required on both the live machine and the backup.  Incremental 
recovery of multiple backups is already handled by BackupPC.

Thanks,

GH


From: Adam Goryachev <mailingli...@websitemanagers.com.au>
Organization: Website Managers
Reply-To: "General list for user discussion, questions and support" 
<backuppc-users@lists.sourceforge.net>
Date: Friday, August 4, 2017 at 11:33 AM
To: "backuppc-users@lists.sourceforge.net" 
<backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] DumpPre/DumpPost scripting with $type incr




On 5/8/17 00:39, Greg Harris wrote:
I’m having difficulty wrapping my brain around the DumpPre/DumpPost command on 
a backup.  I’ve got a database service that I need to shut down, run an 
incremental backup, then start the service again.  I’ve got it successfully 
SSH’ing in and shutting down the service, running the backup, and then 
restarting the service.  However, how do I use the $type incr command to 
specify only incremental backups?

Currently I have:
$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /root/serviceDown';
$Conf{DumpPostUserCmd} = '$sshPath -q -x -l root $host /root/serviceUp';

Problem #2:
I need the incremental to run after the full does, on the same day.  I don’t 
want the database service to be shut down for the length of time it takes to 
run a full backup, so do the full, then run a followup incremental that shuts 
down the service.  Additionally, I assume that if I do a full once a week that 
I need to keep 7 incrementals, rather than the previous 6, correct?


I would suggest that you instead use the prebackup script to:
1) shutdown the DB
2) copy the DB files to some other location
3) start the DB

Then, your incremental and full will both backup the DB, and the DB is only 
down for the minimum time required.
Alternate option, configure cron to  shutdown DB, do a local copy/backup, start 
DB. Then whatever time the backup runs, it will backup the latest copy.

Personally, I choose the second option, and keep two local copies of the DB to 
rotate, this way I have a very simple and quick copy to restore from if needed, 
plus the backuppc copies if I need something older/etc.

Regards,
Adam

--
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] DumpPre/DumpPost scripting with $type incr

2017-08-04 Thread Greg Harris
I’m having difficulty wrapping my brain around the DumpPre/DumpPost command on 
a backup.  I’ve got a database service that I need to shut down, run an 
incremental backup, then start the service again.  I’ve got it successfully 
SSH’ing in and shutting down the service, running the backup, and then 
restarting the service.  However, how do I use the $type incr command to 
specify only incremental backups?

Currently I have:
$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /root/serviceDown';
$Conf{DumpPostUserCmd} = '$sshPath -q -x -l root $host /root/serviceUp';

Problem #2:
I need the incremental to run after the full does, on the same day.  I don’t 
want the database service to be shut down for the length of time it takes to 
run a full backup, so do the full, then run a followup incremental that shuts 
down the service.  Additionally, I assume that if I do a full once a week that 
I need to keep 7 incrementals, rather than the previous 6, correct?

Thanks,

GH

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