BackupPC-users

Re: [BackupPC-users] Backup local machine?

2009-08-12 09:04:43
Subject: Re: [BackupPC-users] Backup local machine?
From: Steve Blackwell <zephod AT cfl.rr DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 12 Aug 2009 09:00:42 -0400
On Tue, 11 Aug 2009 16:01:43 -0400
bubbagump <backuppc-forum AT backupcentral DOT com> wrote:

> 
> How do I do a simple backup of the local machine? I want to bypass
> SSH completely and just use rsync. Any ideas?

I'm using tar but I am backing up the local machine. Here are the notes
I wrote myself when I set this up a couple of years ago. It may be of
some use to you 

Change the TarClientCmd to "/usr/bin//sudo $tarPath -c -v -f - -C
$shareName --totals". Check the override box. Since we are backing up
the local machine ssh is not required but backuppc has to run as root
to have the permissions to access all files. See sudoers to configure
sudo.

Delete the '+' after $fileList in the TarFullArgs row and check the
override box. The '+' is to escape the shell for remote commands and
will cause problems for local backups.

Delete the '+' after $fileList in the TarIncrArgs row.


/etc/sudoers
Must be edited by root using visudo.

The following line allows user backuppc to run the command /bin/tar on
host steve as user root with no password.

backuppc steve= NOPASSWD: /bin/tar

Comment out the line
Defaults        requiretty

to allow sudo to be run from a script.


Steve

------------------------------------------------------------------------------
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 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>