Re: [BackupPC-users] Whats wrong - missing files and folders

2021-06-12 Thread Alexander Moisseev via BackupPC-users

On 12.06.2021 1:20, Taste-Of-IT wrote:

Hi,
i have BBC 4.4.0 under Debian running. I noticed that some files and folders on 
one debian machine wasnt backuped. I checked the config, but i cant find the 
error. Perhaps someone can help.

I want to backup all files and folders under /etc/pve/ but the directory 
/etc/pve is empty in the backup.

I use rsync as root user. Do you have any idea why files and folders are 
missing under /etc/pve?


Is there any chance that maybe you have mounted a file system in /etc/pve/ and 
call rsync with --one-file-system option?


___
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] ZFS very slow with BackupPC_refCountUpdate

2021-04-27 Thread Alexander Moisseev via BackupPC-users

On 27.04.2021 11:31, Ghislain Adnet wrote:


so we have lots of z_rd_int but its 
/usr/share/backuppc/bin/BackupPC_refCountUpdate that do all the io.



Do you still have BackupPC v3 pool? It may relate to hardlinks.


___
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] cygwin-rsyncd 'rsyncd.conf' syntax for Windows Second Drive

2021-04-03 Thread Alexander Moisseev via BackupPC-users

On 03.04.2021 17:32, Tim Evans wrote:

The cygwin-rsyncd package includes example rsyncd.conf file for the entire Windows C: 
drive (i.e., "/cygdrive/c/").

What is syntax for a second Windows drive?  Apparently "/cygdrive/e/" isn't right; nor is 
just plain "/e/".


In Windows by default (administrator can reassign disk letters)
  the 1st logical drive is C:
  the 2nd logical drive is D:
  the 3rd logical drive is E:

I guess, if disk letters are default assigned, the path for the second logical drive 
should be "/cygdrive/d".


___
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] Adding a max and warning line to the backup pool size?

2021-03-14 Thread Alexander Moisseev via BackupPC-users

On 14.03.2021 15:19, Sorin Srbu wrote:

On Sat, 2021-03-13 at 21:20 +0300, Alexander Moisseev via BackupPC-users
wrote:

On 13.03.2021 19:24, Sorin Srbu wrote:

Is it possible to add a red max and yellow warning line to the BackupPC pool
size chart, reading from the df or OS partition size?


It is easy to draw horizontal lines on the chart, but file system size for 
every OS and file system type is hard to guess.


I realize partition sizes rarely change.

Can the size be statically set instead maybe, and changed as needed when the
disk arrays, pools or partitions are increased?


Another option to get file system size is a user-configurable command.


What are some keywords to look for; "rrd add static lines" or some such?BPC
does use rrd for this, tight?


You need to add an HRULE instruction.

https://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html



___
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] Adding a max and warning line to the backup pool size?

2021-03-13 Thread Alexander Moisseev via BackupPC-users

On 13.03.2021 19:24, Sorin Srbu wrote:

Is it possible to add a red max and yellow warning line to the BackupPC pool
size chart, reading from the df or OS partition size?


It is easy to draw horizontal lines on the chart, but file system size for 
every OS and file system type is hard to guess.


___
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] btrfs questions

2021-03-06 Thread Alexander Moisseev via BackupPC-users

On 06.03.2021 19:28, Paul Leyland wrote:

But backuppc works just fine on a BSD-licensed mainline kernel.

On 06/03/2021 14:46, Richard Shaw wrote:

On Sat, Mar 6, 2021 at 8:26 AM Paul Leyland mailto:paul.leyl...@gmail.com>> wrote:


Very happy with ZFS myself. YMMV.


If only they would move to a FOSS license instead of CDDL it could be included 
in the mainline kernel.


Moreover, BackupPC works fine on FreeBSD which has ZFS support from the kernel 
for years.


___
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] Vanished file

2021-01-11 Thread Alexander Moisseev via BackupPC-users

11.01.2021 3:07, backu...@kosowsky.org пишет:

Pete Geenhuizen wrote at about 14:38:17 -0500 on Sunday, January 10, 2021:
  >
  > /usr/share/BackupPC/bin/BackupPC_zcat
  > ./attrib_d4c95788f1e2e67ddadd2e2ff26e0fc6 |wc
  >    0   0   0
  >
  > /usr/share/BackupPC/bin/BackupPC_attribPrint
  > /etc/alternatives/froot/fetc/falternatives/attrib
  > $attrib = {
  > };
  > All the attrib_ files that I find are 0 length.

They all should be 0 length - they just reference a pool file where
the data is stored.



You should use BackupPC_attribPrint utility to get the metadata:

# su -m backuppc -c 'BackupPC_attribPrint 
./attrib_d4c95788f1e2e67ddadd2e2ff26e0fc6' | grep -A 6 /attrib


___
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] Vanished file

2021-01-09 Thread Alexander Moisseev via BackupPC-users

Seems the same as https://github.com/backuppc/rsync-bpc/issues/18


___
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] Return to BackupPC

2021-01-07 Thread Alexander Moisseev via BackupPC-users

07.01.2021 14:39, Sorin Srbu пишет:

The pretty pool graphs from BPC 3.3 are missing in BPC 4.4.0.
Is this expected or will they show up when a few backups have been done?


It is handled by BackupPC_nightly, just wait for a couple of days.


___
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] Incorrect reported pool size, and confusing queue reporting

2020-02-29 Thread Alexander Moisseev via BackupPC-users

29.02.2020 1:13, Matthew Pounsett пишет:



On Fri, 28 Feb 2020 at 10:54, Alexander Moisseev mailto:mois...@mezonplus.ru>> wrote:

 >
 >   It's different, but still way off.  Reporting 269G when actual usage 
is over a terabyte. But if it's not updating very often that makes a bit more 
sense.  The fact that the graph resolution is hourly is I think part of what makes 
this confusing.  It's just routinely updated with out-of-date information?
Why do you think the resolution is hourly? It is daily. The RRD step is 
exactly 86400 seconds.




The data may be updated daily, but the resolution of the 4-week graph is 
hourly; the graph is updated hourly,

No. Pictures are generated on page loading.


and each horizontal pixel of the area graph is an hour of time.

No. 4 weeks are 672 hours, but the width of the graph is 600 pixels.


If it were daily I'd only have a one or two pixel wide graph, instead of what I 
have.

Your assumption that pixel resolution always match data resolution is wrong.


The lower (52 week) graph has a resolution of one day.

Actually, both graphs have the same data resolution of one day and both of them 
have different pixel resolution.

I am not trying to convince you if it is good or bad, just explaining what you 
see on the graphs.


___
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] Incorrect reported pool size, and confusing queue reporting

2020-02-28 Thread Alexander Moisseev via BackupPC-users

28.02.2020 16:47, Matthew Pounsett пишет:



On Fri, 28 Feb 2020 at 01:55, Alexander Moisseev via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>> wrote:

 >       o Pool is 1.92GB comprising 133570 files and 4369 directories (as 
of 2020-02-27 01:00),
Probably at 01:00 BackupPC was running only for 20 minutes. That is why it 
was only 1.92GB at that moment.


Ah, I missed that.  So is it only updating its idea of how big the pool is once 
a day?

Yes, as a part of the nightly job after pool cleanup.



 >
 > I have no idea if this is related to the misreported pool size, but it 
suggests to me even more that something somewhere is stuck.  What should I be 
looking at?
 >
You should be looking at time stamps. Wait for the next nightly run (01:00 
tomorrow) and recheck pool usage statistic again.


  It's different, but still way off.  Reporting 269G when actual usage is over 
a terabyte. But if it's not updating very often that makes a bit more sense.  
The fact that the graph resolution is hourly is I think part of what makes this 
confusing.  It's just routinely updated with out-of-date information?

Why do you think the resolution is hourly? It is daily. The RRD step is exactly 
86400 seconds.

You are trying to compare pool size and file system usage, but these are two 
different things. If you want to get the pool size you should use du instead of 
df.

df output should match this numbers:
o Pool file system was recently at 4% (2020-02-27 21:24), today's max 
is 7% (2020-02-27 11:30) and yesterday's max was 1%.
but as you can see, they change during the day. 7% is about a terabyte, btw.



___
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] Incorrect reported pool size, and confusing queue reporting

2020-02-27 Thread Alexander Moisseev via BackupPC-users

28.02.2020 0:32, Matthew Pounsett пишет:


I've got a new install of BackupPC 3.3.2 installed from the Debian 10 apt repository.  My 
/var/lib/backuppc volume is 15TB, and BackupPC currently has ~480GB of data on it.  
However, the front page graph and "Other info" summary both say that the pool 
is only 1.93G, and has done since the server came online about 16 hours ago.

How does it calculate what's currently in the pool?  I'm wondering if something 
somewhere has got stuck.

% df -h /var/lib/backuppc
Filesystem      Size  Used Avail Use% Mounted on
backups          15T  481G   14T   4% /var/lib/backuppc

  * The servers PID is 31493, on host bk, version 3.3.2, started at 2020-02-27 
00:40.
  * This status was generated at 2020-02-27 21:28.
  * The configuration was last loaded at 2020-02-27 19:00.
  * PCs will be next queued at 2020-02-27 22:00.
  * Other info:
  o 22 pending backup requests from last scheduled wakeup,
  o 0 pending user backup requests,
  o 0 pending command requests,
  o Pool is 1.92GB comprising 133570 files and 4369 directories (as of 
2020-02-27 01:00),

Probably at 01:00 BackupPC was running only for 20 minutes. That is why it was 
only 1.92GB at that moment.


  o Pool hashing gives 4 repeated files with longest chain 1,
  o Nightly cleanup removed 15 files of size 0.00GB (around 2020-02-27 
01:00),
  o Pool file system was recently at 4% (2020-02-27 21:24), today's max is 
7% (2020-02-27 11:30) and yesterday's max was 1%.

15TB * 0.04 = 0.6TB It is likely that it was correct at that moment.






I have no idea if this is related to the misreported pool size, but it suggests 
to me even more that something somewhere is stuck.  What should I be looking at?


You should be looking at time stamps. Wait for the next nightly run (01:00 
tomorrow) and recheck pool usage statistic again.


___
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 aborted (No files dumped for share....)

2020-02-07 Thread Alexander Moisseev via BackupPC-users

07.02.2020 14:16, Angelo Machils пишет:

