Bug#677410: backupninja: more issues with the rsync helper

2012-06-15 Thread intrigeri
Hi Paul,

Paul van Tilburg wrote (13 Jun 2012 18:47:36 GMT) :
 I find three things to be wrong:
[...]
 3. I've found that it syncs /proc (amongst which /proc/kcore which always
gives IO errors), although it's in the excludes.  When I use ps to
examine the commandline, I get:

This one should be fixed in 1.0.

Please report the other bugs separately, else it's a total mess to
track, as we've seen previously.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#677410: backupninja: more issues with the rsync helper

2012-06-13 Thread Paul van Tilburg
Package: backupninja
Version: 1.0~rc1-1~bpo60+1
Severity: normal

Hi!

I've recently updated to 1.0~rc1-1 via backports and am unfortunately
still experiencing quite some issues.  First of all, a part of the log:

  Info:  starting action /etc/backup.d/10.cube.rsync (because of --now)
  Debug: yes
  Debug: executing handler in locked section controlled by 
/var/lock/backupninja/_etc_backup.d_10.cube.rsync
  Debug: ssh -T -o PasswordAuthentication=no -p 22 -i /root/.ssh/id_rsa.ninja 
root@cube 'echo -n 1'
  Debug: Connected to cube successfully
  Debug: RSYNC_RSH=ssh -T -o PasswordAuthentication=no -p 22 -i 
/root/.ssh/id_rsa.ninja
  Info: Rotating /media/Backup/cube///...
  Warning: Warning: metadata does not exist for /media/Backup/cube///daily.1. 
This backup may be only partially completed. Skipping rotation.
  Debug: skipping rotation of /media/Backup/cube///weekly.4 because it was 
created 3 days ago (21 needed).
  Debug: skipping rotation of /media/Backup/cube///weekly.3 because it was 
created 3 days ago (14 needed).
  Debug: skipping rotation of /media/Backup/cube///weekly.2 because it was 
created 3 days ago (7 needed).
  Debug: skipping rotation of /media/Backup/cube///weekly.1 because 
/media/Backup/cube///weekly.2 already exists.
  Debug: /media/Backup/cube///monthly.1 does not exist, skipping.
  Debug: removing orphaned metadata monthly.1
  Warning: we seem to be resuming a partially written 
/media/Backup/cube///daily.1
  Info: Syncing / on /media/Backup/cube///daily.1/...
  Debug: nice -n 0 /usr/bin/rsync -avF --delete --numeric-ids --rsync-path=rsync
  --exclude='/*bin'
  --exclude='/dev'
  --exclude='/home/*/.cache'
  --exclude='/home/*/.local/share/Trash'
  --exclude='/home/*/.thumbnails'
  --exclude='/home/*/Music'
  --exclude='/home/*/Videos'
  --exclude='/lib*'
  --exclude='/media'
  --exclude='/mnt'
  --exclude='/proc'
  --exclude='/selinux'
  --exclude='/sys'
  --exclude='/tmp'
  --exclude='/usr'
  --exclude='/var/cache'
  --exclude='/var/run'
  --exclude='/var/tmp' root@cube:/// /media/Backup/cube///daily.1/
  receiving incremental file list
  [...]

I find three things to be wrong:

1. While rsync seems to finish, it always says the backup may be partially
   completed; rotating seems to have stopped as a result.  Also,
   the daily.2 backup is of the day before I upgraded backupninja.
2. For some reason montly.1 is missing, but it might be return when rotating
   works again.
3. I've found that it syncs /proc (amongst which /proc/kcore which always
   gives IO errors), although it's in the excludes.  When I use ps to
   examine the commandline, I get:

 /usr/bin/rsync -avF --delete --numeric-ids --rsync-path=rsync 
--exclude='/*bin'?--exclude='/dev'?--exclude='/home/*/.cache'?--exclude='/home/*/.local/share/Trash'?--exclude='/home/*/.thumbnails'?--exclude='/home/*/Music'?--exclude='/home/*/Videos'?--exclude='/lib*'?--exclude='/media'?--exclude='/mnt'?--exclude='/proc'?--exclude='/selinux'?--exclude='/sys'?--exclude='/tmp'?--exclude='/usr'?--exclude='/var/cache'?--exclude='/var/run'?--exclude='/var/tmp'
 root@cube:/// /media/Backup/cube///daily.1/ 

   Does this newline stuff really work?  This output seems weird to me.
   
I think that (3) needs to be fixed.  And maybe due to reasons (1) and (2) I
wouldn't release backupninja 1.0 with support for the long rotation format.

Cheers,
Paul

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages backupninja depends on:
ii  bash   4.1-3 The GNU Bourne Again SHell
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  dialog 1.1-20100428-1Displays user-friendly dialog boxe
ii  gawk   1:3.1.7.dfsg-5GNU awk, a pattern scanning and pr
ii  mawk   1.3.3-15  a pattern scanning and text proces

backupninja recommends no packages.

Versions of packages backupninja suggests:
ii  bzip2   1.0.5-6+squeeze1 high-quality block-sorting file co
pn  debconf-utils   none   (no description available)
pn  duplicity   none   (no description available)
pn  genisoimage none   (no description available)
pn  hwinfo  none   (no description available)
ii  mdadm   3.1.4-1+8efb9d1+squeeze1 tool to administer Linux MD arrays
ii  rdiff-backup1.2.8-6  remote incremental backup
ii  rsync   3.0.7-2  fast remote file copy program (lik
pn  subversion  none   (no description available)
pn  trickle none   (no description available)
pn  wodim   none   (no description available)

-- no