Re: [BackupPC-devel] Git updates (tag renaming and rsync-bpc based on rsync 3.1.2)

2017-04-03 Thread Alexander Moisseev
On 03.04.2017 0:17, Craig Barratt wrote: > Yesterday I renamed all the tags in backuppc, backuppc-xs and rsync-bpc from > "vX_Y_Z" to "X.Y.Z" (eg, v4_1_1 -> 4.1.1). The reason from way back is that > CVS doesn't allow periods in tag names. > Craig, when I asked about changing tags format to "X

Re: [BackupPC-devel] BackupPC 4.1.0 released

2017-03-28 Thread Alexander Moisseev
On 28.03.2017 16:32, Richard Shaw wrote: > You need to run makeDist first to create a tarball release that includes an > updated configure.pl . After you unpack the tarball, > run configure.pl from > there. It is not possible to apply a source code patc

Re: [BackupPC-devel] BackupPC 4.1.0 released

2017-03-26 Thread Alexander Moisseev
On 3/26/17 6:30 PM, Richard Shaw wrote: > On Sun, Mar 26, 2017 at 10:08 AM, Alexander Moisseev <mailto:mois...@mezonplus.ru>> wrote: > > But you have specified --config-dir instead of --config-path . > > Probably https://github.com/backuppc/backuppc/pull/7

Re: [BackupPC-devel] BackupPC 4.1.0 released

2017-03-26 Thread Alexander Moisseev
On 3/26/17 5:20 PM, Richard Shaw wrote: > On Sun, Mar 26, 2017 at 12:19 AM, Craig Barratt > mailto:cbarr...@users.sourceforge.net>> > wrote: > > In looking a the code, if config-path is specified then any current > config file is ignored. > > If you specify dest-dir then all of the out

Re: [BackupPC-devel] BackupPC 4.1.0 released

2017-03-25 Thread Alexander Moisseev
On 3/25/17 4:06 PM, Richard Shaw wrote: > Craig, > > Thanks for the new release! I'm working on updating the Fedora package now. > > One question though... How hard would it be to add a "--ignore-install" > option? > > I've been trying to test my package on my desktop but I also build the > pa

Re: [BackupPC-devel] IPv6 support?

2017-03-13 Thread Alexander Moisseev
On 3/13/17 7:23 PM, Fritz Elfert wrote: > AFAIK, backup data v3 is incompatible with backup data v4 and there's > now way to properly upgrade existing backup data. So a dnf update would > make all existing backup data inacessible all of a sudden which would > probably piss of many existing users. A

Re: [BackupPC-devel] IPv6 support?

2017-03-13 Thread Alexander Moisseev
On 13.03.2017 16:49, Richard Shaw wrote: > I just took over maintenance of the BackupPC package for Fedora and EPEL and > I'm working on updating the package to version 4. > > There are several patches which I should probably share here to see if they > are necessary or if some form of them can

Re: [BackupPC-devel] Git branching

2016-08-02 Thread Alexander Moisseev
On 02.08.16 10:21, Lars Tobias Skjong-Børsting wrote: > It seems we are not going to get the v4 CVS tree anytime soon. Should we > make a plan to carry on forward with what we have already? > It looks like Craig have converted (or started converting by hand release code to source) and started com

Re: [BackupPC-devel] Git branching

2016-05-19 Thread Alexander Moisseev
On 19.05.16 12:52, Lars Tobias Skjong-Børsting wrote: > On 19/05/16 11:34, Alexander Moisseev wrote: > >> IMHO yes, but I'd stop making any changes until we get feedback from Craig >> and interested contributors and come to some decision. > > Do I understand you corr

Re: [BackupPC-devel] Git branching

2016-05-19 Thread Alexander Moisseev
On 19.05.16 11:30, Lars Tobias Skjong-Børsting wrote: > On 19/05/16 10:04, Alexander Moisseev wrote: >> On 19.05.16 10:31, Lars Tobias Skjong-Børsting wrote: >>> >>> I'll branch out 3.x, then, and merge in 4.x to master. >>> >> Do you really think it

Re: [BackupPC-devel] Git branching

2016-05-19 Thread Alexander Moisseev
On 19.05.16 10:31, Lars Tobias Skjong-Børsting wrote: > > I'll branch out 3.x, then, and merge in 4.x to master. > Do you really think it was a good idea to merge in the `master` v3 CVS with v4 release tarball (which in not "real" source code)? ---

Re: [BackupPC-devel] Git branching

