On Tue, 11 Aug 2009 16:01:43 -0400 bubbagump <[email protected]> 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
