general cleanup
This commit is contained in:
parent
ffced8fca4
commit
3ffb35cc2e
25 changed files with 149 additions and 120 deletions
|
@ -25,20 +25,24 @@ mantle)
|
|||
--exclude '/etc/sudoers.dist' \
|
||||
--exclude '/etc/kernel.d/post-install/50-grub' \
|
||||
--exclude '/etc/kernel.d/post-remove/50-grub' \
|
||||
--exclude '/etc/mumble/mumble-server.ini' \
|
||||
--exclude '/etc/.pwd.lock' \
|
||||
--exclude '/etc/gshadow-' \
|
||||
--exclude '/etc/passwd-' \
|
||||
--exclude '/etc/shadow-' \
|
||||
--exclude '/etc/shadow' \
|
||||
--exclude '/etc/ssh/ssh_*_key' \
|
||||
--exclude '/etc/tcsd.conf' \
|
||||
--exclude '/etc/gshadow' \
|
||||
--exclude '/var/tmp/*' \
|
||||
--exclude '/var/db/*' \
|
||||
--exclude '/var/cache' \
|
||||
--exclude '/var/lib/alsa' \
|
||||
--exclude '/var/lib/dkms/mok.key' \
|
||||
--exclude '/var/lib/tor' \
|
||||
--exclude '/var/lib/random-seed' \
|
||||
--exclude '/var/lib/seedrng' \
|
||||
--exclude '/var/lib/tpm' \
|
||||
--exclude '/var/log/tallylog' \
|
||||
--exclude '/var/log/btmp' \
|
||||
--exclude '/var/log/dmesg.log' \
|
||||
|
@ -151,7 +155,7 @@ info "Pruning repository"
|
|||
|
||||
borg prune \
|
||||
--list \
|
||||
--prefix '{hostname}-' \
|
||||
--glob-archives '{hostname}-*' \
|
||||
--show-rc \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 4 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue