Without using a different backup solution. Is there a way to modify the dietpi-sync to have more than one source and target backup?
By editing /boot/dietpi/.dietpi-sync_settings
I saw someone posted years ago about this but have not seen a solution.
Without using a different backup solution. Is there a way to modify the dietpi-sync to have more than one source and target backup?
By editing /boot/dietpi/.dietpi-sync_settings
I saw someone posted years ago about this but have not seen a solution.
not that I’m aware of.
Would this work? I have a mounted USB drive that I want to include in the daily backup called “wd1”
This would backup the dietpi_userdata and wd1 but not other drives mounted in mnt???
# DietPi-Backup include/exclude filter
# Prefix "-" exclude items, "+" include items which would match a wildcard exclude rule.
# Suffix "/" match directories only, no files or symlinks.
# Wildcard "*" matches any item name or part of it, but "/dir/*" does not match the dir itself.
# Since the list is processed from top to bottom and the first match defines the applied rule:
# - Includes need to be defined before their wildcard exclude rule.
# - Excludes need to be defined before their wildcard include rule.
# Symlinks are handled as such and never processed recursively.
# Excluded directories are not processed recursively, so contained items cannot be included.
# Included directories are not processed recursively, so contained items cannot be excluded.
# Hence, to include items within an excluded directory:
# - Do not exclude the directory itself, but contained items via wildcard.
# - Define includes first, to override the wildcard exclude rule.
# - See the below default rules, how we exclude all items below /mnt/
# but include the dietpi_userdata directory, if it is no symlink.
# To prevent loops, the backup target dir, log and config are excluded internally.
+ /mnt/dietpi_userdata/
+ /mnt/wd1/
- /mnt/*
- /media/
simply give it a try. But backup is stored on another drive and not wd1? correct?
Yeah, here is my /mnt
sg1
sg2
wd1
dietpi_userdata
My dietpi-back is stored on internal sata sg1
I also have a dietpi-sync of drive sg1 to sg2 as I have been convinced this is better than a raid1?
depends on how you are looking into this. Indeed, software raids have challenges. We have a couple of blog post related to raid setup. Search Results for “raid” – DietPi Blog there are 2 years old but might be interesting for you.