Static Public Member Functions | |
| static void | setup_env () |
Static Public Attributes | |
| static bool | btrfs_version__can_recursive_delete = false |
| const uint64 | MIN_FREE_SPACE = 1 * GB |
| static uint64 | first_snapshot_size = 0 |
| static int64 | first_snapshot_count = 0 |
| const string | date_format_default = "%Y-%m-%d %H:%M:%S" |
Protected Types | |
| enum | QGroupStatus { UNKNOWN = -1 , DISABLED = 0 , ENABLED = 1 } |
Properties | |
| bool | btrfs_qgroups_enabled [get] |
| bool | scheduled [get] |
| Device? | dst_root [get, set] |
| Device? | dst_boot [get, set] |
| Device? | dst_efi [get, set] |
| Device? | dst_home [get, set] |
| bool | restore_current_system [get] |
| string | restore_source_path [get] |
| string | restore_target_path [get] |
| string | restore_log_file [get] |
| string | restore_exclude_file [get] |
Private Member Functions | |
| int?[] | get_btrfs_version_array () |
| void | parse_some_arguments (string[] args) |
| void | detect_encrypted_dirs () |
| void | add_app_exclude_entries_for_prefix (string path_prefix) |
| string? | save_exclude_list_for_backup (string output_path) |
| bool | create_snapshot_for_tag (string tag, DateTime dt_created) |
| uint64 | get_space_needed_for_rsync_snapshot (DateTime dt_created) |
| Snapshot? | create_snapshot_with_rsync (string tag, DateTime dt_created) |
| Snapshot? | create_snapshot_with_btrfs (string tag, DateTime dt_created) |
| void | run_post_backup_hooks (string snapshot_path) |
| void | set_tags (Snapshot snapshot) |
| void | create_restore_scripts (out string sh_sync, out string sh_finish) |
| bool | restore_current_console (string sh_sync, string sh_finish) |
| bool | restore_current_gui (string sh_sync, string sh_finish) |
| bool | restore_other_console (string sh_sync, string sh_finish) |
| bool | restore_other_gui (string sh_sync, string sh_finish) |
| void | fix_fstab_file (string target_path) |
| void | fix_crypttab_file (string target_path) |
| void | check_and_repair_filesystems () |
| void | cleanup_unmount_devices () |
Private Attributes | |
| int | _live_system = -1 |
| QGroupStatus | _btrfs_qgroups_enabled_internal = QGroupStatus.UNKNOWN |
|
protected |
|
inline |
Definition at line 186 of file Main.vala.
References _, add_default_exclude_entries(), app_lock, app_mode, app_path, BackupInProgressDialog.BackupInProgressDialog(), check_and_remove_timeshift_btrfs(), check_btrfs_version_capabilities(), check_dependencies(), AppLock.create(), current_distro, delete_file_task, delete_list, DeleteFileTask.DeleteFileTask(), detect_encrypted_dirs(), detect_system_devices(), TeeJee.FileSystem.dir_create(), LinuxDistro.dist_id, TeeJee.Logging.dos_log, Error, exclude_app_names, exit(), exit_app(), LinuxDistro.full_name(), LinuxDistro.get_dist_info(), IconManager.init(), load_app_config(), AppLock.lock_message, TeeJee.Logging.LOG_DEBUG, TeeJee.Logging.log_debug(), log_dir, TeeJee.Logging.log_error(), log_file, mount_list, parent_window, parse_some_arguments(), TeeJee.FileSystem.path_combine(), repo, RsyncTask.RsyncTask(), sys_subvolumes, task, and update_partitions().
Referenced by create_snapshot_with_rsync(), delete_thread(), estimate_system_size(), get_space_needed_for_rsync_snapshot(), import_timeshift_config_if_available(), load_app_config(), AppConsole.main(), AppGtk.main(), and restore_other_gui().
|
inline |
Definition at line 766 of file Main.vala.
References add_app_exclude_entries_for_prefix(), AppExcludeEntry.clear(), exclude_app_names, exclude_list_apps, AppExcludeEntry.get_apps_list(), TeeJee.Logging.log_debug(), Snapshot.path, TeeJee.FileSystem.path_combine(), and snapshot_to_restore.
Referenced by RestoreWindow.validate_current_tab().
|
inlineprivate |
Definition at line 785 of file Main.vala.
References AppExcludeEntry.add_app_exclude_entries_from_home(), AppExcludeEntry.add_app_exclude_entries_from_path(), and TeeJee.FileSystem.path_combine().
Referenced by add_app_exclude_entries().
|
inline |
Definition at line 633 of file Main.vala.
References exclude_list_apps, exclude_list_default, exclude_list_default_extra, exclude_list_home, exclude_list_restore, exclude_list_user, TeeJee.Logging.log_debug(), and partitions.
Referenced by Main().
|
inline |
Definition at line 471 of file Main.vala.
References _, TeeJee.ProcessHelper.exec_sync(), and TeeJee.Logging.log_msg().
Referenced by Main().
|
inlineprivate |
Definition at line 3051 of file Main.vala.
References _, TeeJee.ProcessHelper.exec_script_sync(), mount_list, and restore_current_system.
Referenced by restore_execute_rsync().
|
inline |
Definition at line 4049 of file Main.vala.
References SnapshotRepo.check_status(), repo, SnapshotRepo.status_code, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Definition at line 507 of file Main.vala.
References check_btrfs_volume(), Device.fstype, and include_btrfs_home_for_backup.
Referenced by RestoreDeviceBox.check_and_mount_devices(), and mount_target_devices().
|
inline |
Definition at line 480 of file Main.vala.
References _, app_mode, TeeJee.GtkHelper.gtk_set_busy(), include_btrfs_home_for_backup, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and sys_subvolumes.
Referenced by create_snapshot(), and MainWindow.create_snapshot().
|
inline |
Definition at line 460 of file Main.vala.
References btrfs_version__can_recursive_delete, get_btrfs_version_array(), and TeeJee.Logging.log_debug().
Referenced by Main().
|
inline |
Definition at line 4056 of file Main.vala.
References _, TeeJee.FileSystem.dir_create(), TeeJee.FileSystem.dir_exists(), TeeJee.FileSystem.dir_is_empty(), Device.is_encrypted_partition(), Device.is_mounted_at_path(), TeeJee.Logging.log_debug(), Device.luks_unlock(), Device.mount(), mount_point_app, parent_window, TeeJee.FileSystem.path_combine(), Device.unmount(), and Device.uuid.
Referenced by check_btrfs_layout(), and check_device_for_backup().
|
inline |
Definition at line 342 of file Main.vala.
References _, TeeJee.Logging.log_debug(), and TeeJee.Logging.log_error().
Referenced by Main().
|
inline |
Definition at line 4148 of file Main.vala.
References btrfs_mode, check_btrfs_volume(), Device.fstype, Device.has_children(), Device.has_linux_filesystem(), and Device.type.
Referenced by AppConsole.select_snapshot_device(), and try_select_default_device_for_backup().
|
inline |
Definition at line 4523 of file Main.vala.
References _, Error, TeeJee.Logging.log_debug(), log_dir, TeeJee.Logging.log_error(), log_file, and TeeJee.Logging.log_msg().
Referenced by exit_app().
|
inlineprivate |
Definition at line 4600 of file Main.vala.
References TeeJee.FileSystem.dir_exists(), TeeJee.FileSystem.dir_list_names(), TeeJee.FileSystem.escape_single_quote(), TeeJee.ProcessHelper.exec_sync(), Device.get_filesystems(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), and TeeJee.Logging.log_msg().
Referenced by exit_app().
|
inline |
Definition at line 797 of file Main.vala.
References current_system_users, exclude_list_default, exclude_list_default_extra, exclude_list_home, exclude_list_user, and TeeJee.Logging.log_debug().
Referenced by ExcludeListSummaryWindow.refresh(), and save_exclude_list_for_backup().
|
inline |
Definition at line 907 of file Main.vala.
References exclude_list_apps, exclude_list_default, exclude_list_default_extra, exclude_list_home, exclude_list_restore, exclude_list_user, TeeJee.FileSystem.file_exists(), TeeJee.FileSystem.file_read(), TeeJee.Logging.log_debug(), mirror_system, Snapshot.path, TeeJee.FileSystem.path_combine(), and snapshot_to_restore.
Referenced by ExcludeListSummaryWindow.refresh(), and save_exclude_list_for_restore().
|
inline |
Definition at line 3197 of file Main.vala.
References _, Snapshot.date_formatted, SnapshotRepo.device, SnapshotRepo.device_home, TeeJee.FileSystem.dir_create(), TeeJee.FileSystem.dir_exists(), TeeJee.ProcessHelper.exec_sync(), LinuxDistro.get_dist_info(), include_btrfs_home_for_restore, SnapshotRepo.load_snapshots(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), SnapshotRepo.mount_paths, TeeJee.FileSystem.path_combine(), repo, restore_current_system, snapshot_to_restore, SnapshotRepo.snapshots, Subvolume.Subvolume(), Snapshot.subvolumes, sys_subvolumes, Snapshot.update_control_file(), Device.uuid, and Snapshot.write_control_file().
Referenced by restore_execute_btrfs().
|
inlineprivate |
Definition at line 2537 of file Main.vala.
References _, dry_run, LinuxDistro.get_dist_info(), grub_device, TeeJee.Logging.log_debug(), mirror_system, reinstall_grub2, restore_current_system, restore_exclude_file, restore_log_file, restore_source_path, restore_target_path, update_grub, and update_initramfs.
Referenced by restore_execute_rsync().
|
inline |
Definition at line 1082 of file Main.vala.
References _, app_mode, SnapshotRepo.auto_remove(), btrfs_mode, check_btrfs_layout_system(), create_snapshot_for_tag(), SnapshotRepo.create_symlinks(), cron_job_update(), Snapshot.date, Error, SnapshotRepo.get_latest_snapshot(), TeeJee.System.get_system_uptime_seconds(), SnapshotRepo.has_space(), SnapshotRepo.load_snapshots(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), repo, schedule_boot, schedule_daily, schedule_hourly, schedule_monthly, schedule_weekly, scheduled, SnapshotRepo.snapshots_path, SnapshotRepo.status_details, SnapshotRepo.status_message, sys_root, and Device.uuid.
Referenced by AppConsole.create_snapshot(), and BackupBox.take_snapshot_thread().
|
inlineprivate |
Definition at line 1330 of file Main.vala.
References _, SnapshotRepo.available(), btrfs_mode, create_snapshot_with_btrfs(), create_snapshot_with_rsync(), SnapshotRepo.device, exit_app(), first_snapshot_size, TeeJee.FileSystem.format_file_size(), Device.free, Device.free_bytes, get_space_needed_for_rsync_snapshot(), TeeJee.System.get_system_uptime_seconds(), SnapshotRepo.has_space(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), SnapshotRepo.mount_path, Snapshot.name, OSDNotify.notify_send(), repo, SnapshotRepo.snapshots, SnapshotRepo.status_details, and SnapshotRepo.status_message.
Referenced by create_snapshot().
|
inlineprivate |
Definition at line 1718 of file Main.vala.
References _, cmd_comments, current_distro, Device.device, SnapshotRepo.device, SnapshotRepo.device_home, TeeJee.FileSystem.dir_create(), TeeJee.ProcessHelper.exec_sync(), exit_app(), LinuxDistro.full_name(), include_btrfs_home_for_backup, TeeJee.Logging.LOG_COMMANDS, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), SnapshotRepo.mount_path, SnapshotRepo.mount_paths, TeeJee.FileSystem.path_combine(), repo, run_post_backup_hooks(), set_tags(), sys_root, sys_subvolumes, Snapshot.update_control_file(), Device.uuid, and Snapshot.write_control_file().
Referenced by create_snapshot_for_tag().
|
inlineprivate |
Definition at line 1557 of file Main.vala.
References _, app_mode, cmd_comments, current_distro, Device.device, SnapshotRepo.device, TeeJee.FileSystem.dir_create(), Error, estimate_system_size(), AsyncTask.execute(), exit_app(), TeeJee.FileSystem.file_basename(), TeeJee.FileSystem.file_delete(), TeeJee.FileSystem.file_line_count(), TeeJee.FileSystem.file_read(), first_snapshot_size, LinuxDistro.full_name(), SnapshotRepo.get_latest_snapshot(), TeeJee.GtkHelper.gtk_do_events(), TeeJee.Logging.log_error(), log_file, TeeJee.Logging.log_msg(), Main(), SnapshotRepo.mount_path, Snapshot.name, Snapshot.path, TeeJee.FileSystem.path_combine(), AsyncTask.progress, progress_text, repo, RsyncTask.RsyncTask(), run_post_backup_hooks(), save_exclude_list_for_backup(), set_tags(), TeeJee.System.sleep(), SnapshotRepo.snapshots, SnapshotRepo.snapshots_path, AsyncTask.stat_time_remaining, AsyncTask.status, sys_root, task, RsyncTask.total_size, Device.uuid, and Snapshot.write_control_file().
Referenced by create_snapshot_for_tag().
|
inline |
Definition at line 4463 of file Main.vala.
References CronTab.add_script_file(), CronTab.has_job(), live_system(), CronTab.remove_job(), CronTab.remove_script_file(), schedule_boot, scheduled, and stop_cron_emails.
Referenced by create_snapshot(), exit_app(), BackupWindow.save_changes(), RestoreWindow.save_changes(), SettingsWindow.save_changes(), and SetupWizardWindow.save_changes().
|
inline |
Definition at line 1882 of file Main.vala.
References _, delete_thread(), Error, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), progress_text, thread_delete_running, and thread_delete_success.
Referenced by DeleteBox.delete_snapshots().
|
inline |
Definition at line 1905 of file Main.vala.
References _, btrfs_mode, delete_file_task, delete_list, TeeJee.Logging.log_debug(), Main(), OSDNotify.notify_send(), AsyncTask.stat_time_elapsed, AsyncTask.status, thread_delete_running, and thread_delete_success.
Referenced by delete_begin().
|
inlineprivate |
Definition at line 593 of file Main.vala.
References current_system_users, encrypted_home_dirs, encrypted_private_dirs, TeeJee.Logging.log_debug(), SystemUser.read_users_from_file(), and users_with_encrypted_home.
Referenced by Main().
|
inline |
Definition at line 3842 of file Main.vala.
References _, app_mode, Subvolume.detect_subvolumes_for_system_by_path(), TeeJee.Logging.LOG_DEBUG, TeeJee.Logging.log_debug(), parent_window, partitions, sys_boot, sys_efi, sys_home, sys_root, and sys_subvolumes.
Referenced by Main().
|
inline |
Definition at line 4168 of file Main.vala.
References app_mode, RsyncTask.count_created, TeeJee.FileSystem.dir_create(), AsyncTask.execute(), first_snapshot_count, first_snapshot_size, TeeJee.GtkHelper.gtk_do_events(), live_system(), TeeJee.Logging.log_debug(), Main(), TeeJee.FileSystem.path_combine(), progressCallback(), RsyncTask.RsyncTask(), save_app_config(), save_exclude_list_for_backup(), AsyncTask.status, sys_root, task, TeeJee.ProcessHelper.TEMP_DIR, RsyncTask.total_size, and Device.used_bytes.
Referenced by create_snapshot_with_rsync(), and EstimateBox.estimate_system_size().
|
inline |
Definition at line 4574 of file Main.vala.
References app_lock, app_mode, clean_logs(), cleanup_unmount_devices(), cron_job_update(), exit(), TeeJee.Logging.log_debug(), AppLock.remove(), save_app_config(), TeeJee.ProcessHelper.TEMP_DIR, and unmount_target_device().
Referenced by AppConsole.confirm_restore(), create_snapshot_for_tag(), create_snapshot_with_btrfs(), create_snapshot_with_rsync(), initialize_repo(), Main(), AppConsole.main(), AppGtk.main(), AppConsole.map_devices(), MainWindow.on_close_request(), AppConsole.parse_arguments(), AppGtk.parse_arguments(), AppConsole.read_stdin_device(), AppConsole.read_stdin_device_mounts(), AppConsole.read_stdin_grub_install(), AppConsole.read_stdin_restore_confirm(), AppConsole.read_stdin_snapshot(), MainWindow.restart_application(), AppConsole.select_grub_device(), AppConsole.select_snapshot(), AppConsole.select_snapshot_device(), AppConsole.select_snapshot_for_deletion(), AppConsole.select_snapshot_for_restore(), unmount_device(), and validate_cmd_tags().
|
inlineprivate |
Definition at line 2988 of file Main.vala.
References _, TeeJee.FileSystem.file_exists(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), mount_list, and TeeJee.FileSystem.path_combine().
Referenced by restore_other_console(), and restore_other_gui().
|
inlineprivate |
Definition at line 2895 of file Main.vala.
References _, TeeJee.FileSystem.dir_create(), TeeJee.FileSystem.dir_exists(), TeeJee.FileSystem.file_exists(), MountEntry.find_entry_by_mount_point(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), mount_list, and TeeJee.FileSystem.path_combine().
Referenced by restore_other_console(), and restore_other_gui().
|
inlineprivate |
Definition at line 392 of file Main.vala.
References TeeJee.Logging.log_debug(), and TeeJee.Logging.log_error().
Referenced by check_btrfs_version_capabilities().
|
inline |
Definition at line 2400 of file Main.vala.
References _, App, app_mode, btrfs_mode, include_btrfs_home_for_restore, TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), mount_list, restore_current_system, snapshot_to_restore, and Snapshot.subvolumes.
Referenced by AppConsole.confirm_restore(), and RestoreSummaryBox.refresh().
|
inlineprivate |
Definition at line 1457 of file Main.vala.
References _, Device.device, SnapshotRepo.device, TeeJee.FileSystem.dir_create(), Error, AsyncTask.execute(), TeeJee.FileSystem.file_basename(), TeeJee.FileSystem.file_read(), SnapshotRepo.get_latest_snapshot(), TeeJee.GtkHelper.gtk_do_events(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Main(), SnapshotRepo.mount_path, Snapshot.name, Snapshot.path, TeeJee.FileSystem.path_combine(), progress_text, repo, RsyncSpaceCheckTask.RsyncSpaceCheckTask(), save_exclude_list_for_backup(), TeeJee.System.sleep(), SnapshotRepo.snapshots, SnapshotRepo.snapshots_path, space_check_task, AsyncTask.status, sys_root, RsyncSpaceCheckTask.total_size, and Device.uuid.
Referenced by create_snapshot_for_tag().
|
inline |
Definition at line 3421 of file Main.vala.
References _, backup_parent_uuid, backup_uuid, btrfs_mode, count_boot, count_daily, count_hourly, count_monthly, count_weekly, date_format, date_format_default, Error, exclude_app_names, exclude_list_default, exclude_list_home, exclude_list_user, TeeJee.FileSystem.file_exists(), first_run, first_snapshot_count, first_snapshot_size, include_btrfs_home_for_backup, include_btrfs_home_for_restore, TeeJee.JsonHelper.json_get_bool(), TeeJee.JsonHelper.json_get_int(), TeeJee.JsonHelper.json_get_string(), TeeJee.JsonHelper.json_get_uint64(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Main(), save_app_config(), schedule_boot, schedule_daily, schedule_hourly, schedule_monthly, schedule_weekly, and stop_cron_emails.
Referenced by SetupWizardWindow.run_timeshift_import().
|
inline |
Definition at line 2265 of file Main.vala.
References LinuxDistro.dist_id, Snapshot.distro, dst_root, grub_device, mirror_system, reinstall_grub2, snapshot_to_restore, update_grub, and update_initramfs.
Referenced by RestoreDeviceBox.add_device_combo(), init_mount_list(), and RestoreDeviceBox.refresh().
|
inline |
Definition at line 2075 of file Main.vala.
References Snapshot.cryttab_list, Device.device, dst_root, exclude_list_default, exclude_list_user, Snapshot.fstab_list, Device.get_device_by_name(), Device.get_device_by_uuid(), init_boot_options(), TeeJee.Logging.log_debug(), Device.luks_unlock(), mirror_system, mount_list, MountEntry.MountEntry(), parent_window, snapshot_to_restore, and update_partitions().
Referenced by RestoreDeviceBox.create_device_selection_options(), AppConsole.init_mounts(), and MainWindow.restore().
|
inline |
Definition at line 337 of file Main.vala.
References initialize_repo().
Referenced by AppConsole.main(), and AppGtk.main().
|
inline |
Definition at line 3727 of file Main.vala.
References _, app_mode, backup_parent_uuid, backup_uuid, btrfs_mode, cmd_backup_device, Device.device, SnapshotRepo.device, exit_app(), first_run, SnapshotRepo.from_device(), SnapshotRepo.from_uuid(), Device.get_device_by_name(), Device.get_device_by_uuid(), Device.has_children(), Device.is_encrypted_partition(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), parent_window, repo, sys_root, and try_select_default_device_for_backup().
Referenced by initialize(), and SetupWizardWindow.run_timeshift_import().
|
inline |
Definition at line 1058 of file Main.vala.
References _live_system, app_mode, TeeJee.FileSystem.file_read(), and TeeJee.Logging.log_msg().
Referenced by BackupDeviceBox.check_backup_location(), cron_job_update(), estimate_system_size(), SetupWizardWindow.go_next(), MainWindow.MainWindow(), MainWindow.on_close_request(), and AppConsole.start_application().
|
inline |
Definition at line 3564 of file Main.vala.
References _, app_conf_path, app_conf_path_default, app_conf_path_old, app_mode, backup_parent_uuid, backup_uuid, btrfs_mode, cmd_btrfs_mode, count_boot, count_daily, count_hourly, count_monthly, count_weekly, date_format_default, TeeJee.FileSystem.dir_create(), TeeJee.FileSystem.dir_exists(), Error, exclude_app_names, exclude_list_default, exclude_list_home, exclude_list_user, TeeJee.FileSystem.file_copy(), TeeJee.FileSystem.file_exists(), TeeJee.FileSystem.file_move(), TeeJee.FileSystem.file_parent(), first_snapshot_count, first_snapshot_size, include_btrfs_home_for_backup, include_btrfs_home_for_restore, TeeJee.JsonHelper.json_get_bool(), TeeJee.JsonHelper.json_get_int(), TeeJee.JsonHelper.json_get_string(), TeeJee.JsonHelper.json_get_uint64(), TeeJee.Logging.LOG_DEBUG, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Main(), schedule_boot, schedule_daily, schedule_hourly, schedule_monthly, schedule_weekly, set_first_run_flag(), and stop_cron_emails.
Referenced by Main().
|
inline |
Definition at line 3910 of file Main.vala.
References _, app_mode, check_btrfs_layout(), TeeJee.FileSystem.dir_create(), dst_home, dst_root, Device.fstype, Snapshot.has_subvolumes(), include_btrfs_home_for_restore, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), Device.luks_unlock(), Device.mount(), mount_list, mount_point_app, mount_point_restore, snapshot_to_restore, and unmount_target_device().
Referenced by RestoreDeviceBox.check_and_mount_devices(), and AppConsole.restore_snapshot().
|
inlineprivate |
Definition at line 537 of file Main.vala.
References app_mode, btrfs_mode, cmd_btrfs_mode, TeeJee.Logging.LOG_COMMANDS, and TeeJee.Logging.LOG_DEBUG.
Referenced by Main().
| delegate void Main.progressCallback | ( | ) |
Referenced by estimate_system_size().
|
inline |
Definition at line 4288 of file Main.vala.
References _, TeeJee.ProcessHelper.exec_sync(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), SnapshotRepo.mount_paths, repo, SnapshotRepo.snapshots, and sys_subvolumes.
Referenced by query_subvolume_ids().
|
inline |
Definition at line 4280 of file Main.vala.
References SnapshotRepo.device, SnapshotRepo.device_home, query_subvolume_id(), repo, and Device.uuid.
Referenced by query_subvolume_info_thread().
|
inline |
Definition at line 4222 of file Main.vala.
References _, SnapshotRepo.btrfs_mode, Error, TeeJee.GtkHelper.gtk_do_events(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), query_subvolume_info_thread(), repo, thread_subvol_info_running, and thread_subvol_info_success.
Referenced by SnapshotRepo.load_snapshots().
|
inline |
Definition at line 4254 of file Main.vala.
References _btrfs_qgroups_enabled_internal, ENABLED, query_subvolume_ids(), query_subvolume_quotas(), thread_subvol_info_running, and thread_subvol_info_success.
Referenced by query_subvolume_info().
|
inline |
Definition at line 4357 of file Main.vala.
References _, TeeJee.ProcessHelper.exec_sync(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), SnapshotRepo.mount_paths, repo, SnapshotRepo.snapshots, sys_subvolumes, and use_option_raw.
Referenced by query_subvolume_quotas().
|
inline |
Definition at line 4349 of file Main.vala.
References SnapshotRepo.device, SnapshotRepo.device_home, query_subvolume_quota(), repo, and Device.uuid.
Referenced by query_subvolume_info_thread().
|
inlineprivate |
Definition at line 2722 of file Main.vala.
References cmd_verbose, TeeJee.ProcessHelper.exec_script_sync(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), and TeeJee.Logging.log_to_file().
Referenced by restore_execute_rsync().
|
inlineprivate |
Definition at line 2745 of file Main.vala.
References TerminalWindow.execute_script(), TeeJee.Logging.log_debug(), parent_window, TeeJee.ProcessHelper.save_bash_script_temp(), and TerminalWindow.with_parent().
Referenced by restore_execute_rsync().
|
inline |
Definition at line 3150 of file Main.vala.
References _, create_pre_restore_snapshot_btrfs(), TeeJee.ProcessHelper.exec_script_sync(), include_btrfs_home_for_restore, TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), restore_current_system, snapshot_to_restore, Snapshot.subvolumes, thr_success, and thread_restore_running.
Referenced by restore_snapshot().
|
inline |
Definition at line 3065 of file Main.vala.
References _, app_mode, check_and_repair_filesystems(), create_restore_scripts(), dry_run, Error, TeeJee.FileSystem.file_delete(), TeeJee.FileSystem.file_write(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Snapshot.path, TeeJee.FileSystem.path_combine(), progress_text, restore_current_console(), restore_current_gui(), restore_current_system, restore_log_file, restore_other_console(), restore_other_gui(), restore_source_path, restore_target_path, save_exclude_list_for_restore(), snapshot_to_restore, thr_success, thread_restore_running, and unmount_target_device().
Referenced by restore_snapshot().
|
inlineprivate |
Definition at line 2758 of file Main.vala.
References _, cmd_verbose, TeeJee.ProcessHelper.exec_script_sync(), fix_crypttab_file(), fix_fstab_file(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), TeeJee.Logging.log_to_file(), progress_text, restore_log_file, restore_target_path, RsyncTask.RsyncTask(), and task.
Referenced by restore_execute_rsync().
|
inlineprivate |
Definition at line 2809 of file Main.vala.
References _, dry_run, TeeJee.ProcessHelper.exec_script_sync(), AsyncTask.execute(), Snapshot.file_count, fix_crypttab_file(), fix_fstab_file(), TeeJee.GtkHelper.gtk_do_events(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_msg(), Main(), mirror_system, Snapshot.path, TeeJee.FileSystem.path_combine(), progress_text, reinstall_grub2, restore_exclude_file, restore_log_file, restore_target_path, RsyncTask.RsyncTask(), TeeJee.System.sleep(), snapshot_to_restore, AsyncTask.status, AsyncTask.status_line, task, update_grub, and update_initramfs.
Referenced by restore_execute_rsync().
|
inline |
Definition at line 2298 of file Main.vala.
References _, btrfs_mode, Snapshot.description, Device.device, SnapshotRepo.device, dry_run, dst_root, Error, TeeJee.GtkHelper.gtk_do_events(), include_btrfs_home_for_restore, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Snapshot.marked_for_deletion, mirror_system, mount_list, SnapshotRepo.mount_paths, mount_point_restore, Snapshot.name, parent_window, repo, restore_current_system, restore_execute_btrfs(), restore_execute_rsync(), snapshot_to_restore, thr_success, and thread_restore_running.
Referenced by AppConsole.restore_snapshot(), and RestoreBox.restore_thread().
|
inlineprivate |
Definition at line 1811 of file Main.vala.
References TeeJee.ProcessHelper.exec_script_sync(), and TeeJee.Logging.log_debug().
Referenced by create_snapshot_with_btrfs(), and create_snapshot_with_rsync().
|
inline |
Definition at line 3338 of file Main.vala.
References _, app_mode, SnapshotRepo.available(), backup_parent_uuid, backup_uuid, btrfs_mode, count_boot, count_daily, count_hourly, count_monthly, count_weekly, date_format, SnapshotRepo.device, Error, exclude_app_names, exclude_list_user, first_snapshot_count, first_snapshot_size, Device.has_parent(), SnapshotRepo.has_snapshots(), include_btrfs_home_for_backup, include_btrfs_home_for_restore, TeeJee.Logging.LOG_DEBUG, TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), TeeJee.Logging.log_msg(), Device.parent, repo, schedule_boot, schedule_daily, schedule_hourly, schedule_monthly, schedule_weekly, stop_cron_emails, and Device.uuid.
Referenced by estimate_system_size(), exit_app(), import_timeshift_config_if_available(), and MainWindow.settings_changed().
|
inlineprivate |
Definition at line 984 of file Main.vala.
References create_exclude_list_for_backup(), TeeJee.FileSystem.file_write(), TeeJee.Logging.log_debug(), and TeeJee.FileSystem.path_combine().
Referenced by create_snapshot_with_rsync(), estimate_system_size(), and get_space_needed_for_rsync_snapshot().
|
inline |
Definition at line 1004 of file Main.vala.
References create_exclude_list_for_restore(), TeeJee.FileSystem.file_write(), TeeJee.Logging.log_debug(), and restore_exclude_file.
Referenced by restore_execute_rsync().
|
inline |
Definition at line 1023 of file Main.vala.
References exclude_app_names, exclude_list_apps, and TeeJee.Logging.log_debug().
Referenced by RestoreWindow.validate_current_tab().
|
inline |
Definition at line 3708 of file Main.vala.
References _, btrfs_mode, cmd_btrfs_mode, first_run, TeeJee.Logging.log_msg(), and sys_subvolumes.
Referenced by load_app_config().
|
inlineprivate |
Definition at line 1827 of file Main.vala.
References cmd_tags.
Referenced by create_snapshot_with_btrfs(), and create_snapshot_with_rsync().
|
inlinestatic |
Definition at line 366 of file Main.vala.
Referenced by AppConsole.main(), and AppGtk.main().
|
inline |
Definition at line 4110 of file Main.vala.
References SnapshotRepo.available(), btrfs_mode, SnapshotRepo.btrfs_mode, check_device_for_backup(), SnapshotRepo.device, SnapshotRepo.from_device(), SnapshotRepo.from_null(), TeeJee.Logging.log_debug(), partitions, repo, sys_subvolumes, and update_partitions().
Referenced by SnapshotBackendBox.init_backend(), and initialize_repo().
|
inline |
Definition at line 4034 of file Main.vala.
References _, app_mode, exit_app(), and Device.unmount().
Referenced by unmount_target_device().
|
inline |
Definition at line 4019 of file Main.vala.
References TeeJee.Logging.log_debug(), mount_point_app, mount_point_restore, and unmount_device().
Referenced by exit_app(), mount_target_devices(), and restore_execute_rsync().
|
inline |
Definition at line 3819 of file Main.vala.
References _, SnapshotRepo.device, Device.get_filesystems(), TeeJee.Logging.log_debug(), TeeJee.Logging.log_error(), partitions, repo, and Device.uuid.
Referenced by BackupDeviceBox.BackupDeviceBox(), BackupDeviceBox.change_backup_device(), BackupDeviceBox.device_list_refresh(), init_mount_list(), Main(), RestoreDeviceBox.refresh(), RestoreDeviceBox.RestoreDeviceBox(), and try_select_default_device_for_backup().
|
inline |
Definition at line 1861 of file Main.vala.
References _, cmd_tags, exit_app(), and TeeJee.Logging.log_error().
Referenced by AppConsole.parse_arguments().
|
private |
Definition at line 180 of file Main.vala.
Referenced by query_subvolume_info_thread().
|
private |
Definition at line 169 of file Main.vala.
Referenced by live_system().
| string Main.app_conf_path = "" |
Definition at line 44 of file Main.vala.
Referenced by load_app_config().
| string Main.app_conf_path_default = "" |
Definition at line 46 of file Main.vala.
Referenced by load_app_config().
| string Main.app_conf_path_old = "" |
Definition at line 45 of file Main.vala.
Referenced by load_app_config().
| AppLock Main.app_lock |
Definition at line 128 of file Main.vala.
Referenced by exit_app(), and Main().
| string Main.app_mode = "" |
Definition at line 98 of file Main.vala.
Referenced by check_btrfs_layout_system(), SnapshotRepo.check_status(), create_snapshot(), create_snapshot_with_rsync(), detect_system_devices(), estimate_system_size(), exit_app(), get_restore_messages(), initialize_repo(), live_system(), load_app_config(), Main(), mount_target_devices(), parse_some_arguments(), restore_execute_rsync(), save_app_config(), AppConsole.start_application(), and unmount_device().
| string Main.backup_parent_uuid = "" |
Definition at line 50 of file Main.vala.
Referenced by import_timeshift_config_if_available(), MainWindow.init_delayed(), initialize_repo(), load_app_config(), and save_app_config().
| string Main.backup_uuid = "" |
Definition at line 49 of file Main.vala.
Referenced by SnapshotRepo.available(), import_timeshift_config_if_available(), initialize_repo(), load_app_config(), SetupWizardWindow.probe_timeshift_snapshots_from_mounts(), SetupWizardWindow.refresh_timeshift_page(), save_app_config(), and AppConsole.select_snapshot_device().
| bool Main.btrfs_mode = true |
Definition at line 52 of file Main.vala.
Referenced by BackupDeviceBox.append_child_volumes(), BackupDeviceBox.BackupDeviceBox(), MainWindow.browse_selected(), SnapshotListBox.build_ui(), BackupDeviceBox.change_backup_device(), check_device_for_backup(), SettingsWindow.connect_signals(), create_snapshot(), MainWindow.create_snapshot(), create_snapshot_for_tag(), DeleteBox.delete_snapshots(), delete_thread(), BackupDeviceBox.device_list_refresh(), get_restore_messages(), SettingsWindow.get_tab_order(), BackupWindow.go_first(), RestoreWindow.go_first(), RestoreWindow.go_next(), SetupWizardWindow.go_next(), BackupWindow.go_prev(), RestoreWindow.go_prev(), SetupWizardWindow.go_prev(), import_timeshift_config_if_available(), MainWindow.init_delayed(), initialize_repo(), SetupWizardWindow.initialize_tab(), load_app_config(), parse_some_arguments(), BackupDeviceBox.refresh(), FinishBox.refresh(), SnapshotBackendBox.refresh(), UsersBox.refresh(), AppConsole.restore_snapshot(), restore_snapshot(), save_app_config(), AppConsole.select_snapshot_device(), set_first_run_flag(), MainWindow.settings_changed(), BackupBox.take_snapshot(), BackupDeviceBox.try_change_device(), BackupDeviceBox.try_change_smb_share(), try_select_default_device_for_backup(), and RestoreFinishBox.update_message().
|
static |
Definition at line 55 of file Main.vala.
Referenced by check_btrfs_version_capabilities(), and Subvolume.remove().
| string Main.cmd_backup_device = "" |
Definition at line 147 of file Main.vala.
Referenced by initialize_repo().
| bool? Main.cmd_btrfs_mode = null |
Definition at line 154 of file Main.vala.
Referenced by load_app_config(), parse_some_arguments(), and set_first_run_flag().
| string Main.cmd_comments = "" |
Definition at line 152 of file Main.vala.
Referenced by create_snapshot_with_btrfs(), and create_snapshot_with_rsync().
| bool Main.cmd_confirm = false |
Definition at line 149 of file Main.vala.
Referenced by AppConsole.confirm_restore(), and AppConsole.select_grub_device().
| string Main.cmd_grub_device = "" |
Definition at line 145 of file Main.vala.
Referenced by AppConsole.select_grub_device().
| bool Main.cmd_scripted = false |
Definition at line 151 of file Main.vala.
Referenced by AppConsole.map_devices(), AppConsole.restore_snapshot(), AppConsole.select_grub_device(), AppConsole.select_snapshot(), and AppConsole.select_snapshot_device().
| bool Main.cmd_skip_grub = false |
Definition at line 144 of file Main.vala.
Referenced by AppConsole.select_grub_device().
| string Main.cmd_snapshot = "" |
Definition at line 148 of file Main.vala.
Referenced by AppConsole.select_snapshot().
| string Main.cmd_tags = "" |
Definition at line 153 of file Main.vala.
Referenced by set_tags(), and validate_cmd_tags().
| string Main.cmd_target_device = "" |
Definition at line 146 of file Main.vala.
Referenced by AppConsole.map_devices().
| bool Main.cmd_verbose = true |
Definition at line 150 of file Main.vala.
Referenced by restore_current_console(), and restore_other_console().
| int Main.count_boot = 5 |
Definition at line 96 of file Main.vala.
Referenced by SnapshotRepo.auto_remove(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| int Main.count_daily = 5 |
Definition at line 94 of file Main.vala.
Referenced by SnapshotRepo.auto_remove(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| int Main.count_hourly = 6 |
Definition at line 95 of file Main.vala.
Referenced by SnapshotRepo.auto_remove(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| int Main.count_monthly = 2 |
Definition at line 92 of file Main.vala.
Referenced by SnapshotRepo.auto_remove(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| int Main.count_weekly = 3 |
Definition at line 93 of file Main.vala.
Referenced by SnapshotRepo.auto_remove(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| LinuxDistro Main.current_distro |
Definition at line 84 of file Main.vala.
Referenced by create_snapshot_with_btrfs(), create_snapshot_with_rsync(), and Main().
| Gee.HashMap<string, SystemUser> Main.current_system_users |
Definition at line 164 of file Main.vala.
Referenced by create_exclude_list_for_backup(), detect_encrypted_dirs(), and UsersBox.refresh_treeview().
| string Main.date_format = "%Y-%m-%d %H:%M:%S" |
Definition at line 130 of file Main.vala.
Referenced by import_timeshift_config_if_available(), MiscBox.init_date_format_option(), and save_app_config().
|
static |
Definition at line 131 of file Main.vala.
Referenced by import_timeshift_config_if_available(), MiscBox.init_date_format_option(), and load_app_config().
| DeleteFileTask Main.delete_file_task |
Definition at line 161 of file Main.vala.
Referenced by DeleteWindow.create_actions(), DeleteBox.delete_snapshots(), delete_thread(), Main(), and MainWindow.on_close_request().
| Gee.ArrayList<Snapshot> Main.delete_list |
Definition at line 133 of file Main.vala.
Referenced by DeleteWindow.create_actions(), MainWindow.delete_selected(), delete_thread(), DeleteWindow.go_first(), Main(), and MainWindow.on_close_request().
| bool Main.dry_run = false |
Definition at line 100 of file Main.vala.
Referenced by RsyncLogBox.add_combo(), RestoreWindow.create_actions(), RsyncLogBox.create_filters(), create_restore_scripts(), RsyncLogBox.init_delayed(), RsyncLogBox.open_log(), RsyncLogBox.refresh_rows(), RestoreBox.restore(), restore_execute_rsync(), restore_other_gui(), restore_snapshot(), and RestoreBox.RestoreBox().
| string Main.encrypted_home_dirs = "" |
Definition at line 166 of file Main.vala.
Referenced by detect_encrypted_dirs().
| string Main.encrypted_private_dirs = "" |
Definition at line 171 of file Main.vala.
Referenced by detect_encrypted_dirs().
| Gee.ArrayList<string> Main.exclude_app_names |
Definition at line 68 of file Main.vala.
Referenced by add_app_exclude_entries(), import_timeshift_config_if_available(), load_app_config(), Main(), save_app_config(), and save_exclude_list_selections().
| Gee.ArrayList<AppExcludeEntry> Main.exclude_list_apps |
Definition at line 66 of file Main.vala.
Referenced by add_app_exclude_entries(), add_default_exclude_entries(), create_exclude_list_for_restore(), ExcludeAppsBox.refresh_treeview(), and save_exclude_list_selections().
| Gee.ArrayList<string> Main.exclude_list_default |
Definition at line 62 of file Main.vala.
Referenced by add_default_exclude_entries(), create_exclude_list_for_backup(), create_exclude_list_for_restore(), ExcludeMessageWindow.ExcludeMessageWindow(), import_timeshift_config_if_available(), init_mount_list(), load_app_config(), and ExcludeBox.save_changes().
| Gee.ArrayList<string> Main.exclude_list_default_extra |
Definition at line 63 of file Main.vala.
Referenced by add_default_exclude_entries(), create_exclude_list_for_backup(), and create_exclude_list_for_restore().
| Gee.ArrayList<string> Main.exclude_list_home |
Definition at line 64 of file Main.vala.
Referenced by add_default_exclude_entries(), create_exclude_list_for_backup(), create_exclude_list_for_restore(), import_timeshift_config_if_available(), load_app_config(), and ExcludeBox.save_changes().
| Gee.ArrayList<string> Main.exclude_list_restore |
Definition at line 65 of file Main.vala.
Referenced by add_default_exclude_entries(), and create_exclude_list_for_restore().
| Gee.ArrayList<string> Main.exclude_list_user |
Definition at line 61 of file Main.vala.
Referenced by add_default_exclude_entries(), ExcludeBox.add_files_clicked(), ExcludeBox.add_folder_clicked(), ExcludeBox.apply_patterns(), UsersBox.apply_user_mode(), create_exclude_list_for_backup(), create_exclude_list_for_restore(), UsersBox.create_user_row(), import_timeshift_config_if_available(), ExcludeBox.init_actions(), init_mount_list(), load_app_config(), ExcludeBox.refresh_treeview(), ExcludeBox.remove_row(), save_app_config(), and ExcludeBox.save_changes().
| bool Main.first_run = false |
Definition at line 47 of file Main.vala.
Referenced by import_timeshift_config_if_available(), MainWindow.init_delayed(), initialize_repo(), SetupWizardWindow.on_close_request(), set_first_run_flag(), and SetupWizardWindow.SetupWizardWindow().
|
static |
Definition at line 124 of file Main.vala.
Referenced by estimate_system_size(), import_timeshift_config_if_available(), load_app_config(), Snapshot.remove_rsync(), and save_app_config().
|
static |
Definition at line 123 of file Main.vala.
Referenced by ExcludeBox.add_files_clicked(), ExcludeBox.add_folder_clicked(), SnapshotBackendBox.add_opt_rsync(), create_snapshot_for_tag(), create_snapshot_with_rsync(), EstimateBox.estimate_system_size(), estimate_system_size(), BackupWindow.go_first(), BackupWindow.go_prev(), SnapshotRepo.has_space(), import_timeshift_config_if_available(), ExcludeBox.init_actions(), load_app_config(), and save_app_config().
| string Main.grub_device = "" |
Definition at line 141 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), BootOptionsBox.cmb_grub_dev_select_default(), create_restore_scripts(), init_boot_options(), and AppConsole.select_grub_device().
| bool Main.include_btrfs_home_for_backup = false |
Definition at line 53 of file Main.vala.
Referenced by check_btrfs_layout(), check_btrfs_layout_system(), create_snapshot_with_btrfs(), import_timeshift_config_if_available(), load_app_config(), UsersBox.refresh(), and save_app_config().
| bool Main.include_btrfs_home_for_restore = false |
Definition at line 54 of file Main.vala.
Referenced by create_pre_restore_snapshot_btrfs(), get_restore_messages(), import_timeshift_config_if_available(), load_app_config(), mount_target_devices(), UsersBox.refresh(), restore_execute_btrfs(), restore_snapshot(), and save_app_config().
| string Main.log_dir = "" |
Definition at line 126 of file Main.vala.
Referenced by clean_logs(), and Main().
| string Main.log_file = "" |
Definition at line 127 of file Main.vala.
Referenced by clean_logs(), create_snapshot_with_rsync(), and Main().
|
static |
Definition at line 122 of file Main.vala.
Referenced by SnapshotRepo.has_space().
| bool Main.mirror_system = false |
Definition at line 85 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), create_exclude_list_for_restore(), create_restore_scripts(), init_boot_options(), init_mount_list(), AppConsole.map_devices(), AppConsole.read_stdin_device_mounts(), BootOptionsBox.refresh_options(), MainWindow.restore(), restore_other_gui(), restore_snapshot(), RestoreDeviceBox.RestoreDeviceBox(), AppConsole.select_grub_device(), AppConsole.select_snapshot(), AppConsole.select_snapshot_device(), and RestoreFinishBox.update_message().
| Gee.ArrayList<MountEntry> Main.mount_list |
Definition at line 67 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), check_and_repair_filesystems(), RestoreDeviceBox.create_device_selection_options(), fix_crypttab_file(), fix_fstab_file(), get_restore_messages(), init_mount_list(), AppConsole.init_mounts(), Main(), AppConsole.map_devices(), mount_target_devices(), and restore_snapshot().
| string Main.mount_point_app = "" |
Definition at line 82 of file Main.vala.
Referenced by check_btrfs_volume(), mount_target_devices(), Subvolume.remove(), SnapshotRepo.unlock_and_mount_devices(), and unmount_target_device().
| string Main.mount_point_restore = "" |
Definition at line 81 of file Main.vala.
Referenced by mount_target_devices(), restore_snapshot(), and unmount_target_device().
| Gtk.? Window Main.parent_window = null |
Definition at line 158 of file Main.vala.
Referenced by check_btrfs_volume(), detect_system_devices(), init_mount_list(), initialize_repo(), Main(), restore_current_gui(), and restore_snapshot().
| Gee.ArrayList<Device> Main.partitions |
Definition at line 59 of file Main.vala.
Referenced by add_default_exclude_entries(), RestoreDeviceBox.add_device_combo(), BackupDeviceBox.append_child_volumes(), BackupDeviceBox.change_backup_device(), detect_system_devices(), BackupDeviceBox.device_list_refresh(), AppConsole.map_devices(), AppConsole.select_grub_device(), AppConsole.select_snapshot_device(), try_select_default_device_for_backup(), and update_partitions().
| string Main.progress_text = "" |
Definition at line 156 of file Main.vala.
Referenced by create_snapshot_with_rsync(), delete_begin(), DeleteBox.delete_snapshots(), get_space_needed_for_rsync_snapshot(), RestoreBox.restore(), restore_execute_rsync(), restore_other_console(), restore_other_gui(), and BackupBox.take_snapshot().
| bool Main.reinstall_grub2 = true |
Definition at line 138 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), create_restore_scripts(), init_boot_options(), BootOptionsBox.refresh_options(), restore_other_gui(), BootOptionsBox.save_grub_device_selection(), and AppConsole.select_grub_device().
| SnapshotRepo Main.repo |
Definition at line 70 of file Main.vala.
Referenced by MainWindow.browse_selected(), BackupDeviceBox.change_backup_device(), BackupDeviceBox.check_backup_location(), check_backup_location(), create_pre_restore_snapshot_btrfs(), create_snapshot(), MainWindow.create_snapshot(), create_snapshot_for_tag(), create_snapshot_with_btrfs(), create_snapshot_with_rsync(), AppConsole.delete_all_snapshots(), MainWindow.delete_selected(), get_space_needed_for_rsync_snapshot(), BackupWindow.go_first(), BackupWindow.go_prev(), MainWindow.init_delayed(), initialize_repo(), BackupWindow.initialize_tab(), AppConsole.list_snapshots(), Main(), MainWindow.mark_selected(), MainWindow.on_close_request(), MainWindow.open_restore_flow(), query_subvolume_id(), query_subvolume_ids(), query_subvolume_info(), query_subvolume_quota(), query_subvolume_quotas(), AppConsole.read_stdin_snapshot(), SnapshotListBox.refresh(), restore_snapshot(), SetupWizardWindow.run_timeshift_import(), save_app_config(), AppConsole.select_snapshot(), AppConsole.select_snapshot_device(), MainWindow.settings_changed(), AppConsole.start_application(), try_select_default_device_for_backup(), update_partitions(), BackupDeviceBox.update_selected_rows(), MainWindow.update_statusbar(), BackupWindow.validate_current_tab(), and SetupWizardWindow.validate_current_tab().
| bool Main.schedule_boot = false |
Definition at line 91 of file Main.vala.
Referenced by create_snapshot(), cron_job_update(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
| bool Main.schedule_daily = false |
Definition at line 89 of file Main.vala.
Referenced by create_snapshot(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
| bool Main.schedule_hourly = false |
Definition at line 90 of file Main.vala.
Referenced by create_snapshot(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
| bool Main.schedule_monthly = false |
Definition at line 87 of file Main.vala.
Referenced by create_snapshot(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
| bool Main.schedule_weekly = false |
Definition at line 88 of file Main.vala.
Referenced by create_snapshot(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().
| Snapshot Main.snapshot_to_delete |
Definition at line 135 of file Main.vala.
Referenced by AppConsole.delete_snapshot(), and AppConsole.select_snapshot_for_deletion().
| Snapshot Main.snapshot_to_restore |
Definition at line 136 of file Main.vala.
Referenced by add_app_exclude_entries(), create_exclude_list_for_restore(), create_pre_restore_snapshot_btrfs(), get_restore_messages(), RestoreWindow.go_first(), RestoreWindow.go_prev(), init_boot_options(), init_mount_list(), RestoreWindow.initialize_tab(), mount_target_devices(), BootOptionsBox.refresh_options(), restore_execute_btrfs(), restore_execute_rsync(), restore_other_gui(), restore_snapshot(), and AppConsole.select_snapshot_for_restore().
| RsyncSpaceCheckTask Main.space_check_task |
Definition at line 162 of file Main.vala.
Referenced by get_space_needed_for_rsync_snapshot(), and BackupBox.take_snapshot().
| bool Main.stop_cron_emails = true |
Definition at line 57 of file Main.vala.
Referenced by cron_job_update(), import_timeshift_config_if_available(), load_app_config(), save_app_config(), and ScheduleBox.ScheduleBox().
| Device Main.sys_boot |
Definition at line 76 of file Main.vala.
Referenced by detect_system_devices().
| Device Main.sys_efi |
Definition at line 77 of file Main.vala.
Referenced by detect_system_devices().
| Device Main.sys_home |
Definition at line 78 of file Main.vala.
Referenced by detect_system_devices().
| Device Main.sys_root |
Definition at line 75 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), create_snapshot(), create_snapshot_with_btrfs(), create_snapshot_with_rsync(), detect_system_devices(), estimate_system_size(), get_space_needed_for_rsync_snapshot(), initialize_repo(), SnapshotRepo.load_snapshots(), AppConsole.map_devices(), and MainWindow.settings_changed().
| Gee.HashMap<string, Subvolume> Main.sys_subvolumes |
Definition at line 79 of file Main.vala.
Referenced by check_btrfs_layout_system(), create_pre_restore_snapshot_btrfs(), create_snapshot_with_btrfs(), detect_system_devices(), Main(), query_subvolume_id(), query_subvolume_quota(), set_first_run_flag(), and try_select_default_device_for_backup().
| RsyncTask Main.task |
Definition at line 160 of file Main.vala.
Referenced by BackupWindow.create_actions(), RestoreWindow.create_actions(), SetupWizardWindow.create_actions(), create_snapshot_with_rsync(), estimate_system_size(), Main(), MainWindow.on_close_request(), RsyncLogBox.parse_log_file(), RsyncLogBox.parse_log_file_thread(), RestoreBox.restore(), restore_other_console(), restore_other_gui(), and BackupBox.take_snapshot().
| bool Main.thr_success = false |
Definition at line 103 of file Main.vala.
Referenced by restore_execute_btrfs(), restore_execute_rsync(), and restore_snapshot().
| bool Main.thread_delete_running = false |
Definition at line 108 of file Main.vala.
Referenced by MainWindow.check_if_deletion_running(), delete_begin(), MainWindow.delete_selected(), DeleteBox.delete_snapshots(), delete_thread(), DeleteWindow.go_first(), and MainWindow.on_close_request().
| bool Main.thread_delete_success = false |
Definition at line 109 of file Main.vala.
Referenced by delete_begin(), DeleteBox.delete_snapshots(), and delete_thread().
| bool Main.thread_restore_running = false |
Definition at line 105 of file Main.vala.
Referenced by restore_execute_btrfs(), restore_execute_rsync(), and restore_snapshot().
| bool Main.thread_subvol_info_running = false |
Definition at line 111 of file Main.vala.
Referenced by query_subvolume_info(), and query_subvolume_info_thread().
| bool Main.thread_subvol_info_success = false |
Definition at line 112 of file Main.vala.
Referenced by query_subvolume_info(), and query_subvolume_info_thread().
| bool Main.update_grub = true |
Definition at line 140 of file Main.vala.
Referenced by create_restore_scripts(), init_boot_options(), BootOptionsBox.refresh_options(), and restore_other_gui().
| bool Main.update_initramfs = false |
Definition at line 139 of file Main.vala.
Referenced by create_restore_scripts(), init_boot_options(), BootOptionsBox.refresh_options(), and restore_other_gui().
| bool Main.use_option_raw = true |
Definition at line 142 of file Main.vala.
Referenced by query_subvolume_quota().
| string Main.users_with_encrypted_home = "" |
Definition at line 165 of file Main.vala.
Referenced by detect_encrypted_dirs().
|
get |
Definition at line 181 of file Main.vala.
Referenced by SnapshotRow.build_meta_text(), and Subvolume.remove().
|
getset |
|
getset |
|
getset |
Definition at line 2005 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), and mount_target_devices().
|
getset |
Definition at line 1948 of file Main.vala.
Referenced by RestoreDeviceBox.check_and_mount_devices(), init_boot_options(), init_mount_list(), AppConsole.map_devices(), mount_target_devices(), AppConsole.read_stdin_device_mounts(), and restore_snapshot().
|
get |
Definition at line 2024 of file Main.vala.
Referenced by check_and_repair_filesystems(), create_pre_restore_snapshot_btrfs(), create_restore_scripts(), get_restore_messages(), RestoreBox.restore(), restore_execute_btrfs(), restore_execute_rsync(), restore_snapshot(), and RestoreFinishBox.update_message().
|
get |
Definition at line 2067 of file Main.vala.
Referenced by create_restore_scripts(), restore_other_gui(), and save_exclude_list_for_restore().
|
get |
Definition at line 2061 of file Main.vala.
Referenced by create_restore_scripts(), restore_execute_rsync(), restore_other_console(), and restore_other_gui().
|
get |
Definition at line 2037 of file Main.vala.
Referenced by create_restore_scripts(), and restore_execute_rsync().
|
get |
Definition at line 2050 of file Main.vala.
Referenced by create_restore_scripts(), restore_execute_rsync(), restore_other_console(), and restore_other_gui().
|
get |
Definition at line 1050 of file Main.vala.
Referenced by create_snapshot(), cron_job_update(), FinishBox.refresh(), ScheduleBox.ScheduleBox(), and ScheduleBox.update_statusbar().