mysync/example/backup_config.py

15 行
473 B
Python

import os
import sys
backup = True
backup_basepath = '/data/backup/ahorn'
installations = ['mint', 'kubuntu', 'openSuSE']
for installation in installations:
setattr(sys.modules[__name__], 'home_%s_remotepath' % installation, 'dirk@ahorn:/home')
setattr(sys.modules[__name__], 'home_%s_localpath' % installation, os.path.join(installation, 'home'))
user_data_remotepath = 'dirk@ahorn:/user_data'
user_data_localpath = 'user_data'
user_data_skip = ['static_data']