can't backup /var with backuppc

Discussion in 'HOWTO-Related Questions' started by fstutter, Mar 15, 2008.

  1. fstutter

    fstutter New Member

    hello i resandly installed backuppc by folowing the backuppc howto but i cant backup the /var directory from my opensuse 10.3 client.
    it works fine wen i remove the /var entry from config.pl file.

    this is the error messages:

    Contents of file /var/lib/backuppc/pc/freddysnet-smb/XferLOG.bad, modified 2008-03-15 14:03:27 (Extracting only Errors)

    Running: /usr/bin/ssh -q -x -l root 10.0.1.200 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /var/
    Xfer PIDs are now 8527
    Got remote protocol 29
    fileListReceive() failed
    Done: 0 files, 0 bytes
    Got fatal error during xfer (fileListReceive failed)
    Backup aborted (fileListReceive failed)

    anyone any idear?
     
  2. zcworld

    zcworld New Member

    i take it you are running this as an normal user
    and maybe its failing due to the /var folder is own by the root : wheel group and maybe you dont have access to read whats in some/all of the folders
     
  3. fstutter

    fstutter New Member

    permissions

    the client hase these permissions:

    drwxr-xr-x 15 root root 4096 Mar 8 15:33 var

    al the other folders backup fine
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    mount
    ? Is AppArmor disabled on the SUSE system?
     
  5. fstutter

    fstutter New Member

    info

    mount on the suse client

    /dev/sda2 on / type ext3 (rw,acl,user_xattr)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    debugfs on /sys/kernel/debug type debugfs (rw)
    udev on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
    /dev/md0 on /home type ext3 (rw,acl,user_xattr)
    /dev/sda3 on /srv type ext3 (rw,acl,user_xattr)


    apparmor was already disabled

    mount on the backuppc(Ubuntu)

    /dev/hda1 on / type ext3 (rw,errors=remount-ro)
    proc on /proc type proc (rw)
    /sys on /sys type sysfs (rw)
    varrun on /var/run type tmpfs (rw)
    varlock on /var/lock type tmpfs (rw)
    procbususb on /proc/bus/usb type usbfs (rw)
    udev on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    devshm on /dev/shm type tmpfs (rw)
     
    Last edited: Mar 16, 2008
  6. falko

    falko Super Moderator Howtoforge Staff

    Looks ok... :confused: SUSE - sigh...
     
  7. fstutter

    fstutter New Member

    i men't opensuse 10.3 my mistake
     

Share This Page