File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 13
13
TMP_NODE , \
14
14
TMP_BACKUP , \
15
15
PG_CONF_FILE , \
16
- BACKUP_LOG_FILE , \
17
- DEFAULT_XLOG_METHOD
16
+ BACKUP_LOG_FILE
18
17
19
18
from .defaults import default_username
20
19
@@ -38,7 +37,7 @@ def __init__(self,
38
37
node ,
39
38
base_dir = None ,
40
39
username = None ,
41
- xlog_method = DEFAULT_XLOG_METHOD ):
40
+ xlog_method = XLogMethod . fetch ):
42
41
"""
43
42
Create a new backup.
44
43
Original file line number Diff line number Diff line change 1
1
# coding: utf-8
2
2
3
- from .enums import XLogMethod
4
-
5
3
# names for dirs in base_dir
6
4
DATA_DIR = "data"
7
5
LOGS_DIR = "logs"
25
23
PG_LOG_FILE = "postgresql.log"
26
24
UTILS_LOG_FILE = "utils.log"
27
25
BACKUP_LOG_FILE = "backup.log"
28
-
29
- # default argument value
30
- DEFAULT_XLOG_METHOD = XLogMethod .fetch
You can’t perform that action at this time.
0 commit comments