tarExtract: Done: 0 errors, 4 filesExist, 34564096 sizeExist, 4888585 
sizeExistComp, 4 filesTotal, 34564096 sizeTotal
Got fatal error during xfer (No files dumped for share DatabaseBackup)
Backup aborted (No files dumped for share DatabaseBackup)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 4 and 0 files versus 4)

I’m running version 3.3.1

Searching for this error came up with quite a few results, but none seem to 
apply to my case and it seems that the files have been transferred.



You are likely using this ancient BackupPC version with a modern smbclient.
You need to upgrade BackupPC (or if it's got sentimental value, downgrade 
smbclient).

https://github.com/backuppc/backuppc/issues/169



___
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] Recommended settings for BackupPC v4 on ZFS

2019-09-11 Thread Alexander Moisseev via BackupPC-users

On 11.09.2019 18:19, Robert Trevellyan wrote:

I'm letting ZFS do the compression (using the default of LZ4) with BackupPC 
handling deduplication. I think you'll find a reasonable consensus that ZFS 
compression is always a win for storage space (it will store un-compressible 
data unmodified), whereas ZFS deduplication is best avoided in most cases, 
mostly due to its high memory usage. It's possible that BackupPC compression 
would be tighter than LZ4,


Actually, on ZFS you are not limited to LZ4, but in ZFS each file block is 
compressed independently, that is why in most cases BackupPC compression is 
higher, though it depends on data.

We moved from 77.96G cpool to pool on compressed filesystem recently. Now it 
consumes 81.2G, so there is not much difference.

# zfs get compression,compressratio,recordsize,referenced zroot/bpc/pool
NAMEPROPERTY   VALUE SOURCE
zroot/bpc/pool  compressiongzip-3local
zroot/bpc/pool  compressratio  3.87x -
zroot/bpc/pool  recordsize 128K  default
zroot/bpc/pool  referenced 81,2G -


___
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] Admin groups

2018-11-08 Thread Alexander Moisseev via BackupPC-users

On 07.11.18 20:52, Jaime Fenton wrote:

Thanks for your question Alexander.

I agree, one group makes sense and I'm working towards that goal. However, my 
company's a large company and it may take some time before approval of a 
singular group goes through and I have a large number of users who need to be 
admin for control of Backuppc. As it is, I can add them individually to the 
singular named users for now, but that's why I was asking if more than one user 
group could be I the admin user group section.

I'll muddle through until the permission comes through, thanks for clarifying.



I've opened a PR that allows to use a space separated list of multiple groups.
https://github.com/backuppc/backuppc/pull/235


___
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] Admin groups

2018-11-06 Thread Alexander Moisseev via BackupPC-users

On 07.11.18 1:35, Jaime Fenton wrote:

Hi there,

Is there a way to have multiple security groups have admin access (through 
$Conf{CgiAdminUserGroup}) or is it limited to only one group?



$Conf{CgiAdminUserGroup} is limited to only one group. It can be changed but 
why do you need multiple groups?
Usually you do not have a lot of privileged users, so creating a separate unix 
group should not be a problem but seems more safe.


___
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 distinguish from which BPC-server administrative emails are coming (Was: BackupPC administrative attention needed)

2018-11-01 Thread Alexander Moisseev via BackupPC-users

On 01.11.18 10:16, Sorin Srbu wrote:

Hi and thanks for the feedback!

Tagging the $Conf{EMailAdminUserName} won’t work for me, the central 
smtp-server bounces it if I choose something else than a real existing mail 
address unfortunately.

I’ve been thinking about the headers a bit since posting, I’ll look into that 
for starters.

In the long run, making the subject line a configurable parameter sounds like a 
very good idea though!
Could you please?



@picklesrein has proposed to add $Conf{CgiURL} to the report body: 
https://github.com/moisseev/BackupPC_report/pull/2
I think it would be convenient to have a link to CGI in admin emails as well.



___
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] Host summary page, Sorting is weird

2018-10-23 Thread Alexander Moisseev via BackupPC-users

On 23.10.2018 9:19, Sorin Srbu wrote:

Ah, I might have found the problem.

I discovered the below using Google Chrome.
On a hunch I tried Firefox.

Firefox sorts properly. Seems this is a web browser problem then.



Sorin, would you test the fix?

https://github.com/backuppc/backuppc/commit/a81dd75ceb498ffc9b1ba19a955a5b14c675c4f0


___
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] Copying backups to other host

2018-08-24 Thread Alexander Moisseev via BackupPC-users

On 22.08.2018 21:15, Nino Bosteels wrote:


I read that instead of dd you could use dump, which actually is aware of free 
disk space for ext(3-4). Any ideas?


Dump is not an option for you. You will be able to make dump as it copies data 
at block level, but restore works at file level, so, it will take ages to 
restore such a large pool.

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


Re: [BackupPC-users] How to change GUI appearance (was: Backup stopped working)

2018-06-11 Thread Alexander Moisseev via BackupPC-users

On 11.06.2018 17:26, Sriram ARUN EXCELLO wrote:

Hi, this is the first time I am going to use the Backuppc  for my office, I 
need to change the GUI settings like logo change, font, label and background 
colour kindly guide me please.


Please do not hijack threads.

The logo is here: 
https://github.com/backuppc/backuppc/blob/master/images/logo.gif

Link to it is here:
https://github.com/backuppc/backuppc/blob/d7588f3a5e67be7bfb6867758c3335bde09cdf4c/lib/BackupPC/CGI/Lib.pm#L474

Everything else you can change in CSS files: 
https://github.com/backuppc/backuppc/tree/master/conf
Create your own CSS (copy and modify a stock one)and change $Conf{CgiCSSFile} 
appropriately.

--
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] Serious error: last backup ... directory doesn't exist!!! - reason found

2018-03-08 Thread Alexander Moisseev via BackupPC-users

On 3/8/2018 6:59 PM, f...@igh.de wrote:

Craig,

again I return to my issue "No space left on device".

Meanwhile I found the reason: the partition ran out of inodes. As you
wrote under "How much disk space do I need?" one has to have "plenty
of inodes". But what does that mean?

May I ask the following:

- in the "General Server Information" you give some statistical
   information about disk usage; would it be a good idea also to give
   information about inode consumption?



It is a really good idea, but obtaining inode consumption with du command is 
complicated since it returns different sets of columns on different OSes.
I think the simplest way is to replace CheckFileSystemUsage subroutine with 
Filesys::DiskSpace module.

Craig, is it ok to introduce another dependency?

--
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] No files dumped for share for localhost

2018-02-06 Thread Alexander Moisseev via BackupPC-users

On 06.02.2018 9:26, RAKOTONDRAINIBE Harimino Lalatiana wrote:

Hi Alexander ,

I did what you said so I created three module in rsyncd.conf

[boot]
path = /boot
comment = all boot files to be backupc

[var]
path = /var
comment = all files from var

[all]
path = /
comment = it's a test


And for my RsyncShareName :

$Conf{RsyncShareName} = [
   'all', 'boot', 'var'
];


But the issues still persist and don't know much what to do next



Hi Harimino,

Run BackupPC_dump again, check its output, check logs.
I guess that error is gone away and you have another one.

--
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] Handle Backup as inconsistent on xfer error

2018-02-05 Thread Alexander Moisseev via BackupPC-users

On 29.01.2018 12:32, Zielke, Julian, NLI wrote:


Talking about the point on not saving the rest of the archives: There is afaik 
no current way to tell BackuPC to stop the backup on this share, execute 
post-share using xferOK = 0 and continue
with the rest of the backups. So we'll keep it that way. Maybe this could be a 
nice feature implementation to skip a share on xfer errors and return xferOK=0. 
This would be a perfect way to have
a solution of partitial backups AND notification in both ways.


On the second thought, skipping certain shares is an overkill. Probably in case 
if we want treat shares differently we should just create different hosts for 
them.


I suggest to create an option in the configuration of the tar xfer method (bool 
/ checkbox) so the user can decide whether
to abort on Xfer errors or not.


I agree with you. It would be nice to add a configuration option for that, but 
for any xfer type, not only for tar xfer.


The options could be something like:
$Conf{xferErrsAreFatal} If any share had xfer errors then consider the dump bad 
and mark it as partial
0 - no (default)
1 - yes
n - yes if $stat{xferErrCnt} >= n

$Conf{abortOnXferErrs} abort the dump instead of marking it partial if 
$Conf{xferErrsAreFatal} condition is met.

--
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] No files dumped for share for localhost

2018-02-05 Thread Alexander Moisseev via BackupPC-users

On 05.02.2018 14:38, RAKOTONDRAINIBE Harimino Lalatiana wrote:

Hi Alexander,

Thank you for your answer, I am newbie so it was out of my mind to check why 
the xfermethod would be rsync instead of rsyncd for the localhost.

So I changed it to rsyncd. Anyway it won't run .

I set up the rsyncd.conf and create on module :

[boot]
path = /boot
comment = all boot files to be backupc

I didn't put the auth user and password because after some try it say auth 
failure and I prefer to troubelshoot it after resolving this issue

I am not sure what to put in the  $Conf{RsyncShareName} but when I run 
Backuppc-dump -i localhost, there is some errors in the output as you can see 
below.
I printed all the output  and underlined all the errors for more clarity




ERROR: The remote path must start with a module name not a /





I already tried to run rsyncd and it work but I don't know where the error in 
my configuration .

Regards,

Hari




For $Conf{RsyncShareName} you need to use a rsync module name as it is 
specified in the rsyncd.conf in square brackets, i.e. [boot].

$Conf{RsyncShareName} = [
  'boot'
];

--
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] Best way to copy backuppc data

2018-02-03 Thread Alexander Moisseev via BackupPC-users

On 2/3/2018 2:50 PM, Adam Pribyl wrote:

On Fri, 2 Feb 2018, Iturriaga Woelfel, Markus wrote:


I tried the "dump | restore" way,

dump -0 -f - /var/lib/backuppc | restore -r -f -

after few minutes:
restore: cannot write to file /tmp//rstdir1517604355: No space left on
device
   DUMP: Broken pipe
   DUMP: The ENTIRE dump is aborted.

seems restore is first writing some files to /tmp.. ok used
dump -0 -f - /var/lib/backuppc | restore -r -T /copy -f -

when it gets to the
DUMP: dumping (Pass IV) [regular files]

it just stays there for 12h with almost nothing copied.



Dump is fast because it copies file system blocks. As restore write files, it 
is slow.
You can take dumps relatively fast if you will store the dump in a file instead 
of piping it to restore.
Dump of 60G v3 cpool takes about 2 hours, but restore of this dump takes about 
1 day.

