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.

ZFS Snapshots automatisch anlegen

Featured Replies

Hallo,

evtl könnte mir von euch einer beim Erstellen eines Scripts helfen, welches mir automatisch nach Zeitplan (Cron) per Userscripts Snapshots von gewissen Freigaben erstellt, welche auf ZFS Pools liegen.

Als Beispiel habe ich in "/mnt/zfs-data/Musik" meine Musik liegen. Hier würde ich gerne wöchentlich Snapshots erstellen.

Ausführen über Cron in Userscripts etc ist klar.

Das Script an sich, wäre vermutlich auch kurz. Wie würde dann der ZFS Befehl heißen, um von Musik einen Snapshot zu erstellen, welcher von der Namensgebung z.B. nach dem @ im Snapshotnamen das aktuelle Datum hinzufügt. z.B. musik@25042023

Das Erstellen der Snapshots funktioniert mit dem Plugin von Steini sehr gut, aber leider nicht zeitgesteuert und wiederkehrend.

 

Danke schon einmal für evtl. Hilfe!

 

Grüße

Thomas

Solved by Rockikone

  • Author
  • Solution

@cz13

Asche auf mein Haupt bzgl kurz googeln.

Der Befehl von dir funktioniert einwandfrei mit Anpassung auf meine Pools/Freigabe.

Dankeschön

 

@Rockikone

Du könntest dir auch folgendes Plugin mal ansehen. 

Damit mache ich regelmäßig Snapshots von meinem appdata Share. 

  • 3 months later...

@Anym001

kannst du mal deinen znapzetup create befehl posten so als Beispiel? Danke :)

Folgendes Script wird bei mir via UserScripts Plugin beim Array Start ausgeführt:

 

#!/bin/bash
znapzend --logto=/var/log/znapzend.log --daemonize


Und das sind die Settings für das Backup vom Appdata Share:

IMG_0169.jpeg


Der Befehl dafür ist im oberen Post von mir verlinkt.

Edited by Anym001

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.