Tool to sync or backup data
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

backup_config.py 473B

1234567891011121314
  1. import os
  2. import sys
  3. backup = True
  4. backup_basepath = '/data/backup/ahorn'
  5. installations = ['mint', 'kubuntu', 'openSuSE']
  6. for installation in installations:
  7. setattr(sys.modules[__name__], 'home_%s_remotepath' % installation, 'dirk@ahorn:/home')
  8. setattr(sys.modules[__name__], 'home_%s_localpath' % installation, os.path.join(installation, 'home'))
  9. user_data_remotepath = 'dirk@ahorn:/user_data'
  10. user_data_localpath = 'user_data'
  11. user_data_skip = ['static_data']