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.

123456789101112131415
  1. import os
  2. import sys
  3. backup = True
  4. host = 'erle'
  5. backup_basepath = '/data/backup/data'
  6. installations = ['mint', 'kubuntu', 'openSuSE']
  7. for installation in installations:
  8. setattr(sys.modules[__name__], 'home_%s_remotepath' % installation, 'dirk@%s:/home' % host)
  9. setattr(sys.modules[__name__], 'home_%s_localpath' % installation, os.path.join(installation, 'home'))
  10. data_remotepath = 'dirk@%s:/usr/data' % host
  11. data_localpath = 'usr/data'
  12. data_skip = ['lost+found', 'dirk/Audio', 'dirk/bin', 'dirk/gnome-boxes', 'dirk/media_images', 'dirk/Videos']