2016-05-18 Thread Alexander Moisseev
On 19.05.16 9:32, Craig Barratt wrote: > Agreed; I misunderstood the setup. > > However, I'd prefer 4.x to be the master branch, since that will have the > most development going forward. Totally agreed. Is there 4.x CVS code anywhere? Would you provide access to it for @larstobi so he could imp

[BackupPC-devel] Git branching

2016-05-18 Thread Alexander Moisseev
On 18.05.16 21:03, David Cramblett wrote: > > That looks like 3.x, while rsync-bpc and backuppc-xs are 4.x. Maybe we > should have backuppc3 for 3.x, and backuppc is 4.x? > No, it will break workflow. We definitely should keep both as branches of the same project backuppc/backuppc. IMHO we shoul

Re: [BackupPC-devel] BackupPC v3 and v4 Development

2016-01-07 Thread Alexander Moisseev
On 07.01.16 2:25, Adam Goryachev wrote: > > So, are you interested in developing/contributing? People on the list now and then are asking about repository where they could contribute. I believe a few people will be involved if such a repository will be created and maintained. I am maintaining sy

[BackupPC-devel] [patch] Fix backup expire to prevent backups loss

2015-05-07 Thread Alexander Moisseev
Proposed patch fixes full backup expire exponential algorithm. Current algorithm has issues with backups loss after modifying configuration settings or making manual backups. Short explanation is here: https://gist.github.com/moisseev/d5a8a499a7b69b1f0428#comment-1442896 patches: v4 https://gi

Re: [BackupPC-devel] BackupPC 3.3.1 released

2015-05-03 Thread Alexander Moisseev
20.01.2015 5:38, Craig Barratt пишет: > The deprecated defined(@Backups) is already fixed in 3.3.1 It is mentioned in ChangeLog but not fixed in 3.3.1 actually. -- Alexander -- One dashboard for servers and applications

Re: [BackupPC-devel] Status Result codes for direct restore

2015-04-30 Thread Alexander Moisseev
30.04.2015 15:02, Henrik Genssen пишет: > I would expect a 404, as the content I requested was not found. > The content of the resulting HTML page is fine and any browser would show it > up even on a 404 state. > Quick patch is here: https://gist.github.com/moisseev/f27aaa9a771b3d66830e The patc

Re: [BackupPC-devel] Status Result codes for direct restore

2015-04-29 Thread Alexander Moisseev
29.04.2015 18:26, Henrik Genssen пишет: > If I now write a script constructing the URLs for my missing files to > download them from a backup, this works of course, too :-) > But if the file does not exist in the given backup, I get a HTTP Result code > of 200 with a HTML Page telling me, that t

Re: [BackupPC-devel] BackupPC 3.3.1 released

2015-01-19 Thread Alexander Moisseev
> I'll likely add your cgi-file-size patch to 4.0.0, without adding another > configuration option. I think it would be better if user could choose at least between two formats: with SI prefixes (shorter human readable form) and with a thousand separator (more visual representation - easier

Re: [BackupPC-devel] BackupPC 3.3.1 released

2015-01-18 Thread Alexander Moisseev
Cgaig, would you take a look at those patches: BackupPC v3 https://github.com/moisseev/BackupPC/commits/master-v3 BackupPC v4 https://github.com/moisseev/BackupPC/commits/master-v4 Add $Conf{CgiDateFormatMMDD} that allows set file size format in the backup browse table. https://github.com/moiss

Re: [BackupPC-devel] Sourcetree

2014-12-14 Thread Alexander Moisseev
On 14.12.2014 3:13, François wrote: > I was considering to create a backuppc community on github (to provide > github.com/backuppc/ links rather than /fser/) > but I think we'll have time to figure it out if needed later. > > In any case, I don't intend to appropriate any code/pride/whatever fr

[BackupPC-devel] pod2man error with perl 5.18

2014-05-13 Thread Alexander Moisseev
The default in pod2man was changed to warn on formatting errors instead of silently sticking the errors into the generated POD documentation. An "=encoding" declaration is not optional any more if there are non-ASCII characters in the POD. How to reproduce: # perl -v This is perl 5, version 18

Re: [BackupPC-devel] Feature request(v3, v4). Add non fatal errors notifications to BackupPC_sendEmail.

2014-01-11 Thread Alexander Moisseev
10.01.2014 21:18, Les Mikesell пишет: > > It would be great as an option that you could specify somehow in the > hosts file to control whether a user gets email about results and at > what verbosity level. Some people even think they want email for > successful runs. > I agree with Les. Since Bac

[BackupPC-devel] Feature request(v3, v4). Add non fatal errors notifications to BackupPC_sendEmail.

