def backup!
      debug "[BACKUP]"

      @last_backup_at = Time.now
      timestamp = @last_backup_at.to_i

      path = File.join(config.path, "upload", "todo", "#{timestamp}.yaml")
      FileUtils.mkdir_p(File.dirname(path))

      File.open(path, 'w') do |f|
        f.write(Rescuetime::Application.to_yaml(@apps))
      end

      @apps = []
    end
def backup!
      debug "[BACKUP]"

      @last_backup_at = Time.now
      timestamp = @last_backup_at.to_i

      path = File.join(config.path, "upload", "todo", "#{timestamp}.yaml")
      FileUtils.mkdir_p(File.dirname(path))

      File.open(path, 'w') do |f|
        f.write(Rescuetime::Application.to_yaml(@apps))
      end

      @apps = []
    end
NEW && UNTESTED