~mterry/deja-dup/midnight-epoch

« back to all changes in this revision

Viewing changes to common/OperationBackup.vala

  • Committer: Michael Terry
  • Date: 2013-01-24 14:34:01 UTC
  • mfrom: (1429.1.2 tempdir)
  • Revision ID: michael.terry@canonical.com-20130124143401-luilvsfo3l28la22
Tell duplicity to use a tempdir that is on the same partition as the source files (to avoid filling up small /tmp partitions)

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
      rv.append(Path.build_filename(dir, ".xsession-errors"));
118
118
    }
119
119
    
120
 
    // Some problematic directories like /tmp and /proc should be left alone
121
 
    dir = Environment.get_tmp_dir();
122
 
    if (dir != null)
123
 
      rv.append(dir);
124
 
    
 
120
    // Skip all of our temporary directories
 
121
    foreach (var tempdir in DejaDup.get_tempdirs())
 
122
      rv.append(tempdir);
 
123
 
 
124
    // Skip kernel directories
125
125
    rv.append("/proc");
126
126
    rv.append("/sys");
127
127