bugstoreBackup - Bugs: bug #44510, storeBackup doesn't delete some...

 
 

bug #44510: storeBackup doesn't delete some files/directory from old backup

Submitter:  None
Submitted:  Wed 11 Mar 2015 03:28:49 PM UTC
Votes:  100  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Fri 13 Mar 2015 10:28:48 AM UTC, comment #1: 

Hi,

do you run storeBackup as root?

I backup'ed sourceDir 's:

$ find s -ls
122571    0 drwxrwxr-x   3 hjc      hjc            80 Mär 13 10:56 s
125194  116 -rwxr-xr-x   1 hjc      hjc        118368 Mär 13 10:56 s/ls
123369    0 dr-xr-xr-x   2 hjc      hjc            80 Mär 13 11:19 s/sub
131770   32 -r--r--r--   1 hjc      hjc         31392 Mär 13 11:19 s/sub/pwd
123491  116 -rwxr-xr-x   1 hjc      hjc        118368 Mär 13 10:56 s/sub/ls

to backupDir 'b' as a normal user with the following command:

storeBackup.pl -s s -b b --keepMaxNumber 2 --keepMinNumber 2

Everything works. Can you try to change this in a way which does not work, so I can reproduce your problem!?

Heinz-Josef Claes <hjclaes>
Project Administrator
Wed 11 Mar 2015 03:28:49 PM UTC, original submission:  

Hello.

Would you please check this bug:

I have such error messages in my log:
INFO      2015.03.08 07:06:06 48688 syncing ...
INFO      2015.03.08 07:06:07 48688 deleting in backup series </mnt/storebackup/quattro-system>:
INFO      2015.03.08 07:06:07 48688   (1/1) deleting Sun 2015.01.11_17.52.55
ERROR     2015.03.08 07:07:25 48688 cannot delete directory </mnt/storebackup/quattro-system/2015.01.11_17.52.55/boot/kernel.old>
ERROR     2015.03.08 07:08:35 48688 cannot delete directory </mnt/storebackup/quattro-system/2015.01.11_17.52.55/boot/kernel>
ERROR     2015.03.08 07:08:36 48688 cannot delete directory </mnt/storebackup/quattro-system/2015.01.11_17.52.55/boot>
ERROR     2015.03.08 07:12:12 48688 cannot delete directory </mnt/storebackup/quattro-system/2015.01.11_17.52.55>

The content of boot/kernel.old and boot/kernel is similar:
# ls -al /mnt/storebackup/quattro-system/2015.01.11_17.52.55/boot/kernel.old
total 14484
drwxr-xr-x  2 root  wheel       256  8 мар 07:07 .
drwxr-xr-x  4 root  wheel         4  8 мар 07:08 ..
-r-xr-xr-x  2 root  wheel     84048 11 янв 05:38 aac.ko
-r-xr-xr-x  3 root  wheel      2744 11 янв 05:38 accf_dns.ko
-r-xr-xr-x  2 root  wheel     23528 11 янв 05:38 acpi_hp.ko
-r-xr-xr-x  2 root  wheel     21424 11 янв 05:38 acpi_ibm.ko
....

You can see there are no W permission, but a file with the same permissions are deleted without problem:
# ls -al /boot/zfsloader
-r-xr-xr-x  1 root  wheel  270336 11 янв 17:12 /boot/zfsloader

My system:
# uname -a
FreeBSD quattro.tacxz.net 8.4-RELEASE-p21 FreeBSD 8.4-RELEASE-p21 #0: Sun Jan 11 07:06:33 MSK 2015     root@quattro.tacxz.net:/usr/obj/usr/src/sys/GENERIC  amd64

# perl -v
This is perl 5, version 18, subversion 4 (v5.18.4) built for amd64-freebsd-thread-multi

storeBackup - version 3.5

## My config:

sourceDir               = /root/links_for_system_backup
backupDir               = /mnt/storebackup
series                  = quattro-system
exceptTypes             = p
contExceptDirsErr       = yes
precommand              = /sbin/mount -u -w /mnt/storebackup
postcommand             = /sbin/mount -u -r /mnt/storebackup
followLinks             = 30
stayInFileSystem        = no
highLatency             = yes
lateLinks               = yes
comprRule               = 0
noCopy                  = 4
ignoreReadError         = yes
keepRelative            = 1d 7d 31d 365d
logFile                 = /var/log/storeBackup/quattro-system.log

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hjclaes (Posted a comment)
  • -email is unavailable- added by ruslan_ka (Voted in favor of this item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-11 ruslan_ka Carbon-Copy- Added ruslan_ka

    Back to the top


    Powered by Savane 3.9