tar -C /var/lib/backuppc --one-filesystem --acls --xattrs -cf - . | tar 

-C /copy -xvf -

How does this deal with hardlinks?

I am running short on ideas how to copy this.


To get rid of hardlinks, consider to upgrade from BackupPC v3 to v4.


This seems to be yet another reason why I want to move this to RAID1 now


Another option is to move to ZFS and use `zfs send` and `zfs receive`.

--
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] When (and how) Can I remove the V3 cpool?

2018-01-31 Thread Alexander Moisseev via BackupPC-users

On 1/31/2018 8:54 PM, Clay Jackson wrote:

Hi – I upgraded to V4 late on 2017 and have been stable now for almost 2 
months.   But, my Status page is still showing 4.14G in the V3 cpool.

Can I get rid of this, and if so, how?



Probably you still have some V3 backups. It's fine, they will be gradually 
removed one by one at some point during expiration process.
If you really need to get rid of them, you can convert them to V4 backups with 
BackupPC_migrateV3toV4 utility [1].

[1]: 
http://backuppc.github.io/backuppc/BackupPC.html#Other-Command-Line-Utilities



--
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] No files dumped for share for localhost

2018-01-30 Thread Alexander Moisseev via BackupPC-users

On 30.01.2018 9:38, RAKOTONDRAINIBE Harimino Lalatiana wrote:

So I it seems hat the issue is about DNS lookup error: general failure when I 
run ssh .

backuppc@backup:/ % /usr/bin/ssh -v -x -l backuppc localhost /bin/foobar
OpenSSH_7.2p2, OpenSSL 1.0.2k-freebsd  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config



debug1: Server host key: ecdsa-sha2-nistp256 
SHA256:7IBJcg+uURyKkFB/9QuGJoU9tgm4m+gBiiVG44+nvyY
DNS lookup error: general failure


I think it is normal. SSH client attempts to verify keys using DNS. See 
VerifyHostKeyDNS in the man ssh_config .

.

debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/backuppc/.ssh/id_dsa
debug1: Trying private key: /home/backuppc/.ssh/id_ecdsa
debug1: Trying private key: /home/backuppc/.ssh/id_ed25519
debug1: No more authentication methods to try.


Here is the problem, it can't authenticate.


Permission denied (publickey).

But it's a bit confusing because as I understand the server connect to himself 
when it try to backup the localhost so when the connection can't be set up ?

Regards,

Hari


Why do you need ssh to backup localhost in the first place? You can connect 
directly to rsyncd.

--
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] No files dumped for share for localhost

2018-01-29 Thread Alexander Moisseev via BackupPC-users

On 1/29/2018 2:53 PM, RAKOTONDRAINIBE Harimino Lalatiana wrote:

The backuppc is installed in freebsd 11.1
All hosts seems to be backuppc well except the localhost.
I did like it was said in the forum so  I build rsync-bpc 3.0.9 from current 
git .


BTW, You could use ports:

net/rsync-bpc
sysutils/backuppc4
sysutils/p5-BackupPC-XS

--
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] Handle Backup as inconsistent on xfer error

2018-01-28 Thread Alexander Moisseev via BackupPC-users

On 1/26/2018 5:31 PM, Zielke, Julian, NLI wrote:

It will be marked as partial but not continuing and/or doing rotation. Also the 
xfer status won't be 1, because there
were actual problems saving all files within the share. This is just to prevent 
BackupPC from running backups with xfer errors and doing rotation while some 
files in all
series always were open during backup.



Julian, If I understood you correctly, you are trying to solve the following 
problem:
If xfer errors occurred during a backup (files were open or whatever), the 
backup is inconsistent as it misses some files.
In current implementation such a backup is considered successful despite xfer 
errors.
The expiration algorithm dosen't take xfer errors in account as well.
Here is a problem: under certain circumstances BackupPC expiration can leave 
errored backups, but expire consistent ones, so we will be unable to restore 
some files.

That is the reason why I do daily checks for xfer errors and remove backups 
with xfer errors.

Sure, the patch you are proposing will do it automatically, but it seem not a 
good solution to me.
What if something happened with the host's data? In many cases a recent partial 
backup is better than nothing. But you've aborted it!
More over you haven't saved the rest of shares on this host!!! 
https://github.com/backuppc/backuppc/blob/master/bin/BackupPC_dump#L1230
If some files always are open during backup, every backup will be aborted, so 
you will end up with no backups at all.

If we mark the backup as partial instead of aborting it, the partial backup 
will be removed when the next successful backup completes, or if another full 
backup fails resulting in a newer partial backup.
Advantages: files from partial backup can be restored, on the next backup we 
don't need to retransfer files already in the partial backup (for rsync, not 
for tar).

The situation when some files always are open during backup should be avoided, 
in general. In case if there are just a few files and they are always the same, 
it is probably a good idea to create an exclusion list. So if all xfer errors 
happen when attempting to transfer files that are in the exclusion list, do not 
mark that backup as partial.

--
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] Handle Backup as inconsistent on xfer error

2018-01-26 Thread Alexander Moisseev via BackupPC-users

On 26.01.2018 12:31, Zielke, Julian, NLI wrote:

I’ve decided to rewrite the code of BackupPC_dump for this case.

Here’s the patch: https://pastebin.com/wv1DFVbV

I suggest to create an option in the configuration of the tar xfer method (bool 
/ checkbox) so the user can decide whether

to abort on Xfer errors or not.


Why do you want to abort the backup? I think we should just mark it as partial.

--
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] Restore backup to diferent host

2018-01-11 Thread Alexander Moisseev via BackupPC-users

On 1/12/2018 4:11 AM, Egis K. wrote:

Helo,


I'm trying restore data to different host, than backup was made with no success 
version 4.1.5,**//___^
**//___^
I'm got error restoring, there is outpu :

2018-01-12 01:07:54 restore started below directory  to host 192.168.1.112
2018-01-12 01:07:56 restore failed (rsync error: error starting client-server 
protocol (code 5) at main.c(1541) [sender=3.0.9.11])


I see that in path there are double slash, but if i'm trying restore to same 
host file, slash is single.


  Are you sure?

You are about to start a restore directly to the machine 192.168.1.112. The 
following files will be restored to share , from backup number 22:

Original file/dir   Will be restored to
192.168.1.115:/cDrive/Users/user/.fog_user.log  192.168.1.112 
:*//*Users/useris/.fog_user.log

Do you really want to do this?


Restore to UNC path (Windows share) using rsync is not possible.
In case of rsyncd transfer method, "Restore the files to share" form field means an area 
name like "cDrive", not a windows share name.
You can find the area name in the rsync.conf on the target host.
If you do not have rsyncd on the target host, you can restore to UNC path, but 
you need to use SMB transfer method in this case.

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


Re: [BackupPC-users] Backup error with no error

2017-10-11 Thread Alexander Moisseev via BackupPC-users

On 10/11/2017 11:09 AM, Philippe Maladjian wrote:

Hello,

The next job tells me an error when backing up full or incremental but I do not 
see any.

When I created it, I first ran a test with / media / netapp_www, started a full 
backup and let the jobs run for several days. Then I added the other 
directories. Since I have the message that there is an error during the backup 
but I do not see in the logs.

-




Fichier /media/backuppc/pc/svbackup04/LOG.102017

Contenu du fichier /media/backuppc/pc/svbackup04/LOG.102017, modifié le 
2017-10-11 09:46:50

[...]

2017-10-11 09:44:01 unexpected empty share name skipped
2017-10-11 09:44:06 Backup aborted ()


Maybe you need to specify $Conf{RsyncShareName}

--
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] Graph in dashboard

2017-10-05 Thread Alexander Moisseev via BackupPC-users

On 10/5/2017 1:16 PM, Gandalf Corvotempesta wrote:

2017-10-05 11:56 GMT+02:00 Alexander Moisseev via BackupPC-users
<backuppc-users@lists.sourceforge.net>:

In BackupPC v4 if you set "$Conf{PoolSizeNightlyUpdatePeriod}" to N (default
is 16) nightly will process 1/N of the pool every night.
Pool graphs will be updated on every nightly run (i.e. every night).


I'm referring to BackupPCNightlyPeriod that is set as 1 as default.
Now i've set as 4. This shouldn't affect the graphs updates, right ?
Because I've seen that when nighly is interrupted, graphs are not updated.



It shouldn't. You'll know for sure in the morning ;)
In case of BackupPCNightlyPeriod > 1 nightly job is not been interrupted, but 
finished. It just process a subset of directories instead of whole pool.


--
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] Graph in dashboard

2017-10-05 Thread Alexander Moisseev via BackupPC-users

On 10/5/2017 12:14 PM, Gandalf Corvotempesta wrote:

Are graphs in dashboard updated after a nightly process has processes
the whole pool ?


It is updated on every nightly run. It doesn't matter if some files in the pool 
are unprocessed, they still occupy pool space.


In example, if I set the nightly process to scan pool in 2 or 3 days,
graphs would be updated every day anyway, or after 2 or 3 days ?

Asking this because I want daily graphs but as nightly is a very very
very heavy process (load is more than 10 when running) I would like to
split the nightly in 4 days or so.



In BackupPC v4 if you set "$Conf{PoolSizeNightlyUpdatePeriod}" to N (default is 
16) nightly will process 1/N of the pool every night.
Pool graphs will be updated on every nightly run (i.e. every night).

http://backuppc.github.io/backuppc/BackupPC.html#_conf_poolsizenightlyupdateperiod_

--
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] Email in backup success/failure

2017-09-03 Thread Alexander Moisseev via BackupPC-users

On 9/3/2017 10:20 PM, Gandalf Corvotempesta wrote:

So, what's the meaning for the email feature configurable in bpc settings?

Which kind of emails are sent?


BackupPC sends notifications if a host has never been backed up or the most 
recent backup is too old.
That means you will get an email if backup has never been finished in the 
configured number of days, but BackupPC remains silent if backup was finished 
with a lot of errors.
Some people thinks it's a good thing that BackupPC doesn't bother them if some 
files was locked or vanished or whatever during backup.

--
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] Email in backup success/failure

2017-09-03 Thread Alexander Moisseev via BackupPC-users

On 9/3/2017 7:52 PM, Gandalf Corvotempesta wrote:

Is possible to have, every night, an email with the result of any backups?

I would like to get a report every night, after backup completion



There is no such functionality in BackupPC, but you can run external script by 
cron during blackout period.

