Bug 47838 - Directory /var/univention-backup is missing on a new installed domain...
Directory /var/univention-backup is missing on a new installed domain...
Status: RESOLVED DUPLICATE of bug 47336
Product: UCS
Classification: Unclassified
Component: univention-base-files
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-20 10:24 CEST by Christina Scheinig
Modified: 2018-09-20 10:42 CEST (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***