Re: [BackupPC-users] Slow web page loading of admin pages
On 18.01.23 04:01, Kenneth Porter wrote: ... Two PCs at the office that are much newer than mine are very slow at loading the web pages ... As a work-around: I am having a similar problem setting up BackupPC on Single-Board Computers: BackupPC itself is performing with acceptable speed, Browser (Firefox) access to the administrative page is too sluggish. Using the Midori browser instead of Firefox (no experience with Chrome) solves this problem and provides perfectly acceptable performance (my choice of Midori is quite arbitrary, there exists a lot of other light-weight alternatives). My guess as to the reason for the bad performance of Firefox on an SBC is the limited size of RAM. Could that be an issue on your environment? Juergen ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
On 14/09/2021 03:34, Adam Goryachev via BackupPC-users wrote: IMHO, it would appear that you had some config issue, and because things were not working you looked for something to blame, the pc symlink looked strange, and so you blamed that (at least that is what I did in the past). Once you understand that this is just a massive non-issue and totally not relevant to any perceived issue, then you can ignore it and move on. Well, this discussion really looks like a non-issue - or rather there is an issue: distro-specific documentation ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
This is not the place to fight for being right, but to understand and document help for users who hit this kind of problem. Trying to understand: how do you define separate and different profiles ("per-host override configs") for each of your 18 different PCs in one single .pl file (i.e. your file at /etc/backupp/hostname.pl) ? or do you mean by hostname.pl a list of specific files where hostname.pl stands for an enumeration of 18 files with PC-specific names? If the latter is the case, our disagreement is very small: each of these files in /etc/backuppc provides config info for one pc, and the pc/ directory does not harm, but is not used (I tried both variants - with and without specifyint pc/ - both work) Juergen ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
After tidying up, here is a PS meant as documentation: - my hypothesis on the role of the loop-back item in /etc/backuppc proofed wrong: Debian backuppc (contrary to the backuppc documentation) simply expects pc-specific definition .pl files to figure in the top-level directory (/etc/backuppc) rather than in a separate directory specified as a link, and therefore - the directory link (pc) from the top-level directory is not needed, this argument can be dropped (at least, backuppc works for me without such an item), - taking these facts into account, and with a minimum number of (evident) changes to config.pl, backuppupc runs smoothly with rsyncd. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
On 9/11/21 6:35 PM, thveillon wrote: Debian is known for its idiosyncrasy, which often is part of the distribution added value, sometime is just added fun for the administrator... I am starting to have doubts on the benefit of replacing idiosyncrasy of disto A with that of distro B. In German there is a saying "vom Regen in die Traufe kommen" (getting out of the rain to under the eaves). Cheers! ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
On 10/09/2021 09:18, Dave Sherohman wrote: I'm not sure why Debian decided to do the pc/ symlink thing, but it works. Debian was doing that with the BPC 3.x packages in debian10 and it never caused any problems that I'm aware of. I am coming back to the symlink question, I did not take it seriously enough. According to backuppc documentation ( http://backuppc.sourceforge.net/BackupPC-4.0.0.html, Config and Log Directories) it is meant to point to a directory that contains per-pc definitions - they serve to override definitions originally made in config.pl but which are to be different for specific hosts. As it is in the present Debian package, this symlink does more or less nothing and does not at all allow to define per-pc configurationd - a very important drawback. You say "it works" - what makes it look as if it works is that in absence of such per-pc definitions the definition in config.pl is used. Juergen ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Backuppc-4 on Debian-11
On 10/09/2021 09:18, Dave Sherohman wrote: I'm not sure why Debian decided to do the pc/ symlink thing, but it works. Debian was doing that with the BPC 3.x packages in debian10 and it never caused any problems that I'm aware of. The symlink thing is a nice feature - if it is properly done: I use symlink (client_list and client_profile) as a means to have all essential data (backup data and client definitions) on a separate drive, with the benefit that for debugging / testing just modifying a single link allows to work on backuppc without the danger to destroy operational backup data. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] backuppc 4 fails without any log
On 07/09/2021 11:43, daggs wrote: looks like the reason if the fact that RunDir is missing from config.pk, even the sample one doesn't have it, is it logic? I am not so sure that a missing RunDir is the fault - I had the same message where the problem was a pure configuration issue. Did you check the output / contents of - sudo systemctl status backuppc.service ? - /var/lib/backuppc/log ? - maybe also the log of the target PC on which backuppc failed ? That might give you more insight on what is happening and on how to do more checking. Juergen ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
[BackupPC-users] Backuppc-4 on Debian-11
Hallo I had planned to migrate from my present distro (my present system runs a correct backuppc 4 installation), and had delayed my move until the release of Debian-11. I am deceived - the backuppc package in Debian-11 does not look solid: - /etc/backuppc/pc (immediately after installation) is a link to /etc/backuppc: an infinite loop - if, to make a fresh start, I remove the backuppc package I had installed (remove backuppc followed by autoremove and rm -rf /etc/backuppc) and do a fresh install, the directory /etc/backuppc will have incorrect contents (only htpasswd and pc). That looks like packaging has not been followed by thorough testing. The recent post ("backuppc 4 fails without any log") might fall under the same heading (rpi4 probably means raspberry, i.e. Debian). Did anybody have success making this Debian package work on his installation? Juergen ___ 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] systemd mount point dependencies
I have some difficulty to understand what you want to achieve. Two questions 1. Do you really need a solution different from the standard approach - i.e. first let the system do automounting, then let Linux launch backuppc as one of the services it automatically starts? For instance: my the server partition sits on an internal drive (not USB), but contains also, and in addition to the backup data, all necessary configuration data (the nodes /etc/backuppc and /usr/lib reside on my home partition, but all effective configuration data are stored on the server partition, linked-to from /etc/backuppc/hosts and /etc/backuppc/pc resp. /var/lib/backuppc). That works fine and allows for quite some flexibility; there should be no problem if the server partition is stored on a USB drive. 2. In case you are stuck with the need for a more fancy setup, are you aware that practically all Linux distros have support for actions to be done once auto-mount (according to the contents of /etc/fstab) is accomplished? This is based on a specific directory where you can put scripts that will be executed automatically, but only once auto-mounting has finished. Evidently, if these actions do mounting, /etc/fstab must specify the corresponding directories with the "noauto" option. You could use this feature to add a script that explicitly controls how and when partitions are mounted and backuppc is launched. How this is implemented varies from distro to distro. In my Mageia distro this directory is /etc/sysconfig/network-scripts/ifup.d, in Ubuntu, for instance, it is /etc/network/ifup.d. Another difference is that some distros call these scripts with 2 arguments - the second one being "up" or "down", other distros have separate ifup.d and ifdown.d directories and do not require the scripts to explicitly make the distinction. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] BackupPC 4.x on Raspberry PI?
Has anybody had good success running BackupPC 4.x on a Raspberry PI? Looks like a quite popular question. Standard Raspbian software comes from Debian, and the present Debian (Buster) BackupPC package is (and will remain for quite some time) BackupPC 3: you have the choice of (a) installing BackupPC 4 from from the tarball - has been done (see https://github.com/backuppc/backuppc/issues/265), but is not quite evident, or (b) trying to run some other distro on the Raspberry (most of them, except Ubuntu, have packages that use BackupPC 4). From the point of view of performance, I would be optimistic. I have had good experience porting a quite complex Gtk GUI (music catalogue application) from my PC to a Raspberry PI - amazing that, although the response times with the PI are slightly sluggish, the Raspberry turned out to be a quite acceptable alternative to the PC (I am using the 8GB RAM variant, but merely for being defensive). The main question with respect to BackupPC is efficiency of Raspberry USB. My music application uses rsync to synchronise the catalogue (200 Gbytes) between the PC and the PI - works without problem, but is not super fast. Good luck! ___ 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] Support for backuppc v4 on standard Linux distros
You replied to my message concerning Mageia and BackupPC v4. Something went wrong with your message - I only received the included copy of my original message, but no text from your side, only a void attachments. I am really keen on making progress with this problem - can you, please, re-send? ___ 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] Support for backuppc v4 on standard Linux distros
On 15.02.19 04:41, backu...@kosowsky.org wrote: ... >I was surprised to find that popular distros like Ubuntu and Debian do >not support v4 even though the presumably stable v4.0 was released >almost 2 years ago. >Any ideas why the distros haven't moved to v4? ... Mageia -- Mageia, both in its stable (6.1) and its development (cauldron) versions, is still offering v3. This is due to a problem with directories in cpool/ being created by v4 with world writeable permissions (probably also in pc/, I can't verify at present), see https://bugs.mageia.org/show_bug.cgi?id=24010 Since the parent BackupPC directory on the server should have 0 world access permissions this is not dramatic. But there is also the issue that v4 makes msec (Mageia security checking tool) output tons of security warnings about world-writeable directories - and it is bad security policy to accumulate backup data that has the flaw of non-perfect write protection. With the suggested patch, directory permissions do become OK and v4.0 runs smoothtly - but the patch is only a temporary workaround (made with the intent to exlude the risk of introducing problems elsewhere). The underlying problem is probably a umask issue. Personally, after applying the patch, I am perfectly happy with v4 and use a self-made correspondingly built package in production: full satisfaction. Presently my server is configured to maintain the old v3 data along with the newly added v4 backup data. I have not yet decided whether I will convert my backup data to all-v4. Mageia is presently preparing a new stable release (Mageia-7, release foreseen for something like April). The decision lies with the development engineers whether they consider the patch sufficient for having v4 in Mageia-7 or whether they expect a well thought-out correction from upstream. ___ 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] Problem with webaccess on Fedora
I am trying to get BackupPC to work on a new machine, new distro (Fedora28) and am new to BackupPC 4 (but I am an old user with predecessor versions of BackupPC). The Fedora package (BackupPC 4.2.1-1.fc28) gives me (in addition to some simple issues - inadequate file permissions, missing apache.users file - a serious problem with the web user interface, and I would appreciate help. I have no problem to get (requesting ::/BackupPC) a first page correctly displayed by my browser (the GeneralInfo page). But when, from that page, I request some action, the requested page appears to be very shortly displayed (too short to verify correctness) and is immediately wiped out again by a newly displayed GeneralInfo page. To assess this interpretation of the problem and better understand what is happening, I added debugging code that traces the calls that BackupPC makes in responses to my request, resp. what is triggered by apache: - the sequence of calls looks somewhat chaotic, - there appear to be redundant initial calls to the CGI initialisation in sbin/BackPC_admin, - such redundant calls also happen immediately after the call in response to my request and, in fact, result in the GeneralInfo page to be launched again and overwrite the initially requested display. I have no idea whether this is a problem of Fedora packaging, of BackupPC implementation, or of my local setup (which is straightforward Fedora28 with Xfce). To illustrate my problem, I attach a trace printout that I get in response to requesting (form the top-level page) the page for a specific host (corresponding result for server calls, e.g. Status). Did somebody already hit a problem similar to this problem? can I get advice how to further clarify? Thanks in advance, Juergen Trace of calls in the CGI interface after the request for a host page The columns in this list are 1 ... msec timestamp 2 and 3 ... module and procedure called 4 ... caller (perl Carp ::longmess) the lines following the calls to NewRequest contain the action code - received, and substituted (--) when undefined 1539336932.642018 sbin::BackupPC_admin" main called at .../sbin/BackupPC_Admin line 58. 1539336932.642174 BackupPC::CGI::Lib NewRequest called at .../lib/BackupPC/CGI/Lib.pm line 96. -- hostInfo 1539336932.646003 BackupPC::CGI::HostInfoaction called at .../lib/BackupPC/CGI/HostInfo.pm line 46. 1539336932.698655 sbin::BackupPC_admin" main called at .../sbin/BackupPC_Admin line 58. 1539336932.698803 BackupPC::CGI::Lib NewRequest called at .../lib/BackupPC/CGI/Lib.pm line 96. 1539336932.699313 sbin::BackupPC_admin" main called at .../sbin/BackupPC_Admin line 58. 1539336932.699451 BackupPC::CGI::Lib NewRequest called at .../lib/BackupPC/CGI/Lib.pm line 96. -- generalInfo -- generalInfo 1539336932.703706 BackupPC::CGI::GeneralInfo action called at .../lib/BackupPC/CGI/GeneralInfo.pm line 49. 1539336932.704619 BackupPC::CGI::GeneralInfo action called at .../lib/BackupPC/CGI/GeneralInfo.pm line 49. 1539336932.748052 sbin::BackupPC_admin" main called at .../sbin/BackupPC_Admin line 58. 1539336932.748189 BackupPC::CGI::Lib NewRequest called at .../lib/BackupPC/CGI/Lib.pm line 96. -- generalInfo 1539336932.753083 BackupPC::CGI::GeneralInfo action called at .../lib/BackupPC/CGI/GeneralInfo.pm line 49. ___ 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] Migrate local data into BackupPC pool for remote client
I have added a corresponding issue at github - I am not sure whether the picking up of access rights to the contents at sourceforge is successfully completed. That makes sure that your remark is not lost. ( https://github.com/backuppc/backupp/issues/20 ) Juergen -- 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/
[BackupPC-users] Does BackupPC need a bug tracker?
BackupPC 3.3.1 has amazingly few bugs to be fixed, handling them as "issues" on github can be a satisfactory way of keeping track. Nevertheless, I suggest to have a short discussion whether, in the long run, some tool specifically designed for bug-tracking (for instance Bugzilla) should be considered. Here are a couple of arguments: - formulating an "issue" in Github is adequate to document a problem, but (as far as I now) there is not much support for structuring and organizing the discussion between the players during bug resolution; - such discussions will be more complex and demanding as maintenance and development is distributed over a larger number of persons; - introducing BackupPC 4 might, if only for a short period of time, increase the number of bugs to be dealt with; - bug-tracking tools offer facilities for managing bug-handling (e.g. priority, responsibility, dependencies, attachments), and for exploring closed bugs and evaluating issues that happened in the past; - the documentation created by a bug-tracking tool might be valuable in case of contestation - to provide solid proof that maintenance of BackupPC is professionally done and corresponds to "best-effort" criteria - for instance in the (very unlikely) case of a law-suit claiming damage due to some mis-function of BackupPC; - putting a bug-tracking tool in place and maintaining it in operation represents a non-negligeable chore to be assured - is this worth while?; - although Bugzilla is probably the best known and well used bug-tracking tool presently available, there exist alternatives - if such a tool is to be used, this requires evaluating and deciding. Juergen I have seen very little traffic on backuppc-devel; posting this here, users may be interested. -- 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/
[BackupPC-users] Git "Issue" re integration of windows clients
I finished carefully going through the recent messages on re-viving backpuppc sent to this list; just one short note before switching to the devel list (to which I still need to subscribe): As a result, I have added an issue on the integration of windows clients - that has been discussed and, I think, agreed as a topic to be tackled and should not get lost. The rest of my review is "secretarial level". As soon as I have had a chance to get familiar with github wiki writing I will post this as a wiki-page (no other topics worth mentioning in what I have noted). Juergen -- 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
On 05/17/2016 01:33 PM, Alexander Moisseev wrote: > Did you upgrade backuppc from sources or some distribution packages? From the Mageia distro - there may be an explanation in that. But at that time I had been maintainer for BackupPC in Mageia - the distro package was essentially the wrapped out tarball. Lets not put too much weight on this - my memory is not 100%, lets just keep the argument that there is a consideration to be aware of. Juergen -- 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] IRC channel
On 05/17/2016 12:41 PM, Mauro Condarelli wrote: > Who should that be? Lars? Juergen? Not Juergen - that is against my mid-range "retiring-from-retirement" strategy (where BackupPC has already made me add a sawtooth function). Re IRC: once it works, can you suggest a period of time where - normally - it is likely that you are on-line / where there is a high probability to meet each other? -- 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
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). I have no suggestions - only "problem awareness". Some two-layer approach might be considered: a static configuration for release-invariant customisation (accessible, to the user, but at similar pains as looking into the code) and some "dynamic" customization - which takes care of issues the user wants subject to fine-control, certainly also issues that had not been foreseen in the static part or reflect modifications introduced by a new release. I know, that is vague, but it indicates a possible approach. -- 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] github setup
On 05/17/2016 11:35 AM, Alexander Moisseev wrote: > https://github.com/backuppc/backuppc/compare/v4.0.0 > Does it help? It does - both for digging into backuppc internals, and for watching git at work - many thanks! -- 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] github setup
Mauro and Lars - can you aim at summing up what is emerging to be "software management procedures and policies" into a short summary paper? That summary will probably end up as a wiki page, but the wiki is not yet on the list of things to be immediately done. Meanwhile, there must be an interim place where to park this kind of stuff and make it easily accessible to contributors (the howto for GIT beginners that emerges from Mauros and Lars' input, along with the links to documentation, is a similar and additional issue). These things should not be allowed to shift into way-off email oblivion. Juergen -- 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/
[BackupPC-users] Issues for future backuppc activities
Opening a new Subject to keep this discussion somewhat readable. Some replies to / and adding to the list of Mauros points: - have me join and participate in git management activities: why not? I have been intrigued by my ignorance on GIT - learning is always a challenge if there are people ready to reply to questions - looking into divergence between V4 and V3x I had also arrived at this kind of topic, but from a slightly different side: draft a short evaluation paper on the state of V3x and V4 - to have a solid base for what we are talking about and for deciding actions and priorities - without that, email discussion might become dispersive. I will pick this up. Immediate conclusion: writing a clever perl programme is one thing - but not a all the same as understanding a clever perl programme written by somebody else and having a different background. Please be patient. - first naive question: what does that mean "to open "issues" on backuppc/backuppc"? one of my black holes. Something perfectly different: how about checking how well different domains of competence are covered by the people already on board - and of themes where we are perfectly blank? We talked about programming skills and software management. What other domains are essential? checking, but also have a list of people whose arm to twist if a problem pops up on some particular issue. How about - web front (or is it back?)-end for the user interface - interface with apache and co - platform (OS) specific issues - is cygwin part of this topic? - components (ssh, rysnc, samba ... ) - what more? (a weak ago I would have considered asking such questions as esoteric) Wiki is another topic (and certainly not first priority). I had a look at the BackupPC wiki at sourceforge. At present it looks like a well-done repository for a summary description on BackupPC. As we explore issues on BackupPC, maybe notes could be collected on topics that would be nice to appear in the wiki. Could the wiki play a role in documenting plans/actions? Is there someone who feels motivated to drive action on the wiki? are there choices to be made? I have experience with wikimedia technology, but the wiki at sourceforge looks different, and I have not seen links to "help". Is the wiki at github yet different? I do not suggest to distract from the principle issue: stabilize BackupPC and establish a solid base for continuing - but I think this kind of tour-d'horizon to get a general idea of the outstanding issues is a good thing to do in the present situation; "for future action" is always a valid reply. Juergen -- 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
On 05/16/2016 01:35 PM, Lars Tobias Skjong-Børsting wrote: > Please post your username if you would like to join in. Yes, please put me on the list. I had mentioned areas of technical skills - I should add that I also have experience in proposing, running and reviewing projects and motivating people - I have a university background and heavily contributed to the creation of the swiss and European academic networks. This experience should also come in profitable with BackupPC. Username: I dont remember (-, sorry - found the confirmation mail when I first joined the list in 2008, but that has no reference to a user name I used at that time. My email address is juergen.ha...@unige.ch - in the past I normally used Juergen_Harms are a lower-case clone, today more and more the email address itself. Can you arrange that, Lars, or should I simply un-subscribe and subscribe again? can you force my email address to be my username? Juergen -- 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
Things appear to shape up nicely, there are positive replies to many of the pending issues. Given the response of Lars - thanks - my biggest preoccupation has gone away: contact with Craig would still be nice, but is not essential any more, and between Mauro and Lars there are now two persons who can actively pursue infrastructure issues - split the load and assure "redundancy" - I agree with Adam, that is important. I agree that a "devel" mailing list is probably needed - but I see the need of keeping the members of the "users" list motivated and aware of what is going on - that is an issue that contributed to having arrived in the present situation. Is IRC an alternative? not my preferred style, but I am more than one generation back. I guess both is needed - some brainstorming will be necessary, that is better done with IRC. Another item where I start being optimistic is sustainability - can the activity we are talking about be maintained over a couple of years? Juergen -- 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
On 05/14/2016 07:36 PM, Mauro Condarelli wrote: >> 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? I appreciate the idea to try and contact Craig Barret - that is homework to be done in preparation of such a decision. Maybe Mauro is too pessimistic about getting a response - Craig has done an admirable job in creating BackupPC, why should he not have interest in an initiative that tries to keep it alive? I append the draft of a letter that could be sent to Craig. I am not a native English speaker - but my main concern is that the letter has a chance to avoid the trash bin and that it asks the right questions (and I think that the second question should be better formulated). Juergen Subject: Initiative to keep BackupPC alive There exists a large and motivated user community (backuppc-users mailing list) that is convinced that there exists no alternative software with the quality and comparable features of BackupPC, and that feels concern on the future availabilty of an up-to-date and maintained BackupPC. Presently there is a discussion on how the necessary activity can be re-launched by contributions from within that community. There are two issues where your input would be highly appreciated: 1. Building on the existing operational infrastructure. At present, BackupPC (software repository, mailing list) uses operational support from sourceforge: who - on the side of BackupPC - is the formal contact to sourceforge, who has access and administrator rights? What needs to be done to allow these rights to be transferred to a new team? 2. Technical evolution. So far, two alternatives have been mentioned: (a) build on the development version (Backuppc 4.0.0alpha1) you have released or (b) continue from the latest stable release (BackupPC 3.3.1) - either as a continuation of the present project, or as a "fork". Is there any chance that you have time and resources to continue to develop or help with version 4? do you have recommendations? -- 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
That sounds positive - tres facent collegium - but I doubt whether three is enough as soon as doing succeeds to talking. I see a formal issue: what any future activity will be based on (e.g. the mailing list, the contents at sourcefourge) has been established by predecessors: who are, for instance, the owners of admin passwords of this list?, are some of the old actors still around and ready to get 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 mind-scratching, but this should be thought about. Certainly the highest priority is to stabilize the situation, to get the software management issue under control to at least avoid loss of speed. Mauro, if you have the necessary skills, can you, at least at an interim basis, try to get things started? - if you want to delegate specific issues that are just work but dont require GIT expertise, say so! > I am available to the community (i.e.: I could set-up the github account, > migrating whatever to it, do some patch review, ecc.), but ... Coming back to the "formal" issue: should we ask the members of this mailing list to confirm that this initiative is something that has general support? Concerning what I can contribute: I am 19 years beyond the 60 year milestone - a period where it becomes foolish to promise solid and sustained help. I have a solid background in perl and C and some areas of Unix tools, but black holes just as solid in others (like samba or using tools like git). Maybe the area best suited to contribute might be documentation, possibly also digging into specific programming issues. Juergen -- 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
On 05/13/2016 03:04 PM, Mauro Condarelli wrote: > We*NEED* to move beyond v3.3.1/4.0.0pre, otherwise bitrot will disgregate > this nice Project. "Bitrot": I agree - the only question is whether in n or in n+5 years. "It is a nice project": I dont agree - it is much more, it offers so much more than any of the alternatives that are around, letting it decay to rot should not happen. Can this list organize itself to resume the minimum of activity that is necessary to keep BackupPC alive? is the necessary competence on board? Personally, I am willing to contribute, but lack many of the skills that are needed (and given my age am only of very temporary use). What is a minimum set of workitems to be picked up? repo management is clearly only the first one I am not worried about my email and its unrelated subject - that topic is trivial - I used it as an illustration and to be provocative. Juergen -- 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
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. 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 diff -p -up ./Browse.pm.org ./Browse.pm --- ./Browse.pm.org 2016-04-26 07:17:22.382125725 +0200 +++ ./Browse.pm 2016-04-26 07:30:43.657865891 +0200 @@ -65,7 +65,8 @@ sub action # # default to the newest backup # -if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { +## Bugzilla 18251 if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) { +if ( !defined($In{num}) && @Backups > 0 ) { $i = @Backups - 1; $num = $Backups[$i]{num}; } -- 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] How to get a email notification weekly
On 11/18/2013 06:29 AM, Alexander Moisseev wrote: As the title, I have set up a backuppc server on ubuntu and it runs ok so far. And I want to get an email notification about the backup status instead of check everyday on server. Any tips or piece of document will help. BackupPC don't send periodic mails, but you can set a cron job. http://sourceforge.net/mailarchive/forum.php?thread_name=52613000.1080806%40galilee.frforum_name=backuppc-users But BackupPC does automatically send email to the system administrator when it sees an irregualarity. There are several ways to avoid that mail to the system administrator (root by default) disappears in a black hole. I do a combination of two things: 1. define the system administrator as harms@localhost (I dont know how this is done in Ubuntu, but should be easy - harms is my login name) 2. set up an account for the email address harms@localhost in my email user agent; that, again this is specific to what you use. Thunderbird allows to do this by creating an account of type unix mail spool. This way of doing has the advantage that I see - and get notified about - new mail in that account just as for my ordinary mail. Personally, I do not want to be plagued by periodic health messages which normally just say OK - I have the habit of periodically (= 1 week intervals) having a close look at what is going on - could be automated, not worth while for mem, though Juergen -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/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] Install guide for BackupPC v3.3.0 in ubuntu/centos
See also: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/backuppc-3.3.0-1.mga4.x86_64.rpm (or at any other Mageia mirror to be found at http://mirrors.mageia.org/report ) -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/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] Install guide for BackupPC v3.3.0 in ubuntu/centos
On 09/28/2013 06:02 AM, Squirrel John wrote: That sounds kinda technical to me. Could you share the steps? http://backuppc.sourceforge.net/faq/BackupPC.html#Installing\%20BackupPC -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/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] BackupPC 4.0.0alpha1 released
Has anyone created a spec file to build an RPM I will have to do this on Mageia, but intend to wait until Beta is out. There are spec-files for past versions on practically all distros - being optimistic I hope that there will not be too much to be modified for 4.0.0 Juergen -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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] BackupPC upgrade from 3.2.1 to 3.3.0 in Ubuntu
I installed BackupPC 3.2.1 using the package before and now I wish to upgrade it to the latest version. Appreciate if you could share the steps for the upgrade without any data loss. I recently built an rpm package for 3.3.0 on Mageia-3. Went like a charm - using the config script from the 3.3.0 tarball - keeping the patch for the workaround against the perl suid problem. My build is local (not yet in the official Mageia repositories) since I did it in preparation of the backuppc package for the upcoming Mageia-4 release. In case you want to have the specfile, say so. When installing the 3.3.0 rpm package, to keep your data: - evidently, use your personalised backuppc/config.pl file; I kept the config.pl file I had used in 3.2.1 (and earlier releases) - might be good to verify if there are items to be adapted, but worked ok without such a verification - work still to do, - make sure that the contents of the file backuppc/host are not modified - make sure that the backuppc/pc directory and its files are not modified -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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/
[BackupPC-users] Status of CVE-2011-5081 (Cross-site scripting vulnerability)
Several distros (e.g. Ubuntu) have recently dealt with the problem mentioned in the subject line by adding a patch in the module lib/BackupPC/CGI/RestoreFile.pm. A bug requesting this security issue to be fixed has now also been filed in Mageia. Trying to follow up this bug, I realised that - according to the references quoted for CVE-2011-5081, the bug is fixed by vendor (the cve notice dates from april 2011) - trying the commands proposed as PoC on my (un-patched) backuppc 3.2.1 installation, there was no apparent problem. Am I right assuming that the patch in RestoreFile.pm is not needed (and that backuppc developpers have solved the problem by a modification different from that proposed in the RestoreFile.pm patch)? I would very much appreciate to receive confirmation in order to be able to close the bug as resolved by upstream (PS: I also tried applying the patch proposed for RestoreFile.pm and did not see any difference in the response to the PoC commands) Juergen -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Had to reinstall
There is second issue to verify when you re-install but keep your old backuppc data: when you install backuppc, and when the creation of a backuppc user is done during install (rpms do it this way) linux will attribute the next availablet uid and gid - which may be different from the uid and gid defined in your original configuration - resulting in a somewhat schizophrenic situation. I have had - after a disk crash - this problem, and solved it by using chown -R To avoid this problem, I now configure my backuppc userr prior to installing backuppc and explicitely specify uid and gid with values somewhere in the range of values that dont overlap with Linux habits. -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ 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] Depreciated perl syntax?
I'm assuming this became depreciated in some recent update to Perl? Yes (see email on this list of 18.12.2011). Attaching the patch --- lib/BackupPC/Storage/Text.pm2011-04-25 05:31:55.0 +0200 +++ lib/BackupPC/Storage/Text_JH.pm 2011-11-28 17:25:44.579141456 +0100 @@ -299,5 +299,5 @@ # Promote BackupFilesOnly and BackupFilesExclude to hashes # -foreach my $param qw(BackupFilesOnly BackupFilesExclude) { +foreach my $param ( qw(BackupFilesOnly BackupFilesExclude) ) { next if ( !defined($conf-{$param}) || ref($conf-{$param}) eq HASH ); $conf-{$param} = [ $conf-{$param} ] --- lib/BackupPC/Lib.pm 2011-04-25 05:31:55.0 +0200 +++ lib/BackupPC/Lib_JH.pm 2011-11-28 17:28:01.830700902 +0100 @@ -1410,5 +1410,5 @@ $conf-{$shareName} = [ $conf-{$shareName} ] if ( ref($conf-{$shareName}) ne ARRAY ); -foreach my $param qw(BackupFilesOnly BackupFilesExclude) { +foreach my $param ( qw(BackupFilesOnly BackupFilesExclude) ) { next if ( !defined($conf-{$param}) ); if ( ref($conf-{$param}) eq HASH ) { -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ 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] perl deprecated files
I have added a corresponding patch for the backuppc rpm package in Mageia 2 (to be precise, in the cauldron pre-release: backuppc-3.2.1-1.3.mga2.i586.rpm). Backuppc 3.2.1 is quite recent: offering a patch allows to decouple upstream and distro release timings. Fedora could do something similar. Juergen -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] starting backup-PC
Typing sudo tail /var/log/syslog immediately after the failure might give some more information on the cause -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Backuppc on Mageia
Backuppc 3.2.1 is now available in the development version of Mageia 2 (cauldron) - it will become the official release in May. There is one item that might be of interest to other distros: all rpm packages in the past (Mageia, Mandriva, maybe others) had built configuration directories and files that are owned by root (the build default). As a consequence, the backuppc web interface did not manage to edit the configuration on the fly. That is now fixed. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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 Mageia
Sorry, I had copied the address from some other email and made some mistake (difficult to find evidence what I preciseley did wrong). I have now created an alias for top-posting on this list, that should prevent a similar accident to happen again. In case there is discussion on the mageia issue, I suggest to reply creating a new thread. Regards, Juergen -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC on Mageia
I have picked up maintainership for BackupPC in the Mageia distro. I am presently preparing to package BackupPC-3.2.1 for Mageia and just realised that Mageia is missing in the Unix distros that include BackupPC (at http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Supporting_distros). It would be helpful to potential users if the BackupPC wiki documents that a BackupPC is also available in this new distro (new, but well out of its infancy). Do I need to specifically ask somewhere for a corresponding correction of the wiki page to be done? Mageia had included BackupPC from the very beginning - initially 3.2.0, than added a patch with the Debian wrapper (a workaround for launching the CGI script in spite of the abadon of perl-suid); a Mageia rpm for 3.2.1 will soon become available. Regards, Juergen Harms -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] Dual-boot backuppc server
I have an environment that - if I understand your plans right - more or less corresponds to what you intend to do and that has worked without problems for me during a couple of years: - Several independant bootable partitions, each with its own copy of backuppc code, of /etc/backuppc/config.pl and of /var/lib/backuppc (in fact, the /etc.backuppc/config.pl files are copies of a standard template) - another file system (in fact another disk) that contains (a) the backup data, (b) the local data needed by backuppc - i.e. the hosts file with the client list, and the pc directory with the profiles of each host, but also (c) the password file used by lighttpd - my httpd server. (b) and (c) could be anywhere, having a single copy of these data makes maintenance easy and avoids accidently introducing conflicting configuration data. The /etc/backuppc/hosts and .../pc nodes of each OS partition are soft links to the effective data. Evidently, I am careful not to reboot while backuppc is running. Normally, my OS partition are different versions of my preferred OS - initially Mandriva, at present Mageia (a production version and several versions with software under test). While I evaluated potential candidates for the succession of Mandriva, I had different Linux platforms on different partitions, and positively evaluated that backuppc also worked in such a multi-platform environment, and that the single copy of the backup data was not corrupted. I am sure that this worked between Mandriva and Fedora, between Mandriva and Mageia - I had tested other platforms, but for some of them I had given up the evalutation early in the game, not sure in which combinations I had gone as far as testing backuppc coexistance. Unless the representation of the data saved by backuppc is modified and unless the format of the host list and the host profiles is modified, this coexistance should also work if different versions of backuppc run on different partitions - but I have not explicitely tested this (except the evident test that happens when a new version of backuppc is installed). -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] Traffic on this mailing list
The traffic on this list is becoming overwhelming. As an average user, I like this list: it keeps me informed, occasionally I can ask a question or reply to a topic where I have active experience. As the list is behaving right now, the only way to avoid excessive loss of time is to do a very rapid scan of the subjects and throw the lot into the trash (which becomes unfeasibe when you are away for a couple of days and the mess on your return has become a MESS). Suggestion: - if this kind of multi-message exchange is necessary, split the list into 2 parts - one for people who have time to play that game, and one for people who dont, - variant: create a list where periodic summaries are published and where discussion is restrained to comments on the summary, - find measures (no suggestions) to improve the discipline on the list. I will not reply to any comments to this note: I will be away for a couple of days and will now un-subscribe. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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: return of investment
I just make an rsync copy of my data to an external USB-attached drive every now and then, and rotate a few drives in and out of my safe. A lot more simplistic than backuppc, and not automated, but it is simple to operate and secure. That is good advice, thank you. Do you rsync the entire backup directory tree? That will save the entire history, but requires an external disk about the same size as the backup drive. But - thanks to links - just a snaphost of the most recent situtation will probably not result in a tremendous saving. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Backuppc: return of investment
I am in vacation and I just got a phone call that my home has been burgled. My wifes PC is gone, with lots of data practically impossible to restore. But, data are saved with BackupPC ... Lessons learned: (1) My principal reason for installing BackupPC had been protection against data garbled due to user mistakes and destruction of data by system/disk crashes - this kind of incident needs to be added high-up in the list of motivations for investing into a backup infrastructure. (2) I had thought that maintaining two sets of data - the original data and the data on the backup server - provides sufficient security. It is not, I was fortunate that the burglar did not find the backup server (I am running BackupPC on a small home LAN). I urgently need to extend my security by periodically saving the backup data to something that is kept at a safe place (I will probably buy an external disk). -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] LightSpeed and BackupPC
Have you seen http://backuppc.wiki.sourceforge.net/Install+Backuppc+with+Lighttpd I did not have any serious problems making things work (Mandriva platform) with lighttpd (and I needed also webdav in order to get a foxmarks server). In case that helps, here is the server definition that I needed to add at the end of /etc/lighttpd/lighttpd.conf $HTTP[host] =~ ^pcjuergen($|.unige.ch) { $HTTP[url] =~ ^/backuppc($|/) { server.document-root = /var/www/backuppc alias.url = ( /backuppc = /var/www/backuppc ) dir-listing.activate = disable index-file.names = ( BackupPC_Admin.cgi ) $HTTP[remoteip] != 127.0.0.1 { auth.backend = htpasswd auth.backend.htpasswd.userfile = /server/www/passwd/backuppc auth.require += ( = ( method = basic, realm = BackupPC, require = valid-user ) ) } } $HTTP[url] =~ ^/webdav($|/) { ... snip ... } } -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ 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 with lighttpd and suexec
I append the end of my /etc/lighttpd/lighttpd.conf file - which works fine for me, maybe that helps. I do not use a specific wrapper, it is enough to have my cgi file set-uid (/var/www/backuppcBackupPC_Admin.cgi on my Mandriva platform) Have you seen http://backuppc.wiki.sourceforge.net/Install+Backuppc+with+Lighttpd $HTTP[host] =~ ^pcjuergen($|.unige.ch) { $HTTP[url] =~ ^/backuppc($|/) { server.document-root = /var/www/backuppc alias.url = ( /backuppc = /var/www/backuppc ) dir-listing.activate = disable index-file.names = ( BackupPC_Admin.cgi ) $HTTP[remoteip] != 127.0.0.1 { auth.backend = htpasswd auth.backend.htpasswd.userfile = /server/www/passwd/backuppc auth.require += ( = ( method = basic, realm = BackupPC, require = valid-user ) ) } } $HTTP[url] =~ ^/webdav($|/) { $HTTP[url] =~ ^/webdav/fox_ { server.document-root = /server/www/foxmarks ... snip ... } } -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Revamping the Wiki
I dont want to interfere with your conference - the discussion will be more efficient with few participants. But in case you need additional hands for doing the actual work, let me know - I am willing and motivated to help (but my experience with backuppc is only a few weeks old). When you have your discussion, I suggest that you have a look at the split of the existing documentation between the Wiki FAQ and TipsTricks sections, but also their complementarity with the official document. It should be possible to have this better correspond to where you would intuitively look for information. Probably much substance could be moved from the FAQ to a (possibly restructured) TipsTricks section. Maybe TipsTricks could be split into a section with conceptual information and a section with practical suggestions. I would confine the FAQ to a well selected list of short and precise statements - where appropriate with references to the sections with extensive text. I also have some comments on specific issues to include, but I agree that the revamping of the structure should come first. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] Arguments for --filter don't get proper escaping
A nice workaround to this backslashing problem is to place your filter statements into a file - say /home/user/rsync_filters - and add a corresponding statement to your arguments: --filter=.\ /home/user/.usync/filters If you later want to add additional filter statements to your command-line, your command line will probably blow up even if you become a backslash acrobat, a filter file makes things much easier -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Arguments for --filter don't get proper escaping
Is your space character different from the one above (other than being escaped For a single filter statement there is no diffence whatever - the advantage comes if you add additional filter statements - if Thomas starts setting things up, why not in a way that scales? Sorry for the other two issues - I did a bad job in rapidly copy/pasting an example. But: where is the problem storing a filter-file next to the other configuration data? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Exclude directory based on dot file?
Rsync supports precisely what you want: place the following item into your RsyncArgs argument list (the name .rsyncPerDirFilter is just a name choosen for this example - but the space between the : and the name is mandatory, possibly needs to be backslashed). --filter=: .rsyncPerDirFilter In each directory where a user wants files to be excluded, he can create a file of that name, with a content like - suchafile - /suchafile* - /suchadir/*** to exclude all files/directories that match one of the patterns (be carefull, rsync reads these lines one after the other and triggers on the first match it finds - later matches are not seen, even if they would be more restrictive). Have a look at the INCLUDE/EXCLUDE PATTERN RULES in the rsync man page. I found this slightly dangerous - you introduce a filter file and than forget about it or dont tell about it ... -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Ownership preservation
I have been playing around and checking, and found that I have a problem with perserving ownership (only group ownership tested) (presently using rsyncd transfer method). Testing ownership preservation: - create a file dummy in my home directory of a client - chgrp tty dummy (had been created with owner=group=harms) - incremental backup (which includes a home directory share) - rm dummy - in /etc/rsyncd.conf set readonly = false for my home directory share - CGI direct restore of the file dummy - ls dummy gives owner and group as harms - but group should be tty What may I have done wrong in my setup? I checked the evident: $Conf{RsyncArgs} and $Conf{RsyncRestoreArgs} contain --owner and --group. Is there a way to see the command that backuppc effectively launches when it starts a backup, a restore operation (I think to remember having seen that somewhere)? - a first thing to clarify would be to see whether ownership is incorrectly saved at backup, or whether it gets wrong during restore) When, for restoring, I select download a tar-file, also the tar-file has the wrong group ownership - that is probably an indication that things go wrong already when the backup is made. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Ownership preservation
Same problem with incremantal and with full backups Thanks for replying, Juergen -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 make a backup available as a backup basis for another client?
I did some googling (rsync tutorial, rsync tutorial filter) - quite some good stuff, but not much on filtering. Have a look yourself. The best - but not easy-to-read - document is the rsync man page. Here are 2 examples http://linux.byexamples.com/archives/305/filter-what-to-backup-with-rsync/ http://everythinglinux.org/rsync/ There is a confusion between filter files, exclude files, include files - they all do more or less the same, and observe the same syntax. I use a GUI frontend to sync some directory zones between hosts. Syncing the zone common (defined in the clients /etc/rsync.d file generates the following command (I include everything in order to illustrate what can be done, many things you do not need): rsync --log-format=%n%L\ %i\ %t --progress --links --filter=-C --hard-links --filter=:\ .syncPerDirFilter --filter=.\ /home/harms/tmp/usync_6582 --modify-window=1 -rzvDnuogpt ltjuergen.unige.ch::common/ /home/harms/common/ --log-format and --progress generate formatted log statements to help the GUI interpreter do its job - you will not need this --links symbolic links are transferred as symbolic links --filter=-C excludes files like backup files etc. from being transferred --hardlinks hard links are transferred as hard links --filter=:\ .syncPerDirFilter merge the filter rules you provide on your command line with filter rules that are specific to specific directories on your client - the file .syncPerDirFilter, if it exists in a directory contains these rules. Very usefuls if you apply the same rsync command to different machines machines and want to suppress syncing machine-specific files --filter=.\ /home/harms/tmp/usync_6582 a filter file (example below) generated by my GUI and allowing to select the set of sub-directories you want to sync on a case by case scenario --modify-window=1 tells rsync that matiching times between the server and the client should have a 1 millisecond tolerance (to allow for slightly different clocks) the other options are evident, see the rsync manual (the n option is there since I run the GUI as a dry-run to produce this example). pcjuergen ~ more tmp/usync_6582 + /.mm_folders/ + /.mm_folders/** + /.Skype/ + /.Skype/** + /.tel/ + /.tel/** + /aaa-pweg/ + /aaa-pweg/** + /avr/ + /avr/** + /BackupPC/ + /BackupPC/** snip + /.directory + /abook.mab + /bookmarks.html + /browser_home.html + /kde-config + /MemoGmunden + /ModLog - * The items before the snip save the directory and than go down to the next level (slightly redundant to the -r option, I need this to allow to pilot by the GUI what is and what is not saved), after the snip are files. The - * is a match-all statement making rsync skip all nodes for which there is no hit in the filter file. I only use includes (+), (-) items would exclude files. Rsync reads the filter file for each node until it finds a matching rule, does what the rule says, skips all remaining rules and starts with the next node. What you will need is probably just use -r and have a filter file to exclude the nodes you do not need (- /something) -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Problem with $Conf{BackupFilesExclude}
Have a look at http://backuppc.wiki.sourceforge.net/Common_backup_excludes I find the linux excludes somewhat spartiate - different utilities place backkup and temporary files at well hidden places. I just started getting things together, my intial setup for my home directory illustrates that there may be need for additional items to add to the examples quoted above - the kde Trash file is a good example. And I have not yet started hunting for temporary files produced by various Unix utilities. $Conf{BackupFilesExclude} = { harms = [ '/tmp', '/.local/share/Trash', '*~', '#*#' ] }; For windows, I do not know enough to point out useless stuff. My initial exclude files are simply dictated by what I find in the error log - files that backuppc could not access, because Skype, Thunderbird etc. are using them - I like to have 0 errors unless backup really requires attention. Starting from the example in the URL quoted above and adding files I found in the error log, I added quite some Skype files, and had to deal with the fact the different Mozilla version place the same kind of file at /Application Data and at /Local Settings/Application Data - I simple added pairs of items to catch both. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 Lighttpd
Thanks, that looks like a proper solution to my problem. I also had to do some twiddling with the suggested suggestions, mainly in the domain of file- and directory ownership. Basic fact: I want to continue having the ...httpd logfiles belong to apache. Result: practically all web script are run by user apache (password files belong to root, but are readable by group apache), BackupPC is setuid - the entire directory /var/www/backuppc in consequence can belong to backuppc. Background: I wanted to create (and have) installed my own server for foxmarks - same consideration, and no conflict in proprietaryship between foxmarks and backuppc. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 Lighttpd
Thanks once more: index-file.names = ( BackupPC_Admin.cgi ) does the job - using http://site/backuppc now works as it should, no need any more to append the name of the cgi file. However, cgi.assign += ( .cgi = ) does mischief - it makes lighttpd forget that it must call the cgi code when it sees a filename.cgi file - my script only works if I keep cgi.assign = ( .cgi = /usr/bin/perl ) which looks normal to me. I append the significant part of my script. Principal difference with respect to the template script from the sourceforge howto: - authentification is skipped for local calls on the server - the URL can be site/backuppc/?host=client-name - something you frequently want and which suppresses the need to start with the server page (in my mozilla taskbar I have a folder with backuppc URLs which behaves like a pulldown menu - server, pc1, pc2 ...) - $HTTP[host] =~ ^pcjuergen($|.unige.ch) { $HTTP[url] =~ ^/backuppc($|/) { server.document-root = /var/www/backuppc alias.url = ( /backuppc = /var/www/backuppc ) dir-listing.activate = disable index-file.names = ( BackupPC_Admin.cgi ) $HTTP[remoteip] != 127.0.0.1 { auth.backend = htpasswd auth.backend.htpasswd.userfile = /var/www/passwd/lighttpd auth.require += ( = ( method = basic, realm = BackupPC, require = valid-user ) ) } } $HTTP[url] =~ ^/webdav($|/) { $HTTP[url] =~ ^/webdav/fox_ { etc. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 make a backup available as a backup basis for another client?
I agree, I would separate initial cloning (better use plain rsync) and backup operations (a case for backuppc). From what you wrote, I am not even sure whether - once you have done the initial cloning - in steady state you want to do backup (periodically take incremental or full snapshots) or synchronising (make sure that file-system zones correspond to each other - again, simpler to do with plain rsync). For cloning, you could consider preparing a filter file for rsync, probably using a simple script that collects file- and directory names you want / do not want to transfer and that already formats them into the format needed by an rsync filter file, and maybe than manually review these contents to catch specific cases. If you write a filter file, the sequence is important (to distinguish catching file abc and file abcd). The -t option of rsync makes it preserve the modification time, and the -c option tells rsync to use checksum (does it use md4?) or size+mtime to decide whether files are identical. And yes, handling of links is a little bit messy to set up correctly. Rsync is complex, idem the man-page. In case you want examples of command lines and filter files to get a quick start, say so. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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 Lighttpd
You are right - basic workload is no problem at all - backuppc web transactions happen very rarely. I have backuppc already running on apache, but wanted to have lighttpd to get webdav in support of a local foxmarks server. Again, load is not a problem, but the foxmarks documentation is very insistent that - on the long run - foxmarks support will be better if webdav is used. It looks like webdav can also be run with apache, but after some googling I decided that documentation is much more solid for getting things done with lighttpd - and, having no experience whatever in playing around with http servers, I need good documentation. Now that I am through a first step in the learning curve, I have the impression that the perl configuration files for lighttpd are much more flexible and easy to set up than the httpd configuration files - the problem with starting a cgi server + loading all the style sheets in the same directory is the only exception. An alternative would have been to run httpd and lighttpd next to each other, but that would only have been a second choice in case of excessive difficulties with lighttpd. Concerning that problem, I have found a quite satisfactory workaround: rather than calling the server with a URL that points to the directory, I (.../backuppc), I used /backuppc/BackupPC_Admin.cgi as an URL and the problem goes away. The user does not see this slightly ugly URL - he uses a bookmark in his toolbar folder. So, fundamentally the problem has a satisfactory workaround, but - learning - the academic question rests: with lighttpd, can one use an alias that goes to the directory and have all style sheets that sit next to the cgi included? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Excluding Temporary Internet Files to avoid log errors
I just included an additional share to be included into the backups on an XP machine (c/Documents and Settings/Juergen - my own directory on my wifes PC, backups are done by the user Juergen) and got flooded with messages in the error log of the type: Remote[1]: rsync: readlink_stat(Local Settings/Temporary Internet Files/Content.IE5/1F5UL...snip...SQWQ.jpg (in docs-juergen)) failed: File name too long (91) Checking some time later, I did not find these files. I assume that these files are temporarily created during the backup process. Question 1: is this right? I then did some googling and found a reference to the BackupPC wiki which gives valuable suggestions for exclude files: http://backuppc.wiki.sourceforge.net/Common_backup_excludes - but I had not found the corresponding item in the index of the wiki (left frame). Question 2: is this a problem of my browser (I had tried with firefox and with konqueror) or is there a problem in the wiki, for instance that it cuts off the lower part of the index in the left frame? I had planned to add exclude lists some time later - that is apparently an important and urgent issue. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Backuppc on Lighttpd
I am trying to make BackupPC run with Lighttpd (Mandriva 2009.0). It works - nearly - fine, but I do not get the left frame of the http user interface - the block with the Host and Server control widgets. These widgets are not lost, they are displayed at the bottom of the remaining - and correctly displayed - right part of the window. This looks very much as if I correctly start the cgi (BackupPC_Admin.cgi), but that the css files (which are stored next to BackupPC_Admin.cgi) are not loaded: If I turn lighttpd of and httpd on and start the browser, I obtain a - correct - display. If I than stop httpd and start lighttpd, I still can correctly talk to the server and obtain correct displays (the style sheets still being stored in cache). The left frame stops being displayed as soon as I clear the cache of the browser. Does somebody know whether this is a problem of lighttpd, or did I miss an element in my script that I need for having the css files correctly loaded (which I did not see in any of the - excellent - tutorials and howtos that exit)? This question is halfway between this list and the HowtoForge Linux forums - I start asking my question here. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Change target directory
$Conf{TopDir} appears to be a hardly coded variable. My understanding is that, in your configuration file, you can set it to any value you want, but that the result you intuitively expect will only be achieved as long as you stay within the file-system that contains the backuppc configuration data. Google reveals abundant references to that topic. I had found clear instructions on what to do in the wiki, but can't find them any more - the wiki appears to have been recently improved. From memory, here are the 2 principal alternatives for using a directory on another file-system: 1. mount - as already suggested - your backup file-system directly at the mount point /var/lib/backuppc 2. do a bind-mount of the backup file-system - mount your backup file-system at the mount point of your choice, e.g. backup-mount - do mount --bind backup-mount /var/lib/backuppc to have this done automatically at boot time, add a line to your /etc/fstab file - backup-mount /var/lib/backuppc none bind In both cases, set the TopDir variable correspondingly. Also make sure to save any data previously stored at /var/lib/backuppc before you use that node as a mount point. This is really from memory: I am far from home and do not have access to the system with backuppc and the corresponding notes. big smiley and cheers! -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ 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 working for a year, all of a sudden nothing works
It looks like the educated guesses do not help in this case. Something breaks without leaving an evident trace at the level of backuppc and of Linux - you need more evidence (I agree, after having eliminated the most likely explanations for such a diffusely manifested error). The next step I would attempt (and which has already been suggested) is to try and get more direct feedback from rsync: look at the command-line that backuppc generates and than run this command manually from a shell - maybe adding a -v to get more output. There may be some hope that rsync produces a helpful message which is not caught by backuppc and by the OS and which might give you a hint on what is going on. -- ___ 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_link got error -4 when calling MakeFileLink
I do not recommend one solution or the other, both work. I prefer (2). The configuration is easier to read if you find the mount-point of file-systems directly under /. And, according to the man-pages, --bind is not obsolete, -o bind might be. This documentation comes with the kernel, I consider it official Linux documentation. Thanks, I will change the group ownership of the topDir directory to root (and keep backuppc as owner - backuppc in fact does add directories, it added pool in addition to the already existing cpool and pc directories during the night after my original install). Indeed the wiki is the second place where I look for information - looks like that is part of the general problem of how to find. -- ___ 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] sshd on client?
I think it should be possible to set up password-less ssh login for the user backuppc just as for any other user - that is what I intend to do, but have not yet got round to - will I lose my time? A tip for setting up ssh: I store the keys (both at the host- and at the user-level) in a shared (non-bootable) file-system and have symbolic links from /etc/ssh/xxx and from the users .ssh/xxx to these files. That makes life much easier when I re-install an OS partition (for instance when new releases become available). -- ___ 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_link got error -4 when calling MakeFileLink
I fought these messages yesterday. In my case the reason is that topDir - the directory where the backup data is stored - is a separate file-system, and that BackupPC has problems dealing with that situation. Googling provided 2 alternative solutions (there appears to be quite an epidemy of people suffering from this problem): 1. Make /var/lib/backuppc an empty directory (if currently you have data there, start by saving it elsewhere), and than mount your topDir file-system at /var/lib/backuppc (also documented in http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html). 2. Use the --bind option of mount (the Google reference suggests -o bind, I guess another and probably obsolete flavour of --bind, not documented on my Mandriva platform). I start by mounting my file system for backup data quite traditionally at the mount point /backup, but after that I add an additional mount instruction: mount --bind /backup /var/lib/backuppc That acts like a hard link between /backup and /var/lib/backuppc - you see the same data through either mount point (and, evidently, you must again start by saving any data at /var/lib/backuppc) - and BackupPC appears to be happy, no more error messages. You will probably want to avoid the explicit mount --bind ... instruction: this is done by adding to your /etc/fstab - I placed it directly after the mount /dev/xxx /backup ... instruction - the following line: /backup /var/lib/backuppc none rw,bind 0 0 with the result that the 2 mount points get mounted at boot time. I also changed owner and group of /backup to the backup user - but there I am less sure how correct or imperative that is. I read that a new release (3.1.1) of backuppc is being prepared - short of fixing this problem, it might be a good idea to add a couple of words to the documentation, warning about this restriction in the configurability of the topDir variable. Good luck! ___ 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] Passwords for rsync on client
Things start to run smoothly, backupPC is really nice to install and make running. But how do I reasonably proceed with password protection for client rsyncd? To get started, I presently use $Conf{RsyncdAuthRequired} = 0; - works nicely, but not protection. As an alternative I see that I can set that variable to 1, but then I must store the password in the config.pl file - which needs to be world readable. Not a good solution either - are there other alternatives? -- ___ 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] Passwords for rsync on client
Thanks, the ssh solution looks attractive. As a quick fix with fair security I changed the properties installed by my Mandriva package to backuppc as owner and group and restricted access to the owner - works nicely -- ___ 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] Passwords for rsync on client
Your BackupPC Install Guide is an extremely helpful document! http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html Sorry for posting again, but this document is worth the publicity (and I somehow did not see it when I did my initial homework with google). -- ___ 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] Specifying DHCP client addresses
I am trying to plan my first backupPC installation and have a question on how to set up the backupc/host file (Mandriva 9.0, intending to use rsync). The How BackupPC Finds Hosts section in the documentation is very clear: for DHCP hosts I should set the DHCP flag to 1 and then will get NETBIOS name resolution (rmblookup). That means, that I need to install a samba server on each DHCP client - which is an overkill and an undesired complication, I do not need samba if I use rsync. 2 questions: 1. If the /etc/hosts files on the server and clients contain the correct IP addresses, can I than simply set the DHCP flag to 0 and fake using static addresses, even if a host has obtained its address via DHCP? 2. If yes, has anybody experience in using nmap for verifying/correcting the /etc/hosts entries for use by backupPC? At present I use nmap (run as root) to get a list of valid name-IP address mappings for manually adjusting addresses if a DHCP laptop needs to assume certain server functions. It looks promising to digest this into an automatically run procedure. Thanks! -- ___ 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] Specifying DHCP client addresses
Most DHCP servers can be configured to hand out the same IP address to a machine every time This alternative is not feasible unless I install a software DHCP server on one of the machines. At present I stick (quite small and simple LANs) to the servers that sit in the xDSL router boxes - my current boxes do not allow to do what you suggest (one of them is ISP provider-imposed and configured). I will suspend the decision until I have some hands-on experience with backupPC. Thanks for you reply! -- ___ 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] Specifying DHCP client addresses
I think you misunderstood this. Nmblookup runs on the backuppc server, not each client, and it communicates with the native windows name resolution protocol When I run nmblookup on the server, I expect a response to the broadcast from clients, and in particular from Linux clients (which do not have native windows name resolution). If I got it right, the nmbd daemon can do that job, and this daemon is packaged into the samba-server. I tried: after installing the samba-server and adjusting the firewall correspondingly I get the responses with the name-to-address mapping. Did I misinterpret how it works? Yes, I will have a look at installing a name server. But I wonder whether a 10-line script (probably fewer lines) for occasionally adjusting /etc/hosts is not much simpler. -- ___ 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] Specifying DHCP client addresses
Thanks, and yes, the problem is mobile laptops (occasionally mobile). The positive answer to (1) means that I can go ahead, considering them quasi-static and set the DHCP flag to 0. First priority is now to get backups working, optimise mobility later. -- ___ 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/