8:01am, Paul Archer wrote:
> First, I'm new to backuppc, so this may be something I've missed in the docs.
>
> Setup: (K)ubuntu 7.10 on an old PIII
> backup directory is on /backup filesystem (as /backup/backuppc)
> changed backup directory by modifying /etc/init.d/backuppc
> machine name is shebop
>
> I'm using rsync to backup the machine itself. Here's the relevent section of
> /backup/backuppc/pc/shebop/config.pl:
>
> $Conf{RsyncShareName} = [
> '/',
> '/export/bedroom',
> '/export/lildell',
> '/data/extra',
> '/data/home_videos',
> '/data/images',
> '/data/mp3s',
> ];
>
I did a couple of more tests. First I removed
/backup/backuppc/pc/shebop/config.pl, and it backed up normally (backed up
the root filesystem, that is).
Then I changed the order of $Conf{RsyncShareName}:
$Conf{RsyncShareName} = [
'/export/bedroom',
'/',
'/export/lildell',
'/data/extra',
'/data/home_videos',
'/data/images',
'/data/mp3s',
];
The odd thing here is it seems to have completely skipped root. So far it's
backed up /export/bedroom, /export/lildell, and /data/extra.
Anyone have any idea(s) about this?
Paul
> In my main config.pl I have:
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncShareName} = '/';
> #and
> $Conf{RsyncArgs} = [
> '--numeric-ids',
> '--perms',
> '--owner',
> '--group',
> '--devices',
> '--links',
> '--times',
> '--block-size=2048',
> '--recursive',
> '-D',
> '--one-file-system',
> ];
>
>
> My problem is that the system is backing up the /backup filesystem for some
> reason:
>
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop# cd new
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new# l
> total 0
> drwxr-x--- 3 backuppc backuppc 72 2007-11-03 05:27 f%2f
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new# cd f%2f/
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f# l
> total 0
> drwxr-x--- 3 backuppc backuppc 80 2007-11-03 05:27 fbackup
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f# cd fbackup/
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f/fbackup# l
> total 0
> drwxr-x--- 6 backuppc backuppc 208 2007-11-03 05:27 fbackuppc
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f/fbackup# cd fbackuppc/
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f/fbackup/fbackuppc# l
> total 8
> -rw-r----- 2 backuppc backuppc 955 2007-11-02 17:29 f.bash_history
> drwxr-x--- 2 backuppc backuppc 48 2007-11-03 05:27 fcpool
> drwxr-x--- 2 backuppc backuppc 320 2007-11-03 05:27 flog
> drwxr-x--- 3 backuppc backuppc 72 2007-11-03 05:27 fpc
> drwxr-x--- 2 backuppc backuppc 200 2007-11-03 05:27 f.ssh
> -rw-r----- 2 backuppc backuppc 3747 2007-11-02 17:29 f.viminfo
> [EMAIL PROTECTED]:/backup/backuppc/pc/shebop/new/f%2f/fbackup/fbackuppc# du
> -sh
> 3.4G .
>
>
> [EMAIL PROTECTED]:/etc/backuppc# ps auxww |grep rsync
> backuppc 26824 0.2 1.2 6040 3240 ? S 19:21 0:00 /usr/bin/ssh
> -q -x -l root shebop /usr/bin/rsync --server --sender --numeric-ids --perms
> --owner --group --devices --links --times --block-size=2048 --recursive -D
> --one-file-system --exclude=/proc --exclude=/sys --ignore-times . /
> root 26828 3.8 3.5 10648 9020 ? Ss 19:21 0:14
> /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group
> --devices --links --times --block-size=2048 --recursive -D --one-file-system
> --exclude=/proc --exclude=/sys --ignore-times . /
>
> You can see here that the rsync is being passed two directories: '.' and '/'.
> Is that normal? I think this may be the root of my problem, but I can't quite
> figure out how the . is getting there. Any suggestions?
>
> Paul
>
-----------------------------------------------------------
If you live in a small town /You might meet a dozen or two/
Young alien types /Who step out /And dare to declare/
"We're through being cool." -- Devo, "Through Being Cool"
-----------------------------------------------------------
-----10945 days until retirement!-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/