BackupPC-users

Re: [BackupPC-users] New to town - where to begin...

2013-09-18 09:29:52
Subject: Re: [BackupPC-users] New to town - where to begin...
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 18 Sep 2013 09:28:19 -0400
On 09/18 09:00 , afpteam AT sbcglobal DOT net wrote:
> I've started out leasing a backup machine from http://backupsy.com finding 
> them so far to be well resourced, well provisioned and responsive to support 
> questions, having a fair amount of experience and several data center 
> locations established across their entry to the industry in 2013.

Just curious, is there a reason you bought a virtual machine at a remote
location rather than experimenting on a local machine or virtual machine?

> I assume BackupPC runs on the backup server itself? (unsure if client 
> servers require some part of it installed).

BackupPC is a collection of perl scripts with a nice web interface front
end, which store data on the machine BackupPC is installed on. (you could
make it more complicated than that, but it's pretty advanced and there's not
much call for it).

The clients are usually backed up with rsync over SSH, or rsyncd. There is
also a method using tar (only good for local backups, or data mounted on a
network filesystem of some sort), an FTP method (which I haven't used), and
a tar over SMB method (which is now broken in Samba-3.6.3 due to some Samba
changes). There was a project to make a BackupPC client software which would
run on the machine to be backed up, but I do not know the status of it.

> Can BacupPC snapshot and export it's own server's image? (see current drive 
> config below).

BackupPC doesn't really do 'images', it backs up individual files, which you
can assemble into a tarball when you want to restore.

I have my BackupPC servers back up at least their own /etc/ directory. FWIW,
my best-practices advice is to put /var/lib/backuppc on its own filesystem,
so that if the '/' filesystem becomes corrupt or the disk dies or the like,
the backed-up data is still ok; and if the backup data becomes corrupt the
OS is still there to try to recover it. Also, BackupPC can store some data
in the compressed pool of files (/var/lib/backuppc/cpool) and some in the
uncompressed pool (/var/lib/backuppc/pool). I make sure to back up the
BackupPC server's own backup in the uncompressed pool, so that in case of
disaster and only the simplest tools being available to get at your data
(i.e. BackupPC itself not functioning) you can still read your data. Here's
my configuration for backing up the local machine.

$ cat /etc/backuppc/localhost.pl 
#
# Local server backup as user backuppc
#

# dunno why it needs to ping, 
# but after the upgrade to 3.2.1 this became necessary
$Conf{PingCmd} = '/bin/true';

$Conf{XferMethod} = 'tar';

# let it back itself up anytime it wants to.
$Conf{BlackoutPeriods} = [];

$Conf{TarShareName} = ['/'];

$Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc',
'/var/lib/vmware', '/var/log', '/tmp', '/var/tmp', '/mnt', '/media'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f
- -C $shareName --totals';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

# turning off compression on these files, so they can be recovered without
# backuppc.
# wouldn't make sense to need your backup server, 
# in order to recover your backup server, now would it?
$Conf{CompressLevel} = 0;


-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
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=58041151&iu=/4140/ostg.clktrk
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>