Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Servous,

ich habe ein Problem und zwar: Ich soll von Apaches Logdatein ein Tägliches Backup anlegen. Für jeden Tag ein extra Backup, dessen Namen das Datum trägt, die auch noch gepackt werden sollen.

Nach z.b. 7 Tagen sollen die älteren Backups automatisch gelöscht werden.

Wäre fein wen wer bitte eine kleine Anleitung mir schreibt würde.

ich hatte irgendwo was gelesen das es mit "logorate" gehen soll.

Danke im vorraus

Grüße myrix

Die meisten Distributionen haben standardmäßig logrotate auf die gängigen Protokolldateien schon aktiviert. Schau mal in /etc/logrotate.conf. Anleitungen dazu gibt es zuhauf im Netz.

Bei weiteren Fragen bitte die relevanten Abschnitte aus logrotate.conf mitangeben.

http://www.debian-administration.org/articles/117

http://www.linuxconfig.org/Logrotate

http://wiki.ubuntuusers.de/Logdateien#Logrotate

Bearbeitet von lupo49

Danke dir erstmal.

Hab die Tage über viele viele Archive erhalten.

Jetzt habe ich nur noch die Frage wie bekommen die Archive Automatisch das Datum als Namen wenns gepackt wird - darüber hab ich noch keinen eintrag gefunden

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.