[BackupPC-users] Bare Metal Restore, Windows 7

2015-04-14 Thread Michael Stowe

Of course, BackupPC is well suited to backup and recovery of individual 
sets of files rather than complete systems.  In the event of hardware 
media failure, I'd generally take it as an opportunity to start afresh 
with a new operating system, and recover just the user files.

Recently I lost a drive on a system with a large number of proprietary 
drivers that had been updated over the years, and applying that plus all 
the necessary software would have been a daunting task, so I simply 
restored *everything* from BackuPC, following this procedure:

http://www.goodjobsucking.com/?p=449

I'm happy to report that it works.  While it may not always be an 
adequate substitute for an image backup, the system is back up and 
running and virtually indistinguishable from before its drive failed.



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to manage disk space?

2015-04-14 Thread Les Mikesell
On Mon, Apr 13, 2015 at 4:57 PM,  backu...@kosowsky.org wrote:
 Dave Sill wrote at about 15:28:49 -0400 on Monday, April 13, 2015:
   We've been using BackupPC for a couple years and have just encountered
   the problem of insufficient disk space on the server. I've tried
   searching the list archives for help, but haven't found what I'm
   looking for so far.
  
   What I'd like to know is (1) where is the disk space going,
 To store ayour backups

   and (2) how can adjust BackupPC to use less space?
 Save fewer backups or backup fewer machines

But more specifically, a likely problem is that you have some very
large files like databases, log files, virtual machine images or
mailboxes that change daily and thus are not pooled.  Even with rsync
where only the differences are transferred, a complete copy is
reconstructed and saved on the server and only files with exactly
identical content can be pooled.   Database and VM images generally
need special handling to make sure they don't change while being
copied, so you may want to exclude them from the backuppc run and use
other tools for those files.

-- 
   Les Mikesell
  lesmikes...@gmail.com

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to manage disk space?

2015-04-14 Thread Holger Parplies
Hi,

Les Mikesell wrote on 2015-04-14 09:34:35 -0500 [Re: [BackupPC-users] How to 
manage disk space?]:
 On Mon, Apr 13, 2015 at 4:57 PM,  backu...@kosowsky.org wrote:
  Dave Sill wrote at about 15:28:49 -0400 on Monday, April 13, 2015:
We've been using BackupPC for a couple years and have just encountered
the problem of insufficient disk space on the server. [...]
   
What I'd like to know is (1) where is the disk space going,
  To store ayour backups
 
and (2) how can adjust BackupPC to use less space?
  Save fewer backups or backup fewer machines

Jeffrey has a point here. You don't give us much detail to guess on. A couple
dozen Linux servers can mean just about anything.

 But more specifically, a likely problem is that you have some very
 large files like databases, log files, virtual machine images or
 mailboxes that change daily and thus are not pooled.

That is one possibility. Another would be keeping several years worth of daily
history of large mail servers. Either your history is too long (for the disk
space available), or your backups are too large, or most likely a combination
of both. Backups may be too large either by design (you need to backup too
much data) or by malfunction (you are backing up something you don't mean to
backup).

Yet other possibilities would be that BackupPC_nightly is not running, or that
linking is not working.

Then again, you might have meant to ask, how do I find out where the disk
space is going?. I can't think of a good answer to that. BackupPC's pooling
mechanism means that if you have 100 copies of one file content (all linked
to one pool file by BackupPC), deleting 99 of them won't save you anything, as
long as one remains. Put differently, one host *might* seem very large in
terms of total backup size, yet share all files with other seemingly smaller
hosts. You really have to look at your source data: what are you backing up,
how often does it change, how unique is it? And you have to know your
constraints. If you *need* to keep a long history of a large amount of data,
there is nothing much you can do (except from getting more disk space). If you
don't, the easiest option is to expire old backups and see what happens - just
keep in mind that you don't get back any disk space for content still present
in more recent backups.
Reducing the size of existing backups is somewhat tricky, and reducing the
size of future backups won't gain you anything until the old backups expire.

Actually, there might be a way to shed some light. I'd probably look for large
files with a low link count (-links 2 or 3) in the pc/ tree. You need to be
aware that 'find' will take a *long* time to traverse such a large pool. It
just might be worthwhile to run a rather general 'find' command with output
redirected to a file and then filter that repeatedly to narrow down your
search, rather than running several different 'find' invocations. Or even
looking in the {c,}pool/ rather than the pc/ tree (faster, but you don't get
any file paths, just file content).

Running 'find $topdir/pc/$host/$num -type f -links -3 -ls' should give you an
approximate list of files that would actually be deleted by deleting [only]
backup $num of host $host ('-links -3' takes into account files for some
reason not linked into the pool; in theory, these *should* all be zero length,
but in case of some malfunction, they might not).

Much of that might not make any sense for your particular case, but I hope
some of it helps.

Regards,
Holger

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Backuppc and performance on Apache 2.4

2015-04-14 Thread Michał Mizera
Hi Guys,

I've got a quick question about enabling mod_perl on Apache 2.4, as it is
written on backupppc manual (
http://backuppc.sourceforge.net/faq/BackupPC.html#Step-9:-CGI-interface).

Is it still valid that enabling this would affect performance so much, even
on Apache 2.4, and backuppc 3.3.0?

I've tried to enable mod_perl, as it was written in documentation, but I
haven't even found BackupPC_Admin there.

Cheers
-- 
Michał Mizera
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/