2014-01-09 Thread Alexander Moisseev
In some cases nonfatal error may occurs during backup (e.g. xfer errors due to source host filesystem changes). Incomplete or inconsistent backup (even more regular inconsistent backups) requires user attention. Craig, would you add to BackupPC_sendEmail notification to users if host has recent

Re: [BackupPC-devel] [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate

2013-12-12 Thread Alexander Moisseev
10.12.2013 21:30, Tyler J. Wagner пишет: > On 2013-12-10 11:22, Alexander Moisseev wrote: >> By the way, you change the CF type of an RRA from AVERAGE in V3 to LAST in >> V4alpha3. >> I think that conversion of the CF type of RRA is very hard (or may be >> impossible).

Re: [BackupPC-devel] [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate

2013-12-10 Thread Alexander Moisseev
10.12.2013 12:09, Alexander Moisseev пишет: > 10.12.2013 11:53, Craig Barratt пишет: >> Alexander, >> >> Thanks for the patches. >> >> Also, I didn't merge in your code (rrd_2_v4.pl <http://rrd_2_v4.pl>) to >> upgrade any V3 rrd file. I wanted to

Re: [BackupPC-devel] [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate

2013-12-10 Thread Alexander Moisseev
> @@ -158,7 +158,7 @@ >if ( $_[0] =~ /^print\[([0-3])\] = "([.0-9]+)"$/ ) { >$poolMax[$1] = $2 unless ( $2 == 0 ); >} > -}); > +}, 0, undef); > >my $poolSizeGraph = [ >

Re: [BackupPC-devel] [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate

2013-12-10 Thread Alexander Moisseev
10.12.2013 11:53, Craig Barratt пишет: > Alexander, > > Thanks for the patches. > > Also, I didn't merge in your code (rrd_2_v4.pl ) to > upgrade any V3 rrd file. I wanted to do that without requiring the user to > install RRD::Simple. However, I couldn't see how to do the c

[BackupPC-devel] [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate

2013-12-09 Thread Alexander Moisseev
Switch to cmdSystemOrEvalLong from cmdSystemOrEval when getting stdout because sub cmdSystemOrEval merges stdout and stderr together. BackupPC_rrdUpdate creates broken images if HOME environment variable set to path non-readable by backuppc user (e.g. HOME=/root). BackupPC_rrdUpdate writes stder

[BackupPC-devel] [patch][4.0.0alpha3] BackupPC_rrdUpdate lies about successful update

2013-12-08 Thread Alexander Moisseev
BackupPC_rrdUpdate reports successful update even though update failed. 2013-12-09 09:22:45 Running BackupPC_rrdUpdate (pid=1029) 2013-12-09 09:22:45 admin-1 : ERROR: /var/log/BackupPC/poolUsage.rrd: illegal attempt to update using time 1386633600 when last update time is 1386633600 (minimum on

[BackupPC-devel] [4.0.0alpha2] FreeBSD port: sysutils/backuppc-devel

2013-10-23 Thread Alexander Moisseev
FreeBSD ports awaiting for commit to ports tree: sysutils/backuppc-devel - development version of sysutils/backuppc (4.0.0alpha2) sysutils/p5-BackupPC-XS - XS Perl extension for BackupPC libraries (0.20) net/rsync-bpc - Modified rsync that used as part of BackupPC (3.0.9.2) Sinc

[BackupPC-devel] change V4 directories layout

2013-10-16 Thread Alexander Moisseev
I propose to change BackupPC V4 directories layout to better conform the Filesystem Hierarchy Standard. - move documentation from $Conf{InstallDir}/doc to $Conf{InstallDir}/share/doc/BackupPC; Reason to install documentation in share/doc/BackupPC instead of share/doc: config.pl tries to change

[BackupPC-devel] [patch] [4.0.0alpha2] Pool graphs

2013-10-08 Thread Alexander Moisseev
This patch adds the pool size graphs on the server status page for privileged users. RRDtool required to store pool size statistics and show graphs. If RRDtool not installed, status page looks as usual without graphs. The graphs updates during the 'backuppc nightly' run. Main difference from V3:

Re: [BackupPC-devel] File::Listing required for all Xfer methods (V3+, V4)

2013-10-06 Thread Alexander Moisseev
On 07.10.2013 6:08, Craig Barratt wrote: > > BTW, I'm wondering whether I should implement or remove FTP in 4.0. Do > enough people use it? > I thinkremove or block Ftp.pm loading in 4.0 release is the only way to get feedback from users. -- Alexander --

Re: [BackupPC-devel] BackupPC 4.0.0alpha2 doesn't creates attrib file in backup directory

2013-10-06 Thread Alexander Moisseev
3, 2013 at 4:00 AM, Alexander Moisseev mailto:mois...@mezonplus.ru>> wrote: BackupPC 4.0.0alpha2 doesn't creates attrib file in backup directory if source directory contains no subdirectories or contains subdirectory with numeric name until at least one attrib file created in

[BackupPC-devel] BackupPC 4.0.0alpha2 doesn't creates attrib file in backup directory

2013-10-03 Thread Alexander Moisseev
BackupPC 4.0.0alpha2 doesn't creates attrib file in backup directory if source directory contains no subdirectories or contains subdirectory with numeric name until at least one attrib file created in any backup directory. When trying to browse the backups via the CGI interface get "Error: Direc

[BackupPC-devel] File::Listing required for all Xfer methods (V3+, V4)

2013-10-02 Thread Alexander Moisseev
Documentation states File::Listing required just for FTP, but BackupPC loads all the Xfer modules regardless of Xfer method. http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg14067.html It just reminder. -- Alexander ---

Re: [BackupPC-devel] BackupPC-XS-0.20 failed to build on FreeBSD 9.1-RELEASE

2013-09-25 Thread Alexander Moisseev
It works. Thanks. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest In

Re: [BackupPC-devel] BackupPC-XS-0.20 failed to build on FreeBSD 9.1-RELEASE

2013-09-25 Thread Alexander Moisseev
25.09.2013 14:41, Tomasz Chmielewski пишет: > On Wed, 25 Sep 2013 13:39:46 +0400 > Alexander Moisseev wrote: > >> BackupPC-XS-0.20 failed to build on FreeBSD 9.1-RELEASE. > > (...) > >> Running Mkbootstrap for BackupPC::XS () >> chmod 644 XS.bs >> rm

[BackupPC-devel] [patch] Add pool graphs on the status page

2013-04-23 Thread Alexander Moisseev
bian patch: http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/bin/BackupPC http://patch-tracker.debian.org/patch/misc/view/backuppc/3.2.1-5/lib/BackupPC/CGI/GeneralInfo.pm -- Alexander Moisseev --- ./bin/BackupPC.orig 2011-04-24 22:31:54.0 -0500 +++ ./bin/BackupPC 2013-

Re: [BackupPC-devel] [patch] 3.2.1 several patches

2013-02-13 Thread Alexander Moisseev
13.02.2013 17:55, Richard Shaw пишет: On Mon, Feb 11, 2013 at 5:25 AM, Alexander Moisseev wrote: Some patches for BackupPC 3.2.1: I would be willing to test these on my home BackupPC system. Could you provide a unified diff? Thanks, Richard All files attached to original post are unified

[BackupPC-devel] [patch] 3.2.1 several patches

2013-02-11 Thread Alexander Moisseev
Some patches for BackupPC 3.2.1: - Lib.pm, Text.pm: fix deprecated usage of qw(...) as parentheses patch-lib-BackupPC-Lib.pm patch-lib-BackupPC-Storage-Text.pm Use of qw(...) as parentheses deprecated since perl 5.14 http://perldoc.perl.org/perl5140delta.html#Use-of-qw%28...%29-as-parentheses

[BackupPC-devel] configure.pl and porting

2011-04-02 Thread Alexander Moisseev
cripts? 1. Installation script that will make all required modifications in source files, configure distribution specific parameters like dirs locations and install files. 2. Configuration (and upgrade) script that will make modifications in config files only. -- Alexande

[BackupPC-devel] [Patch] 3.2.0 documentation

2011-03-07 Thread Alexander Moisseev
See patch for "Step 2: Installing the distribution" section in attachment. -- Alexander Moisseev --- BackupPC.pod.bak2011-03-07 13:32:14.0 +0300 +++ BackupPC.pod2011-03-07 13:45:13.0 +0300 @@ -522,7 +522,7 @@ distribution, the package management system shou

[BackupPC-devel] Intermediate directories masks

2010-09-23 Thread Alexander Moisseev
). I believe that mask for intermediate directories should be 0755. -- Alexander Moisseev -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accel

[BackupPC-devel] Missing quotes when doing an upgrade

2010-08-23 Thread Alexander Moisseev
generated config.pl: $Conf{RsyncClientPath} = /usr/local/bin/rsync; $Conf{NmbLookupPath} = /usr/local/bin/nmblookup; -- Alexander Moisseev -- This SF.net email is sponsored by Make an app they can'