Hello all,
I’d like to have some sugestions about excluding and including files from cli command.
My example is:
From restic:
restic backup \
--exclude /home/USER/.cache \
--files-from /home/USER/etc/repo.list
Same from duplicity:
duplicity \
--exclude /home/USER/.cache \
--include-filelist /home/USER/etc/repo.list \
--exclude '**'
Where repo.list
is:
/boot/loader.conf.local
/etc
/home
/usr/local/etc
Could I have some hints?
Thanks