Tool to sync or backup data
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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