-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.conf
More file actions
31 lines (24 loc) · 776 Bytes
/
Copy pathexample.conf
File metadata and controls
31 lines (24 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Config file for pov-simple-backup(8)
#
# This is a shell script, sourced from the main one
#
# Backs up stuff you specify here under /backup/YYYY-MM-DD, every day.
#
# keep backups for $KEEP days
KEEP=14
back_up /etc
back_up /root
back_up /usr/local
back_up /var/cache/debconf/config.dat
back_up_dpkg_selections
back_up_postgresql
generate_checksums
clean_up_old_backups $KEEP
# It's a good idea to scp the backup to some off-site location
## copy_backup_to otherserver:/backup/myhostname/
# You may want to specify the SSH key to use explicitly
## copy_backup_to otherserver:/backup/myhostname/ -i /path/to/ssh-key.rsa
# If you get backups copied from off-site locations, you may want to
# clean them up too
## clean_up_old_backups $KEEP /backup/otherhostname/