-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig_defaults.ini
49 lines (36 loc) · 1.54 KB
/
config_defaults.ini
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
42
43
44
45
46
47
48
49
#
# Configuration for PyHardLinkBackup:
# https://github.com/jedie/PyHardLinkBackup
#
[common]
# Path for the SQLite database file
DATABASE_NAME= ~/PyHardLinkBackups.sqlite3
# NOTE: Please run 'migrate database' if you change the filepath!
# Disable the auth mechanism in django admin panel and auto login everybody
ENABLE_AUTO_LOGIN= True
# Your language (e.g.: For datetime representation and for text translation)
# https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-LANGUAGE_CODE
LANGUAGE_CODE= en-us
[backup]
# Root directory for all backups
BACKUP_PATH= ~/PyHardLinkBackups
# datetime.strftime() formatter to create the sub directory.
SUB_DIR_FORMATTER= %Y-%m-%d-%H%M%S
# Direcory names that will be recusive exclude vom backups (Comma seperated list!)
SKIP_DIRS= __pycache__, temp
# glob-style patterns to exclude files/folders from backups use with Path.match() (Comma seperated list!)
SKIP_PATTERNS= *.pyc, *.tmp, *.cache, *.sha512
[internals]
# Interval time in sec for status information in between:
PRINT_UPDATE_INTERVAL= 60
# LOGGING_CONSOLE: Log output to stdout
# LOGGING_FILE: Log output to file
# Logging level, possible values are: CRITICAL, ERROR, WARNING, INFO, DEBUG
LOGGING_CONSOLE_LEVEL= WARNING
LOGGING_FILE_LEVEL= INFO
# default directory mode for os.makedirs() (As string for int(value,8) !)
DEFAULT_NEW_PATH_MODE= 0o700
# Name of the content hasher used in hashlib.new() and as file ending for the hast files.
HASH_NAME= sha512
# Minimum Bytes to read/write files. (default: 1048576 Bytes == 1 MB)
MIN_CHUNK_SIZE = 1048576