https://github.com/moisseev/BackupPC_report
https://github.com/moisseev/BackupPC_report/blob/master/BackupPC_report

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


Re: [BackupPC-users] Backing up the BackupPC pool

2017-08-09 Thread Alexander Moisseev via BackupPC-users

On 8/9/2017 11:47 PM, Hannes Elvemyr wrote:


Sound great, but how do I know that BackupPC is not reading/writing to the pool 
during the copying process (maybe some backup is running or BackupPC_Nightly 
could start doing some cleaning). Copying a large pool over a bad Internet 
connection could take hours…


Option 1. Stop BackupPC.
Option 2. Make a snapshot of the file system.


--
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] restore .tar / .zip files empty #128

2017-07-30 Thread Alexander Moisseev via BackupPC-users

On 7/30/2017 10:49 PM, Doug Lytle via BackupPC-users wrote:

On 07/30/2017 01:43 PM, Craig Barratt wrote:

Doug,

I pushed a fix 

 that should fix the problem.



I couldn't figure out how to download a patch from the interface, so I selected 
view/raw



Doug, you can just add ".diff" or ".patch" at the end of the commits URIs like 
this:
https://github.com/backuppc/backuppc/commit/6f01264005310cffe55d5258436d38609a1ac99d.diff
https://github.com/backuppc/backuppc/commit/0439411cc17757e5f15ebfbff902aacc3d4510b6.diff

Or do the same with "compare" to get a patch that includes both commits:
https://github.com/backuppc/backuppc/compare/2c09f85...0439411.diff


--
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] status graph

2017-06-06 Thread Alexander Moisseev via BackupPC-users

On 6/6/2017 4:24 AM, Alexey Safonov wrote:

Alexander, Craig

any ideas what can i check and how to find this V3 pool?


I don't know how exactly do this. I guess you need to find files with hardlink 
count > 1 in the pool and cpool directories.

Probably it's not necessary, you just need to wait.

Make sure "$Conf{PoolV3Enabled} = 1;" until the last file deleted from v3 pool.
By default "$Conf{PoolSizeNightlyUpdatePeriod} = 16;". This means you need to 
wait 16 days while v3 pool will be emptied.

See details in BackupPC_migrateV3toV4 section of 
https://backuppc.github.io/backuppc/BackupPC.html#Other-Command-Line-Utilities
BTW, This section says "You could do this manually". Craig, how'd you suggest 
to find v3 files in pool and cpool?

Since your pool is not big you can set $Conf{PoolSizeNightlyUpdatePeriod} = 1;

Also it's not necessary to wait next BackupPC_nightly run. You can start it at 
any time.
# su -m backuppc -c 'BackupPC_serverMesg BackupPC_nightly run'


--
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] status graph

2017-06-02 Thread Alexander Moisseev

On 6/2/2017 10:19 AM, Alexey Safonov wrote:

Here is mu output


General Server Information

  * The servers PID is 35143, on host backuppc.hk.kkc.net 
, version 4.1.2, started at 5/25 15:05.
  * This status was generated at 6/2 15:17.
  * The configuration was last loaded at 5/25 15:05.
  * PCs will be next queued at 6/2 19:00.
  * Other info:
  o 0 pending backup requests from last scheduled wakeup,
  o 0 pending user backup requests,
  o 0 pending command requests,
  o Pool is 99.27+6.12GiB comprising 1216909+165932 files and 16512+4369 
directories (as of 6/2 01:20),
  o Pool hashing gives 0+23 repeated files with longest chain 0+5,
  o Nightly cleanup removed 179717+0 files of size 11.25+0.00GiB (around 
6/2 01:20),
  o Pool file system was recently at 4% (6/2 15:16), today's max is 4% (6/2 
01:00) and yesterday's max was 5%.


On 2 June 2017 at 15:17, Alexey Safonov > wrote:

but how it's possible ? i run script with -a option
script ends with no error


I guess something went wrong with migration. Your statistics clearly indicates 
there are files in v3 pool and the latest nightly cleanup removed none of them. 
It looks like these files still used by v3 backups.

`BackupPC_migrateV3toV4 -a -m` should show leftover v3 backups.



--
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] Updated BackupPC 4 Debian Packages

2017-05-27 Thread Alexander Moisseev

On 5/27/2017 8:34 AM, Craig Barratt wrote:

No, rsync-bpc isn't usable without BackupPC.  Your name sounds fine (although 
it would be good to have a consistent package name across others flavors - are 
there any already?).



http://www.freshports.org/sysutils/backuppc4/

--
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] Display inconsistent for total/existing/new files.

2017-05-04 Thread Alexander Moisseev
On 5/4/17 12:35 PM, Dieter Fauth wrote:
> Hi,
> looks like the "existent files" column is way to low in values.
> 
> Example:
> 2002 was an V3 backup, 2019 is a V4 backup:
> Backup#   Type#Files  Size/MiBMiB/sec #Files  Size/MiB
> #Files  Size/MiB
> 2002  full1736013 94516.1 8.721736008 94491.9 177826.1
> 2019  full2110267 111675.939.67   22  334.6   154 100.9
> 
> I am the only one seeing this?
> 
I am seeing this as well:
https://github.com/backuppc/backuppc/issues/103


--
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] Successful backup marked as failed

2017-03-03 Thread Alexander Moisseev
On 03.03.2017 18:43, Claus Tøndering wrote:
> On 03.03.2017 16:26, Alexander Moisseev wrote:
> 
>> What BackupPC and smbclient versions are you using?
>>
> BackupPC 3.3.1
> smbclient 4.3.11
> 
> These are the standard versions installed with Ubuntu 16.04 LTS.
> 

BackupPC 3.3.1 doesn't support smbclient 4.x output.
You should upgrade BackupPC to 3.3.2 or downgrade smbclient to 3.6. Replacing 
smb transfer method with rsync would be good choice as well.

--
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] Successful backup marked as failed

2017-03-03 Thread Alexander Moisseev
On 03.03.2017 18:08, Claus Tøndering wrote:
> 
> In short, all the files are backed up correctly, and I can see them in
> the BackupPC web page, but as you can see, the backup is marked as
> failed with this message:
> 
>   Got fatal error during xfer (No files dumped for share Users)
>   Backup aborted (No files dumped for share Users)
> 

What BackupPC and smbclient versions are you using?

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


Re: [BackupPC-users] backuppc 3.3.1-2ubuntu3 breaks pool graphs on the Status page.

2017-02-23 Thread Alexander Moisseev
On 23.02.2017 14:11, Kārlis Irmejs wrote:
> Perhaps this old workaround still works
> 
> grant permissions 644 (read by others) to /var/log/backuppc/pool.rrd
> 

`rrdtool create` only relied on umask to create its file. Common case is 640 
backuppc:backuppc.
Probably BackupPC_rrdUpdate (in v4 or distribution patches in v3) should 
enforce the permissions to 644.
I don't know if there are usage scenarios when having graph world readable is 
not desirable. Can this be considered as security issue?

--
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] Find all the hosts that did a full backup last night. And then report the time

2016-11-28 Thread Alexander Moisseev
On 28.11.2016 18:00, Carl Wilhelm Soderstrom wrote:
> On 11/24 10:43 , Brent Clark wrote:
>> I've been tasked with job to generate just a simple email / report on all our
>> workstations / hosts that take that long to do a full backup, with out the 
>> need to log into our backuppc servers.
> 
https://github.com/moisseev/BackupPC_report

It is not exactly what are you looking for, but you can add needed conditions 
to the script.

--
___
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] Configure e mail in backuppc

2016-11-16 Thread Alexander Moisseev
On 16.11.16 19:42, Ajin Kaladharan wrote:
> I ment  alert  triggered when  each time a backup gets completed of if the 
> backup fails.

There is no such functionality in BackupPC to send e-mails for job completion, 
but it can send warnings and errors. To configure please refer to 
http://backuppc.sourceforge.net/faq/BackupPC.html#Email-reminders-status-and-messages
 . However, if a backup is not failed, but completed with errors, BackupPC 
doesn't send any warning.
Another option: you can run an external script via cron to get detailed reports 
by e-mail (periodically or conditionally). An example: 
https://github.com/moisseev/BackupPC_report

--
___
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] Configure e mail in backuppc

2016-11-16 Thread Alexander Moisseev
On 16.11.2016 16:25, Ajin Kaladharan wrote:
> Hi ,
> 
> Any body have configured to trigger email alerts for backup updates from 
> backuppc
> 

Please define "backup updates".

--
___
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] Second Destination

2016-10-25 Thread Alexander Moisseev
On 25.10.16 13:23, Jan Novak wrote:
>
>
> Am 25.10.2016 um 11:58 schrieb Markus Koeberl:
>>> yes, also another topic: I use zfs. Will backuppc handle snapshots in
>>> the future?
>> There was this posting on the ZFSonLinux list which might be interesting for 
>> you:
>> http://list.zfsonlinux.org/pipermail/zfs-discuss/2014-March/014859.html
>> It allows zfs send/receive over a highly unstable connection
>
> I had read the php code - there are some errors to fix (what i had done)
> and the script is now running - but i'm not shure to use it ...
>
> First I will try to use zfs native (build in) functions to snap the data
> from one location to the other.
>
> Last question:
> Can Backuppc handle zfs block data? (there are no files to sync, only a
> raw "partition")?
>
> Jan
>

BackupPC knows nothing about filesystem block data.

You should send a snapshot of the filesystem where the BackupPC pool resides 
the remote server.
Then you will have an identical filesystem on the receiving side.

root@sending# zfs snapshot -r zpool/fs@2016-10-25
root@receiving# nc -l 8023 | zfs receive -vd zpool
root@sending# zfs send -vRD zpool/fs@2016-10-25 | nc receiving 8023

If you can't trust your environment, use ssh instead of nc.

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
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 graph stopped graphing

2016-09-08 Thread Alexander Moisseev
On 08.09.2016 17:42, Ali Kalamchi wrote:
> Hi Alexander,
>
> Here is what I can see:
>
>  
> 2.9050436701e+09
>  
> 2.8981833454e+09
>  
> 2.9244842358e+09
>  
> 2.9592163161e+09
>  
> NaN
>  
> NaN
>  
> NaN
>  
> NaN
>  
> NaN
>  
> NaN
>  
> NaN
>  
> NaN
>
>
> It seems that it stopped graphing on the 1st of September. During which we 
> had the issue, and backuppc was off for few days. However, it doesn't seem to 
> get the values anymore since.
> Is there any way to fix that ?
>
> The log didn't show anything expect the dtarting and finishing of the backup 
> jobs. Other that, nothing out of the ordinary.
>
The RRA keeps updating every day, but with NaNs. This means: 1. backuppc 
successfully writes to RRD, 2. there should be corresponding record in the log, 
3. backuppc cannot get pool size for some reason or broken itself. Do you see 
pool size in WebUI above the graphs?


