Bug 35084 - univention-samba4-backup unable to delete sysvol backup
univention-samba4-backup unable to delete sysvol backup
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.2
All Linux
: P5 normal (vote)
: UCS 3.2-2-errata
Assigned To: Felix Botner
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 13:38 CEST by Roman Dietiker
Modified: 2014-07-10 13:35 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dietiker 2014-06-10 13:38:32 CEST
The Script /usr/sbin/univention-samba4-backup can't locate the sysvol backups.
The script is looking for sysvol_*bz2, in the script as followed:
find $WHERE -name "sysvol_*bz2" -mtime +$DAYS -exec rm  {} \;

But the Backups are safed as: sysvol.2014-05-01.tar.bz2
done in the script here: tar cjf ${WHERE}/${n}.${WHEN}.tar.bz2  $relativedirname --warning=no-file-ignored

The _ in the find statement should be replaced by .


Errata level of the installation: 121
Comment 1 Felix Botner univentionstaff 2014-07-08 15:56:03 CEST
(In reply to Roman Dietiker from comment #0)
> ...
> The _ in the find statement should be replaced by .

Thanks, i fixed this in univention-samba4-backup

YAML: staging/2014-06-17-univention-samba4.yaml
Comment 2 Arvid Requate univentionstaff 2014-07-09 16:58:30 CEST
Verified.
Comment 3 Janek Walkenhorst univentionstaff 2014-07-10 13:35:23 CEST
http://errata.univention.de/ucs/3.2/142.html