Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

Cache Bakcup Cron

Featured Replies

Hi,

Ich habe momentan nur einen Cache Disk in meinem Server Laufen uns somit potentiell gebärdete Daten.

Jetzt habe ich mir gedacht ich kann ja einfach mit dem Befehl.....

 

#!/bin/bash

cp -r /mnt/cache /mnt/disk3/Backup/cache
 

ein Cron Skript erstellen und somit alle 24 Stunden ein Backup erstellen lassen.

Kann ich das Skript so lassen oder ist das Schlecht für den Server?

4 hours ago, Hirates said:

Kann ich das Skript so lassen

Nimm wenn cp -a, da es wirklich alle Attribute sichert. Ansonsten ja, ist soweit ok. Allerdings sollte man erst VMs und Docker stoppen, damit Daten aus dem RAM runtergeschrieben werden. Außerdem wäre rsync effizienter, da rsync bereits existierende Dateien überspringt und auch nur Teile von Dateien sichern kann, die sich geändert haben. cp kopiert dagegen alles neu. Es gibt zwar die Option -n, aber die überspringt bereits existierende Dateien nur an Hand des Dateinamens und nicht an Hand von Dateigröße und Datum, so wie das rsync macht.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

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.