On Thu, Jun 30, 2011 at 07:56:59AM -0500, Richard Shaw wrote:
> On Thu, Jun 30, 2011 at 5:54 AM, C. Ronoz <chronoz AT eproxy DOT nl> wrote:
> > I found out that BackupPC is ignoring my Excludes though, while I have a
> > 15GB /pub partition.
> > This could explain why the run takes longer, but it should still finish
> > within an hour?
> > Rsnapshot runs were always lightning fast, network is 1gbit.
> >
> > $Conf{BackupFilesOnly} = {};
> > $Conf{BackupFilesExclude} = {'/proc', '/blaat', '/pub', '/tmp'};
>
> You have to setup the excludes to match the transfer method you're
> using. In the case of rsync I believe they must be relative to the
> backup root.
>
> Here's a snippet from my config. Since I mainly backup home
> directories I exclude stuff like cache and other folder that don't
> need to be backed up.
>
> $Conf{BackupFilesExclude} = {
> '*' => [
> '.cache',
> '.thumbnails',
> '.gvfs',
> '.xsession-errors',
> '.recently-used.xbel',
> '.recent-applications.xbel',
> '.Private',
> '.mozilla'
> ]
> };
>
> Notice there are no '/' on the front of my excludes. Until I setup
> things like this my excludes didn't work.
>
> Richard
>
> ------------------------------------------------------------------------------
I see how you use excludes to exclude back-ups of files with specific
extensions, but then how do I now exclude specific paths per host?
I am planning to back-up about 15 Linux webservers with different roles. Some
host specific archives that take up much space, but do not require back-ups.
e.g. 1 server hosts 50GB of downloads in /pub. Another server hosts 10GB of
internal downloads (installers, windows service packs) in
/sites/site/httpdocs/downloads.
Does your set-up back up /proc as well? This seems to make doing a bare metal
recovery harder, or should I not strive for such a solution?
--
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of 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-d2d-c2
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|