iarteaga wrote: > Hello, > > I am testing BackupPC in a CentOS box and it is working great ... but now I > want to backup the BackupPC server itself. I am using an external drive as > backup storage and I want to schedule a backup for the BackupPC system and > config files. Is this possible? if so, how can I configure the path to the > files to backup if the server and client would be in the same machine.... >
Yes, and here's a localhost.pc that's supplied by the current stable release of Debian that uses tar to back up your /etc as the backuppc user. For my BackupPC server I extended it to call a shell script to run tar as root using sudo and to call pre and post commands to set up my filesystems as LVM snapshots. # # Local server backup of /etc as user backuppc # $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = ['/etc']; $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $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'; Works quite well, and since I use variations of rsync to do alternate backups of my server I felt it best to use tar, the extra bytes transmitted don't matter much when they're all on one host. - Harold +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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/
