1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
827 B

2 years ago
#!/bin/bash
# Simple rsync backup script for my MacBookPro
#
# Dominic Reich, OE7DRT, dominic@mm.st
# sudo rsync -avzhRP --del --stats --inplace \
sudo rsync -avzhRP --del --stats \
--exclude 'BACKUP_LINUX_DISK/***' \
--exclude 'BACKUP_OLDMAC/***' \
--exclude '.SynologyDrive/***' \
--exclude 'SynologyDrive/***' \
--exclude '.cache/***' \
--exclude '.gvfs/***' \
--exclude '.DS_Store' \
--exclude 'Thumbs.db' \
--exclude 'lost+found/***' \
--exclude '.Trash/***' \
--exclude 'Steam/***' \
--exclude '_nas-*/***' \
--exclude 'Attack/***' \
--exclude 'material-design-icons/***' \
2 years ago
--exclude '***/*.socket' \
'/./etc' \
'/./boot' \
'/./home' \
'/./usr/local' \
'/./opt' \
'/./root' \
'/./usr/lib/systemd/system' \
'/./var/lib/libvirt' \
nas:/volume1/NetBackup/polaris-arch/./
2 years ago