Skip to content

Commit bbf8c61

Browse files
author
Benjamin Reed
committed
another exclude
1 parent c9387d5 commit bbf8c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server-admin/do-backup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ do_command() {
2020
[ $? -ne 0 ] && do_error "$1 exited non-zero"
2121
}
2222

23-
do_command tar -C / --exclude='var/www/distfiles' --show-omitted-dirs --totals -czf "/tmp/${BACKUPFILE}" etc home root var usr/local
23+
do_command tar -C / --exclude='var/www/www.finkproject.org/bindist' --exclude='var/www/distfiles' --show-omitted-dirs --totals -czf "/tmp/${BACKUPFILE}" etc home root var usr/local
2424
do_command /usr/bin/rsync -av -e 'ssh -i /root/.ssh/id_nopass' "/tmp/${BACKUPFILE}" "$ACCOUNT":~/backups/
2525
do_command rm "/tmp/${BACKUPFILE}"
2626

0 commit comments

Comments
 (0)