Bug 47838

Summary: Directory /var/univention-backup is missing on a new installed domain...
Product: UCS Reporter: Christina Scheinig <scheinig>
Component: univention-base-filesAssignee: UCS maintainers <ucs-maintainers>
Status: RESOLVED DUPLICATE QA Contact: UCS maintainers <ucs-maintainers>
Severity: normal    
Priority: P5 CC: damrose, thorsten.strusch
Version: UCS 4.3   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114 Enterprise Customer affected?:
School Customer affected?: Yes ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2018092021000249 Bug group (optional):
Max CVSS v3 score:

Description Christina Scheinig univentionstaff 2018-09-20 10:24:48 CEST
... and is not automatically added from the cronjob backup script.
A customer reported this issue:
From a newly installed system he gets an e-mail from the /usr/share/univention-config-registry/univention-config-registry-backup cronjob

touch: cannot touch '/var/univention-backup/ucr-backup_20180920.tgz': No such file or directory
chmod: cannot access '/var/univention-backup/ucr-backup_20180920.tgz': No such file or directory
chown: cannot access '/var/univention-backup/ucr-backup_20180920.tgz': No such file or directory
tar (child): /var/univention-backup/ucr-backup_20180920.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I installed the iso file too and could confirm that the directory /var/univention-backup is missing.

Maybe we can add the directory first?
mkdir -p "/var/univention-backup/"


Das System:
$ univention-app info
UCS: 4.3-1 errata235


The installationmedium was a UCS_4.3-1.iso
Comment 1 Erik Damrose univentionstaff 2018-09-20 10:42:41 CEST

*** This bug has been marked as a duplicate of bug 47336 ***