annotate backup-desktop @ 2:30145875d811

Update when we pull website code down
author IBBoard <dev@ibboard.co.uk>
date Sun, 09 Nov 2014 09:27:00 +0000
parents e85e3470a41e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 #! /bin/bash
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 DISK=/mnt/backup/rsync
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 mkdir -p $DISK
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 rpm -qa | sort > "$DISK"/installed-packages-`date +%F`.txt
e85e3470a41e Initial commit of useful scripts
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 /usr/local/bin/do-backup $DISK