Tool to sync or backup data
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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']