[Bug 308981] [NEW] rsnapshot should use rsync args from rsnapshot.conf when rotating backups

Sameer D. Sahasrabuddhe sameerds at gmail.com
Wed Dec 17 14:09:27 UTC 2008


Public bug reported:

Binary package hint: rsnapshot


Ubuntu Release:  8.04.1
rsnapshot: 1.2.9-1

I have specified the "-A" flag for rsync in order to preserve ACLs in the backups, as follows:
rsync_short_args        -aA

When rsnapshot rotates backup, it does not use this flag, as seen from the log:
[17/Dec/2008:19:08:02] /usr/bin/rsnapshot daily: started
[17/Dec/2008:19:08:02] Setting locale to POSIX "C"
[17/Dec/2008:19:08:02] echo 16932 > /var/run/rsnapshot.pid
[17/Dec/2008:19:08:02] /bin/rm -rf /mnt/backup/daily.1/
[17/Dec/2008:19:08:26] native_cp_al("/mnt/backup/daily.0", "/mnt/backup/daily.1")
[17/Dec/2008:19:08:54] /usr/bin/rsync -a --delete --numeric-ids /mnt/backup/daily.0/ /mnt/backup/daily.1/

The flag is used correctly when creating the latest snapshot as seen in the next message:
[17/Dec/2008:19:08:57] /usr/bin/rsync -aA --delete --numeric-ids --relative --delete-excluded --exclude=.gvfs --exclude=/home/Stuff/vmware /home /mnt/backup/daily.0/localhost/

The result is that ACLs are preserved in the latest snapshot, that is
daily.0 in my case. But the ACLs are missing from the earlier image,
that is daily.1

It seems when rsnapshot calls rsync internally for rotating snapshots,
it does not use the flags specified in the configuration file.

** Affects: rsnapshot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
rsnapshot should use rsync args from rsnapshot.conf when rotating backups
https://bugs.launchpad.net/bugs/308981
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list