--
___
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 graph stopped graphing

2016-09-08 Thread Alexander Moisseev
On 08.09.2016 16:21, Ali Kalamchi wrote:
> Hi Alexander,
>
> Thanks for your reply. I have looked at the pool.rrd permission and seems to 
> be correct:
>
> -rw-r- 1 backuppc backuppc 11784 Sep  7 01:41 pool.rrd
>
> I have also compared to our second Backuppc (which has the exact same issues 
> with storage, yet it is graphing correctly), and the permissions look the 
> same.
>>From the line above, I understand that user backuppc has read/write 
>>permission, and group backuppc has read only.
> Does this need to be changed somehow ?
>
Permissions are correct, the backuppc user has permission to write. Check 
BackupPC log. Also you can see RRD RRA contents using `rrdtool dump pool.rrd` 
command.


--
___
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] The graph is not showing on the main backuppc page

2016-08-31 Thread Alexander Moisseev
On 31.08.16 19:49, Orazio Di nino wrote:
> Sorry Alexander,
>
> my problem is as follows:
>
> In the CGI, instead of graphics, there are two unidentified icons.  The 
> permissions of pool.rdd are correct (-rw-r-  1 backuppc backuppc 11784 
> ago 31 01:03 pool.rrd).
> If I try to open the image in the CGI i get the following error : 
> http://192.168.2.90/backuppc/index.cgi?image=4 
>  cannot be displayed because 
> it contains errors.

Maybe you find something interesting in the web-server log.

I've seen such an error before, but I don't remember what caused the problem. I 
think CGI returns something else instead of image. If you are lucky it might be 
an error message. Try to save this object as file and inspect its content.

IP addresses in the tag and link don't match (192.168.2.90 != 192.168.15.2). 
Don't you think it's weird?


--
___
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] The graph is not showing on the main backuppc page

2016-08-31 Thread Alexander Moisseev
On 31.08.2016 13:41, Orazio Di nino wrote:
> Hi there,
>
> I performed the following tests to verify problems with rrdtools
> $ su >># cd $LogDir >># rrdtool info pool.rrd >># rrdtool dump pool.rrd | more
> $ su # sh # cd $LogDir # rrdtool graph /tmp/image.png --imgformat=PNG 
> --start=end-4w --end=-300 --title="BackupPC Pool Size (4 weeks)" --base=1000 
> --height=100 --width=600 --alt-autoscale-max --lower-limit=0 
> --vertical-label="" --slope-mode --font TITLE:10:Times --font AXIS:8:Times 
> --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FF 
> DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in bytes" 
> GPRINT:a:LAST:"Current\\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" 
> GPRINT:a:MAX:"Maximum\\:%8.2lf %s\\n" I did the above and that worked just 
> fine...created a file called image.png and shows an empty graph. I read in 
> some post that CGI who should have permissions to read the file pool.rdd. But 
> how do I assign permissions ? thank you.
>

You didn't mention the problem you have.

Assuming you see image placeholders instead of empty graphs in the CGI:
1. Check current $LogDir and pool.rrd permissions with `ls -l` command. 
pool.rrd should be writable for backuppc user and readable for CGI user 
(commonly the same as backuppc user).
2. Modify the permissions appropriately using chown, chgrp, chmod.

In case you see empty graphs in the CGI after BackupPC installation - there is 
nothing to graph yet. Just wait for 2-3 days.

--
Alexander


--
___
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] Postfix problems

2016-07-26 Thread Alexander Moisseev
On 26.07.16 13:30, Kacper Kowalski wrote:
> Hi,
>
> I have issues with email notifications. I checked mailing list, found some 
> tips and advises, but those are not working.
> The problem is, that if I try to send test mail from backuppc user like this:
> root@backup:/etc# sudo -u backuppc /usr/share/backuppc/bin/BackupPC_sendEmail 
> -u kacper.s.kowal...@gmail.com 
> I can see in mail.log file, that my mail wasn't send, because of timing out 
> (sometimes "Network unreachable" is the reason):
> Jul 26 12:12:20 backup postfix/smtp[3496]: 133C643A41: 
> to=>, 
> relay=none, delay=3347, delays=3256/0.02/90/0, dsn=4.4.1, status=deferred 
> (connect to alt2.gmail-smtp-in.l.google.com 
> [64.233.189.26]:25: Connection timed 
> out)
>
Your own MTA (Postfix) has accepted test message and put it in mail queue. So, 
notifications are working.

> I tried to change smtp port to 587 in master.cf  file, but 
> after restarting postfix service and sending test email, the 25 port is used, 
> not 587 (in log file the ip is followed by ":25").
>
It seems like you mixed up client and server ports. I don't think you should 
use submission port to send notifications - gmail requires authentication for 
MUAs.
I'm afraid, you can't get your own mail server up and running if you don't know 
how SMTP works.

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
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 tar problem with umlauts

2016-07-25 Thread Alexander Moisseev
On 25.07.16 12:31, Orazio Di nino wrote:
> Hi Neymar , and thanks for the reply.
> I replaced the SMB file you sent me, but it does not solve. there is always 
> the error "No files dumped for share .".
> Do you have any other idea?

Did you set
$Conf{BackupZeroFilesIsFatal} = 0;


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
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] error crontab

2016-05-31 Thread Alexander Moisseev
On 31.05.2016 13:42, Antonio Rodes wrote:
> root@backupserver:~# crontab -l
> 00 01 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup
> 172.16.0.2 172.16.0.3 172.16.0.4 1
>
> root@backupserver:~# su backup
> 00 01 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup
> 172.16.0.2 172.16.0.3 172.16.0.4 1
>

I'm not sure what your question is about, but you cannot specify user name in a 
crontab. Instead of creating a crontab for the root user, create a crontab for 
the backuppc user or use 'su' inside the root's crontab like that:

su -m backuppc -c 'your command here'

--
Alexander

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
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 FreeNAS as storage for BackupPc

2016-05-21 Thread Alexander Moisseev
On 21.05.16 3:15, Elias Pereira wrote:
> Hello Kris, thanks for the answer.
>
> What the best practice for this?
>
It's simple. Just keep data storage (TopDir) on the local file system, i.e. on 
the same host where BackupPC is installed.

In case you don't have separate machine with enough disc space available, I'm 
pretty sure you can install sysutils/backuppc on FreeNAS itself using port or 
package.
But you should figure out a proper way to do that. I mean FreeNAS is an 
appliance, so make sure you won't lose BackupPC and data after FreeNAS upgrade. 
I'm not familiar with FreeNAS, probably you should install ports/packages 
software in a jail.

> Em 20/05/2016 8:15 PM, "Kris Lou"  > escreveu:
> You want to change the location of the TopDir (it's in the main server 
> config) to mounted nfs path.
> While this will work, you will probably not get same performance as 
> locally mounted filesystems.



--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Issues for future backuppc activities

2016-05-17 Thread Alexander Moisseev
On 17.05.16 13:59, Juergen Harms wrote:
> On 05/17/2016 12:03 PM, Alexander Moisseev wrote:
>> I believe the current configure.pl implementation updates config.pl 
>> automatically. What would you suggest?
>
> I have doubts - but have not looked into it. But I remember that I
> normally had some - very few - lines to change (fewer as backuppc
> progressed to newer releases).
>
Did you upgrade backuppc from sources or some distribution packages?





--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Issues for future backuppc activities

2016-05-17 Thread Alexander Moisseev
On 17.05.16 12:29, Juergen Harms wrote:
> I agree that this is a very important issue. Can you also take the
> aspect on board to facilitate the users work when he adapts his
> customization to a new release? I have always found it extremely painful
> to wade through more than 2000 lines of config.pl to find the 3 lines
> that need to be considered for updating.
>

I believe the current configure.pl implementation updates config.pl 
automatically. What would you suggest?

There is no real "customization" for now. Details and further discussion on the 
issue are here:
https://github.com/backuppc/backuppc/issues/15

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Issues for future backuppc activities

2016-05-17 Thread Alexander Moisseev
On 16.05.16 22:40, Mauro Condarelli wrote:
> Can You create an issue on github, please?
Done.

> Should we ask for debian maintainer input and/or support?
I believe we should invite debian backuppc package maintainer Ludovic Drolez 
not only to discussion on this particular issue, but to the backuppc 
organization. His contacts are available at the debian package tracker.

> IMHO discussion on specifics should be done directly on the github issue.
Entirely agree.

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Issues for future backuppc activities

2016-05-16 Thread Alexander Moisseev
On 16.05.16 20:20, Mauro Condarelli wrote:
> I would add "packaging" as today it's rather hard to install in non-standard 
> places.
As FreeBSD sysutils/backuppc port maintainer I can say one of the first thing 
that should be done is to split up configure.pl in two parts: installation 
script and configuration/update script.
It's practically impossible to create pre-built package with monolithic 
configure.pl script, and I didn't find a way to do that. Finally I managed to 
solve that problem applying awful patch to configure.pl that removed 
installation part from it.



--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Status on new BackupPC v4

2016-05-16 Thread Alexander Moisseev
On 16.05.2016 15:50, Adam Goryachev wrote:
>
> Finally, I've created a github account for myself, I can't promise to do
> much, but if I can at least have the ability to submit patches, then I'd
> appreciate it. Having never worked with github before (other than
> checking out code to use), is there an ability to have (for example) 10
> people active on the project, where any one of them can submit patches,
> and commit patches, but each user can't commit their own patch? Just to
> ensure some level of community review?

Of course it is. Any GitHub user can make pull requests, but only organization 
members can commit them into the code base.


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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

2016-05-16 Thread Alexander Moisseev
On 16.05.16 12:13, Mauro Condarelli wrote:
> If You can, it would be nice if You could bring the repo up-to-date with 
> current CVS.
> After that we can decide if to open a new project for v4 (rationale being it 
> really
> changes a lot and even backend repository structure is not compatible anymore;
> nice nickname might be BackupNG) or simply do a branch and populate it with
> tarball contents.
>
On the other hand v3 and v4 have many identical or very similar code parts. 
Having them as a branches of the same project would simplify synchronous 
changes. I think we will have to support v3 for significant period of time. 
There will be a lot of identical bug fixes. Even minor features would be added 
to both branches.

