-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup.cfg.example
42 lines (41 loc) · 1.19 KB
/
backup.cfg.example
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
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
# archive and encrypt backup with pipe to s3 config
# see https://aws.amazon.com/s3/pricing/
keyfile="/root/.bk"
email="[email protected]"
bucket="example-backups"
storageclass="STANDARD" # STANDARD | REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE | GLACIER_IR
numkeep=10
files=(
"/etc"
"/var/spool/cron"
"/var/www"
"/usr/local/bin"
"/root/.ssh"
"/root/.bk"
"/root/.aws"
"/home/d/.ssh"
"/home/d/.local/share/keyrings"
"/home/d/.thunderbird"
"/home/d/.gnupg"
"/home/d/.aws"
"/home/d/.bashrc"
"/home/d/.screenrc"
"/home/d/.xkb"
"/home/d/.config/vlc"
"/home/d/.config/autostart"
"/home/d/.config/Code/User"
"/home/d/.fonts"
"/home/d/bin"
"/home/d/code"
"/home/d/Documents"
"/home/d/projects"
"/home/d/.local/share/kdenlive"
)
excludes=(
"/home/d/code/wxPython-demo*"
"/home/d/.config/Code/User/workspaceStorage"
"/home/d/.config/Code/User/History"
"/home/d/.local/share/kdenlive/.backup"
"/var/www/default/public_html/dl/*"
)