weniger ein Problem als vielmehr die Frage wie Ihr das lösen würdet.
Code: Alles auswählen
sysiphus:/mnt/backup/_btrbk# ll /etc/cron.
/etc/cron.monthly:
insgesamt 20K
-rwxr-xr-x 1 root root 1,2K Aug 23 18:44 01btrbk
-rwxr-xr-x 1 root root 313 Aug 7 18:11 0anacron
lrwxrwxrwx 1 root root 43 Aug 7 18:11 btrfs-defrag -> /usr/share/btrfsmaintenance/btrfs-defrag.sh
lrwxrwxrwx 1 root root 42 Aug 7 18:11 btrfs-scrub -> /usr/share/btrfsmaintenance/btrfs-scrub.sh
-rwxr-xr-x 1 root root 534 Aug 7 18:11 debsums
/etc/cron.weekly:
insgesamt 20K
-rwxr-xr-x 1 root root 1,2K Aug 23 18:43 01btrbk
-rwxr-xr-x 1 root root 312 Aug 7 18:11 0anacron
lrwxrwxrwx 1 root root 44 Aug 7 18:11 btrfs-balance -> /usr/share/btrfsmaintenance/btrfs-balance.sh
-rwxr-xr-x 1 root root 533 Aug 7 18:11 debsums
-rwxr-xr-x 1 root root 723 Aug 7 18:11 man-db
dass weekly incrementelle Backups erstellt und monthly nur komplette Backups erstellt.
By Design laufen natürlich beide Scripte wenn die montly Backups dran sind, laufen auch die weekly backups, was unsinnig ist. Wie würdet Ihr vorgehen, um diese Dopplung zu vermeiden?
Danke für eure Ideen.
Micha