> I send this message in CC: to the list; whoever is interested in helping out 
> *managing* this (David, Juergen, who else?)
> please speak up. I would like to keep this list short, but not *too* short.
I'am interested https://github.com/moisseev

> Should we move this discussion to the BackupPC-devel list or is it better to 
> keep it here to get a wider audience?.
>
I think for the moment we need a wider audience as possible.
FUY Both lists somehow mirrored to Backup Central Forums as well.


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Status on new BackupPC v4

2016-05-14 Thread Alexander Moisseev
On 14.05.16 13:04, Juergen Harms wrote:
> active again once new contributors show up? how to avoid that the
> initiative that hopefully will get started by this discussion can be
> mis-interpreted as hijacking? I do not suggest to get lost in
It's not hijacking, it's a fork and there are good reasons for that. Don't you 
think it might be a good idea to change the project name then and just leave 
the original project intact?

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Status on new BackupPC v4

2016-05-13 Thread Alexander Moisseev
On 13.05.2016 16:04, Mauro Condarelli wrote:
>
>
> Il 13/05/2016 11:49, Juergen Harms ha scritto:
>> On 04/22/2016 01:45 PM, Bob of Donelson Trophy wrote:
>>> Someday, when the need arises, someone will pickup the banner and run
>>> with it. Post the fix to whatever script needs a line change and we the
>>> users will continue to enjoy the benefits.
> If there's no safe haven the herald running with the flag will, sooner or 
> later, drown in troubled waters.
> I do insist.
> It is imperative to have a central repository where to cumulate all the 
> useful patches floating around.
> Simple fact to have a new release candidate in sight would do miracles to 
> spur contributors.
>
> Is there someone who has write access to the Sourceforge repo (or to the 
> github clone)?
> I would rather not have a fork unless absolutely necessary *and* with the 
> consensus of this list.
>
> Can we talk seriously about this (IMHO extremely relevant) issue?
>>
>> Here is a fix that has become necessary with the upgrade of the oncoming 
>> Mageia-6 release to perl 5.22. - opening an existing backup for 
>> consultation/restore now fails with: (see 
>> https://bugs.mageia.org/show_bug.cgi?id=18251)
>>
>> Software error:
>> Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at 
>> /usr/share/backuppc/lib/BackupPC/CGI/Browse.pm line 68.
>>
>> Using "defined @" had been deprecated in perl and, with perl 5.22, is 
>> not tolerated any more. I attach the patch that fixes this problem
>>
>> Juergen
> Thanks Juergen, but Your useful patch will soon be lost if it remains here as 
> an attachment to a mail with a non-related Subject!
>
> We *NEED* to move beyond v3.3.1/4.0.0pre, otherwise bitrot will disgregate 
> this nice Project.
>
> Regards
> Mauro
>
Juergen, thanks for your reminder! I forgot to patch FreeBSD port.
Actually the deprecated defined(@Backups) was already fixed in 3.3.1 and 
4.0.0alpha3 more than year ago. There are records in change logs. But 
unfortunately the patch itself has been lost somehow from the latest 3.3.1 
revision and Craig disappeared.

--
Alexander

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
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] Copy backups without Backupc

2016-03-31 Thread Alexander Moisseev
On 31.03.2016 17:50, Carl Wilhelm Soderstrom wrote:
>
> The tool to uncompress those files is BackupPC_zcat. It's a Perl script, so
> you can also find the Perl tools to uncompress those files. However, it does
> depend on some custom BackupPC libraries to work (BackupPC::FileZIO). I'll
> attach a copy, so if you can read Perl (I can't really) perhaps it will help
> you.
>

Is it worth it? BackupPC installation is simple and straight forward, you'll 
have BackupPC_zcat working in a second.

On 31.03.2016 15:53, Сергей Загидулин wrote:
> So I will be able to restore files from a backup only if i re-install 
> Backuppc to another server, and use web interface?
You can manually uncompress particular files with BackupPC_zcat, but you need 
BackupPC installed.

> Will see a new instance Backuppc backups and configs "old" instance Backuppc?
Yes, assuming you have __TOPDIR__ on the USB drive, but if you want to use web 
interface, you'll need to recreate a bit of BackupPC configs.

--
Alexander

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140
___
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] Mail recipient

2016-01-23 Thread Alexander Moisseev
On 23.01.16 22:13, Gandalf Corvotempesta wrote:
Is there something like backuppc@localdomain in the BackupPC's hosts file?

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Mail recipient

2016-01-23 Thread Alexander Moisseev
On 23.01.16 15:06, Gandalf Corvotempesta wrote:
> Hi,
> i'm trying to send mail to a specific recipient with BPC 4
>
> I've already set this:
>
> $Conf{EMailFromUserName} = 'n...@mydomain.tld';
> $Conf{EMailAdminUserName} = 'n...@mydomain.tld';
> $Conf{EMailUserDestDomain} = '@mydomain.tld';
>
> as wrote in docs, EMailAdminUserName should be the recipient
> of admin email. It could be a local user (for example "backuppc" or a
> remote address, like mine)
>
> But all email are still sent to backuppc@localdomain
>
> Any advice ?
>
These options might be overridden in the host configuration.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Mail recipient

2016-01-23 Thread Alexander Moisseev
On 23.01.16 22:33, Gandalf Corvotempesta wrote:
> 2016-01-23 20:27 GMT+01:00 Alexander Moisseev <mois...@mezonplus.ru>:
>> On 23.01.16 22:13, Gandalf Corvotempesta wrote:
>> Is there something like backuppc@localdomain in the BackupPC's hosts file?
>
> No, there is only reference to "backuppc" user as administrator for each host:
>
> srv10   backuppc
> srv20   backuppc
>
That is.

In BackupPC's terminology it's a "user", not "administrator".

Hosts file header:
hostdhcpuser  moreUsers

It's a local Unix user, and you can't change its email.
You can leave username in the hosts file blank or use mail alias to redirect 
mail wherever you want.





--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-18 Thread Alexander Moisseev
On 18.01.16 21:33, Les Mikesell wrote:
> On Mon, Jan 18, 2016 at 12:25 PM, Alexander Moisseev
> <mois...@mezonplus.ru> wrote:
>> On 18.01.16 19:53, Les Mikesell wrote:
>>> Does anyone understand the docs at
>>> http://backuppc.sourceforge.net/BackupPC-4.0.0alpha3_doc.html
>>> for $Conf{FillCycle} ?   It looks like expiring is really based on
>>> 'filled' backups, not necessarily full backups as in v3.  The part I
>>> don't get is that it says the most recent backup is always filled
>>> whether it is full or incremental.  If the most recent is filled, how
>>> would any ever be unfilled?
>>>
>>
>> In v4 full/incremental related to backup transfer only, filled/unfilled 
>> related to storage.
>>
>> Here is a short explanation:
>> http://backuppc.sourceforge.net/BackupPC-4.0.0alpha3_doc.html#BackupPC-4.0
>>
>> "Backups are stored as "reverse deltas" - the most recent backup is always 
>> filled and older backups are reconstitued by merging all the deltas starting 
>> with the nearest future filled backup and wworking backwards.
>>
>> This is the opposite of V3 where incrementals are stored as "forward deltas" 
>> to a prior backup (typically the last full backup or prior lower-level 
>> incremental backup, or the last full in the case of rsync)."
>>
>>
>> So, the latest backup should always be filled, i.e. it actually contains all 
>> files.  After the last backup will be taken, files that latest backup 
>> contains will be removed from backups between the last backup and previous 
>> filled backup recursively. Until the last backup was taken, previous backup 
>> was filled, but now it is just "reverse delta".
>
> OK, but then how does that relate to the expiring part - which it says
> is really based on the filled status?
>

v3: 'full'   shouldn't be expired while there is at least one 'incremental' 
that depends on it
v4: 'filled' shouldn't be expired while there is at least one 'unfilled'
that depends on it

Full/incremental doesn't matter for v4 expiration algorithm since it doesn't 
affect ability to restore particular backup.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-17 Thread Alexander Moisseev
On 16.01.16 22:16, Gandalf Corvotempesta wrote:
> 2016-01-16 19:53 GMT+01:00 Alexander Moisseev <mois...@mezonplus.ru>:
>> You mentioned earlier you are trying to backup dovecot with Maildir. Do you 
>> have considered to move from Maildir to mdbox? It will definitely help with 
>> BackupPC and rsync performance. More over you will be able to use dovecot 
>> tools (+ your own scripts) or dovecot replication feature instead of 
>> rsync/BackupPC. It will increase performance dramatically.
>
> mdbox is available since version 2. Some server are very old, with dovecot 1.
>
I don't think old hardware will be a problem for version 2.

I am using low end hardware for a small mail server (P4 2.80GHz, 2GB RAM, 
gmirror of 2 SATA drives) and BackupPC server (P4 2.80GHz, 1.5GB RAM, SATA 
drive) and 100 Mbps networking.

About 2 years ago I was using Maildir and BPC v3 (rsyncd with checksum caching).
Mail storage had about 100 thousands files.
The first two full backups was completed in about 4 hours each.
Subsequent full backups was taken about 30 minutes (if there is no concurrent 
backups).
I never tried BPC v4 to backup Maildir.

Then I converted mail storage to mdbox + SIS (single instance attachment 
storage) + compression. I never tried BPC with mdbox, I see no point, but I 
believe file list building should be much quicker since file number is 
significantly lower. I installed dovecot (mdbox + SIS + compression) on a test 
machine with similar hardware configuration. Initial backup with "doveadm 
backup" took about 1-3 hours, I don't remember exact time. Subsequent everyday 
backups take about 1-2 minutes and don't depend on mail storage size or 
messages number, but on changes made between backups.

Finally for the backup end I've installed dovecot (mdbox + SIS + compression) 
on a server with ZFS. Now, in order to have retrospective, I'm taking snapshot 
after each backup and using BackupPC-like aging.
And "zfs send" to make offline copies.

Hostname| Level | Size (MB) | Written (MB) | Used (MB) | Last available   | 
Days old

tank1/vmail | 0 |  27860.45 | 23650.66 |   2128.86 | 2015-07-11 07:51 | 
 191
tank1/vmail | 0 |  27804.61 |  2073.86 |612.73 | 2015-08-12 07:51 | 
 159
tank1/vmail | 0 |  29287.60 |  2227.53 |686.91 | 2015-09-13 07:51 | 
 127
tank1/vmail | 0 |  30896.84 |  2488.86 |601.22 | 2015-10-15 07:51 | 
  95
tank1/vmail | 0 |  35778.12 |  6177.88 |   1852.94 | 2015-11-16 07:51 | 
  63
tank1/vmail | 0 |  37257.94 |  4151.30 |443.62 | 2015-12-18 07:51 | 
  31
tank1/vmail | 0 |  37257.47 |   519.09 |186.52 | 2015-12-22 07:51 | 
  27
tank1/vmail | 0 |  37273.77 |   545.84 |191.96 | 2015-12-26 07:51 | 
  23
tank1/vmail | 0 |  37564.53 |   686.51 |165.02 | 2015-12-30 07:51 | 
  19
tank1/vmail | 0 |  37533.15 |   415.20 |129.96 | 2016-01-03 07:51 | 
  15
tank1/vmail | 0 |  37454.53 |   220.35 | 99.68 | 2016-01-07 07:51 | 
  11
tank1/vmail | 0 |  37419.07 |   170.54 |107.71 | 2016-01-11 07:51 | 
   7
tank1/vmail | 0 |  37520.83 |   317.79 |112.94 | 2016-01-12 07:51 | 
   6
tank1/vmail | 0 |  37633.12 |   328.19 |113.92 | 2016-01-13 07:51 | 
   5
tank1/vmail | 0 |  37792.96 |   345.29 | 83.54 | 2016-01-14 07:51 | 
   4
tank1/vmail | 0 |  37961.14 |   302.97 | 61.54 | 2016-01-15 07:51 | 
   3
tank1/vmail | 0 |  38045.83 |   178.00 | 12.08 | 2016-01-16 07:51 | 
   2
tank1/vmail | 0 |  38060.19 |31.03 | 15.53 | 2016-01-17 07:51 | 
   1
tank1/vmail | 0 |  38029.69 |38.44 |  0.00 | 2016-01-18 07:51 | 
   0
tank1/vmail | - |  38029.69 | 0.00 |  32687.01 |- | 
   -

NAME PROPERTY VALUE
tank1/vmail  used 43.8G
tank1/vmail  logicalused  51.1G
   
Actual total size of mail stored on the mailserver (prior SIS and compression) 
62GB, 170 thousands of messages.
I know it is a very small server, but you can extrapolate the results.


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-17 Thread Alexander Moisseev
On 18.01.16 4:46, Adam Goryachev wrote:
> So, while generating the file list might take a long time with BPC v3, I
> don't think it should significantly change the overall backup time.
Assuming checksum caching configured, for first and second backup, yes. But it 
is not true for subsequent backups since most of Maildir files never change 
over time.



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-16 Thread Alexander Moisseev
On 16.01.16 15:04, Gandalf Corvotempesta wrote:
> I can't use v3 because i'm having servers with millions of file to be
> transfered and v3 takes ages in "Building files list".

You mentioned earlier you are trying to backup dovecot with Maildir. Do you 
have considered to move from Maildir to mdbox? It will definitely help with 
BackupPC and rsync performance. More over you will be able to use dovecot tools 
(+ your own scripts) or dovecot replication feature instead of rsync/BackupPC. 
It will increase performance dramatically.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-11 Thread Alexander Moisseev
On 11.01.16 11:33, Sorin Srbu wrote:
> Aren't there usually quite some questions about how to set up the
> blackout-periods and related?
> There is a lot of confusion on how to set this up.
>
> May I suggest an overhaul in the GUI, and may be the docs description, for
> this feature to simplify things?
>

The weekDays numbering is documented here: 
http://backuppc.sourceforge.net/BackupPC-4.0.0alpha3_doc.html#What-to-backup-and-when-to-do-it

You suggestion is reasonable, but any changes in the code or documentation 
isn't possible at the moment. You can find details in the BackupPC-devel 
mailing list latest threads.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] BPC 4 very slow

2016-01-11 Thread Alexander Moisseev
On 11.01.16 11:27, Gandalf Corvotempesta wrote:
> But for the rest of my questions ?
>

> Is the partial backup a "good one"? Should't it be an incremental ?
> Why both are "filled"? If I understood properly, only the last one is
> filled.

2016-01-10 08:10:48 incr backup started for directory full
2016-01-10 10:27:51 Got fatal error during xfer (rsync_bpc exited with
benign status 24 (6144))

The incremental backup was interrupted due to fatal error. So, it is "partial". 
It means only some files were backed up. 
http://backuppc.sourceforge.net/BackupPC-4.0.0alpha3_doc.html#Backup-basics

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
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] Error: Unable to connect to BackupPC server

2016-01-07 Thread Alexander Moisseev
On 07.01.16 12:16, Nicola Scattolin wrote:
> i tried to create a directory on backuppc/pc and i get the error
>
> "mkdir: cannot create directory `aaa': Read-only file system"
>
Looks like your filesystem has been mounted read-only. Check that with the 
'mount' command.

Another question why the filesystem *suddenly* entered a read-only state? Check 
system logs and make sure your HDD is working properly.



--
___
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] Error: Unable to connect to BackupPC server

2016-01-07 Thread Alexander Moisseev
On 07.01.16 11:27, Nicola Scattolin wrote:
> I try to launch it manually and i get the following error .
>
> Starting backuppc...2016-01-07 09:23:07 Can't create a test hardlink
> between a file in /var/lib/backuppc/pc and /var/lib/backuppc/cpool.
> Either these are different file systems, or this file system doesn't
> support hardlinks, or these directories don't exist, or there is a
> permissions problem, or the file system is out of inodes or full. Use
> df, df -i, and ls -ld to check each of these possibilities. Quitting...
>
> permission of both folder are drwxr-x--- and the owner is backuppc user.
>
  
Is "file system out of inodes or full" ?
You should check what suggested in the error message: "df, df -i".

--
Alexander

--
___
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] Error: Unable to connect to BackupPC server

2016-01-07 Thread Alexander Moisseev
On 07.01.16 12:02, Nicola Scattolin wrote:
> no the file sistem has many inode free and the file system usage is under 70%
>

Do you have tried to create test hardlinks using 'ls -ld' (with the backuppc 
user credentials)?


--
___
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] Error: Unable to connect to BackupPC server

2016-01-07 Thread Alexander Moisseev
On 07.01.16 12:31, Nicola Scattolin wrote:
> i have looked at the disks with smartctl -H and they look ok
I'd never seen anything besides "result: PASSED" even on failing hard-disks. 
You should better look at the SMART error log and SMART attributes.

--
___
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] R: Re: Storage replica

2015-12-14 Thread Alexander Moisseev
On 14.12.15 14:33, absolutely_f...@libero.it wrote:
> Hi Paolo,
> thank you for your quick reply.
>
> My pool is 2.5 TB.
>
> Sincerely, speed is  not crucial in my case: I just need to store data on a 
> different location, for disaster recovery.
> My doubt is: if I keep two pools synced with rsync, will I able to use it? Or 
> should I care about something in particular?
>
Yes, you will be able to use it assuming you synced whole __TOPDIR__ (and 
__CONFDIR__ backup will also be helpful).
But rsyncing a pool that contains a lot of hardlinks will take unacceptable 
very very long time and require a lot of RAM.

You might should consider some block level backup methods, but it depends on 
file system you are using.
For instance for FFS(UFS) dump does the job. I never tried BackupPC on ZFS, but 
I believe 'zfs send' should work too.
--
Alexander


--
___
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] New install - new issues

2015-12-07 Thread Alexander Moisseev
On 07.12.15 21:09, David Williams wrote:
>> Main difference between "update" and "graph" commands: the "update" is
>> running by BackupPC daemon and the "graph" by CGI.
>> Does CGI have permission to read pool.rrd?
> The above in bold was the issue :) Thanks, working fine now.

That's weird. There is a test in the Ubuntu patch. Images shouldn't appear on 
the page at all if the pool.rrd is unreadable.

+if (-r "$LogDir/pool.rrd" && $Privileged) {
+   $content .= '';
+}

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-07 Thread Alexander Moisseev
On 07.12.15 18:13, David Williams wrote:
>>
>> I did the above and that worked just fine...created a file called
>> image.png and shows an empty graph.
>>>
>
> Any other ideas on why the graphs aren't showing?  It's been several
> days now that I have had backuppc running and the graphs are just
> showing as blank icons.
> If I run the above rrdtool as above this is working fine and I can now
> see a graph with some blue bars to the right hand side.  No idea why it
> is not showing on the main backuppc page.

Is there anything in the logs?

In this particular case the RRD support is added by third party patch
https://launchpadlibrarian.net/185759725/backuppc_3.3.0-2ubuntu1.diff.gz
Is that correct?

If so, it is not a problem with paths or rrdtool binary since BackupPC is able 
to update the pool.rrd.

Main difference between "update" and "graph" commands: the "update" is running 
by BackupPC daemon and the "graph" by CGI.
Does CGI have permission to read pool.rrd?

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-03 Thread Alexander Moisseev
On 03.12.15 21:41, David Williams wrote:
> I recently had to install a newer version of Linux (Kubuntu 15.10) and thus 
> had to reinstall Backuppc (v3.3.0), which I did from repository.  I had 
> several files already backed (config files) so I restored them.

But if you removed pool.rrd during reinstall, it is empty now. You have to wait 
2 BackupPC_nightly runs (2 days) until the graphs appear.


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-03 Thread Alexander Moisseev
On 03.12.15 21:41, David Williams wrote:
>
> -- Original Message --
> From: "Alexander Moisseev" <mois...@mezonplus.ru>
> To: backuppc-users@lists.sourceforge.net
> Sent: 12/3/2015 12:34:54 PM
> Subject: Re: [BackupPC-users] New install - new issues
>
>> On 03.12.15 18:29, David Williams wrote:
>>>
>>>  The image http://192.168.15.2/backuppc/index.cgi?image=4 cannot be 
>>> displayed because it contains errors.
>>>
>>
>>
>> Try to save this object as a file and investigate it's content.
>> --
>> Alexander
>>
>> I don't have the option of saving this as a file when I do a right click.  
>> I've attached a screen shot to show the location of these images that are 
>> not displaying.
>

Looks like you have a problem with rrdtool or $LogDir/pool.rrd is damaged.

You can do simple tests.
(Replace cd command argument $LogDir with actual path)

$ su
# cd $LogDir
# rrdtool info pool.rrd
# rrdtool dump pool.rrd | more

Commands below should create PNG image /tmp/image.png

$ su
# sh
# cd $LogDir
# rrdtool graph /tmp/image.png --imgformat=PNG --start=end-4w --end=-300 
--title="BackupPC Pool Size (4 weeks)" --base=1000 --height=100 --width=600 
--alt-autoscale-max --lower-limit=0 --vertical-label="" --slope-mode --font 
TITLE:10:Times --font AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c 
BACK#FF DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool 
in bytes"  GPRINT:a:LAST:"Current\\:%8.2lf %s" 
GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf %s\\n"



--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-03 Thread Alexander Moisseev
On 03.12.15 18:29, David Williams wrote:
>
> The image http://192.168.15.2/backuppc/index.cgi?image=4 cannot be 
> displayed because it contains errors.
>


Try to save this object as a file and investigate it's content.
--
Alexander


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] Fatal error (bad version): /sbin/nologin: invalid option

2015-10-28 Thread Alexander Moisseev
On 28.10.15 13:25, fujisan wrote:
>
> Where is that number 1768059695 coming from?
>
I guess you are getting some text from remote machine instead or rsync protocol 
message.

DEC -> HEX -> ASCII
1768059695 -> 6962732F‬ -> ibs/

It looks like you have a problem with ssh login.

You changed shell before start backup from command line and it worked.
> # su -s /bin/bash backuppc
If you omit "-s /bin/bash" you should get the same error.

--
Alexander


--
___
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] Fatal error (bad version): /sbin/nologin: invalid option

2015-10-28 Thread Alexander Moisseev
"ibs/" is the reversed beginning of the error message you've got.

"Fatal error (bad version):" folowed by the text received from the remote end:
> Fatal error (bad version): /sbin/nologin: invalid option -- 'c'
> Usage:  nologin [options]  Politely refuse a login.
> Options:
>  -h, --help display this help and exit
>  -V, --version  output version information and exit
> For more details see nologin(8).

--
Alexander

--
___
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] BackuPC with Monit

2015-10-15 Thread Alexander Moisseev
On 15.10.15 10:47, madams9 wrote:
> Consequently, I'm setting Monit to tell me whether the process is running or 
> not and that's it. This seems okay for now, but I continue to look into 
> finding a way to test these things to determine whether they are running and 
> at least sending an alert.
>
I think process monitoring is essential if several minutes of hours downtime of 
the daemon is critical, but it not guarantees that all of your data was backed 
up. If you hosts are always on the network may be you better want to know 
backups was successful (or failed) last night instead of process monitoring?

https://github.com/moisseev/BackupPC_report

--
Alexander

--
___
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 manage disk space?

2015-04-16 Thread Alexander Moisseev
There is a safe way to start BackupPC_nightly immediately - via the daemon:

# su -m backuppc
 BackupPC_serverMesg BackupPC_nightly run

--
Alexander


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
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] FreeBSD backups?

2015-02-03 Thread Alexander Moisseev
On 04.02.2015 2:44, Adam Goryachev wrote:

 My personal preference is to backup *everything*. Anything less than
 this, and you will eventually have the situation where the weird config
 file wasn't stored in the standard place, and you can't restore it, or
 someone wrote a custom script and saved it to /usr/bin instead of
 /usr/local/bin etc The size of the OS files is generally relatively
 small, compress well, and change rarely, therefore minimal cost to
 backup those files, even over a remote/slow connection.

 Regards,
 Adam


I am agree with Adam in general. Also as a bonus you can track changes in base 
system with BackupPC history.
But you don't want to backup the ports tree, I guess.

Additionally, I always store big volumes of data on separate file system and 
after significant changes in OS I make dumps of all file systems where OS 
resides. In case of disk failure bare metal restore from dump is fast and 
requires almost no efforts.

For FreeBSD hosts I usually exclude that directories:

$Conf{BackupFilesExclude} = {
   '*' = [
 '/cdrom',
 '/dev',
 '/media',
 '/mnt',
 '/proc',
 '/tmp',
 '/usr/obj',
 '/usr/ports',
 '/usr/src',
 '/var/db/portsnap',
 '/var/tmp'
   ]
};

--
Alexander

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.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 on Nginx - help, it is killing me!

2015-01-30 Thread Alexander Moisseev
30.01.2015 18:07, lockheed пишет:

 Error#58; Unable to read config.pl or language strings!!
 Note#58; $ENV#123;REMOTE_USER#125; is not set, which could mean there is 
 an installation problem. BackupPC_Admin expects Apache to authenticate the 
 user and pass their user name into this script as the REMOTE_USER environment 
 variable.pache, so useless to me.


You should configure your web-server to authenticate users.
I never used Nginx myself, but you can try to follow this instructions:
https://github.com/Zloy/backuppc_on_nginx

--
Alexander

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.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 on Nginx - help, it is killing me!

2015-01-30 Thread Alexander Moisseev
30.01.2015 18:07, lockheed пишет:

 Error#58; Unable to read config.pl or language strings!!
 Note#58; $ENV#123;REMOTE_USER#125; is not set, which could mean there is 
 an installation problem. BackupPC_Admin expects Apache to authenticate the 
 user and pass their user name into this script as the REMOTE_USER environment 
 variable.pache, so useless to me.


You should configure your web-server to authenticate users.
I never used Nginx myself, but you can try to follow this instructions:
https://github.com/Zloy/backuppc_on_nginx

--
Alexander

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.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] realindex.cgi: defined(@array) is deprecated

2015-01-07 Thread Alexander Moisseev
Yes, you can remove the highlighted text. If @Backups is undefined then 
condition @Backups  0 is false.

http://perldoc.perl.org/perldiag.html#defined(@array)-is-deprecated


--- a/lib/BackupPC/CGI/Browse.pm
+++ b/lib/BackupPC/CGI/Browse.pm
@@ -65,7 +65,7 @@ sub action
  #
  # default to the newest backup
  #
-if ( !defined($In{num})  defined(@Backups)  @Backups  0 ) {
+if ( !defined($In{num})  @Backups  0 ) {
  $i = @Backups - 1;
  $num = $Backups[$i]{num};
  }

--
Alexander

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.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] [patch] Changing backup browsing view from bytes to eg megabytes

2014-11-10 Thread Alexander Moisseev
You can find proper patch here:
https://github.com/moisseev/BackupPC/compare/mainstream-v3...cgi-file-size-v3

$Conf{CgiFileSizeFormat} = 0;

 File size display format for CGI interface. A value of 1 uses sizes in 
bytes with space as a thousand separator, a value of 2 uses format with SI 
prefixes, and zero for sizes in bytes.

--
Alexander

--
___
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] [FreeBSD] BackupPC v4 port sysutils/backuppc-devel is now available.

2014-10-23 Thread Alexander Moisseev
BackupPC v4 port sysutils/backuppc-devel has commited in the FreeBSD ports tree.

-- 
Alexander

--
___
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] Changing backup browsing view from bytes to eg megabytes

2014-10-22 Thread Alexander Moisseev
It doesn't matter where $a-{size} comes from if you can change it right here.


root@backup:/usr/local/lib/BackupPC/CGI # diff -ruN Browse.pm.orig Browse.pm
--- Browse.pm.orig  2014-10-22 15:12:01.0 +0400
+++ Browse.pm   2014-10-22 15:38:50.0 +0400
@@ -206,11 +206,25 @@
  $iconStr = EOF;
  img src=$Conf{CgiImageDirURL}/icon-$typeStr.png valign=top
  EOF
+my $size;
+if ( $a-{size} = 1073741824 ) {
+$size = sprintf( %u GiB, $a-{size} / (1073741824) );
+}
+elsif ( $a-{size} = 1048576 ) {
+$size = sprintf( %u MiB, $a-{size} / 1048576 );
+}
+elsif ( $a-{size} = 1024 ) {
+$size = sprintf( %u KiB, $a-{size} / 1024 );
+}
+else {
+$size = $a-{size};
+}
+
  $attrStr .= EOF;
  td align=center class=fviewborder$typeStr/td
  td align=center class=fviewborder$modeStr/td
  td align=center class=fviewborder$a-{backupNum}/td
-td align=right class=fviewborder$a-{size}/td
+td align=right class=fviewborder$size/td
  td align=right class=fviewborder$mtimeStr/td
  /tr
  EOF

--
Alexander

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] /var/run/BackupPC Alpha3

2014-10-13 Thread Alexander Moisseev
13.10.2014 14:52, rpace пишет:
 Yep, /var/run is on tmpfs...

 How can i fix this ? Script something?

http://askubuntu.com/questions/303120/how-folders-created-in-var-run-on-each-reboot

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
___
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 over slow link: endless loop or just missing patience?

2014-09-29 Thread Alexander Moisseev
https://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg06614.html

--
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
___
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-PC Project

2014-09-26 Thread Alexander Moisseev
On 26.09.2014 20:09, Sharuzzaman Ahmat Raslan wrote:

 Instead of reading directly from files and directories, I think people should 
 start with creating proper reporting API for BackupPC.

  
Retrieving information with BackupPC::Lib is relatively simple.

Here are couple examples:
https://github.com/moisseev/BackupPC_report
https://github.com/moisseev/BackupPC_Timeline


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Easiest way to delete test backups?

2014-09-23 Thread Alexander Moisseev
On 23.09.2014 23:30, Les Mikesell wrote:
 On Tue, Sep 23, 2014 at 1:50 PM, xpac backuppc-fo...@backupcentral.com 
 wrote:
 Hi, I'm fairly new to Linux, and brand new to BackupPC (I've dealt with 
 Netbackup/BackupExec/Commvault in the past in mostly Windows centric 
 environments) - I've recently installed it and started generating some test 
 backups so I can work out any issues, and so far so good.

 However, these are not backup jobs that I would like to keep, I don't see an 
 easy way to delete them through the web interface, so what's the easiest 
 solution (without screwing anything up)?


 If you are going to continue to back up the same content, you won't
 gain much by deleting the test runs since the files are all pooled.
 However, you can simply delete a host's entry under the 'pc' directory
 and delete the host from the backuppc configuration if you no longer
 want that target.  Any pooled files not shared by remaining backups
 will be removed when BackupPC_Nightly runs cleaning out the pool files
 where the link count has gone down to 1.


To remove particular backup:
# cd /path/to/store/pc/hostname
# rm -rf backupnumber
# vi backups  ##remove each line relating to your removed backups

If you do not want to wait scheduled BackupPC_Nightly run, you can start it 
immediately:
# su -m backuppc
 BackupPC_serverMesg BackupPC_nightly run

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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/


  1   2   >