~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/Gtk/FinishBox.vala

  • Committer: Tony George
  • Date: 2017-01-15 07:36:56 UTC
  • Revision ID: tony.george.kol@gmail.com-20170115073656-ipunvgdzzy0zer5o
BTRFS: Allow BTRFS snapshots to be marked for deletion
BTRFS: Use option --commit-after when deleting subvolumes
Updated the messages displayed on last page of Setup Wizard and Restore Window

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        public void refresh(){
68
68
 
69
69
                var msg = "";
70
 
 
71
70
                string bullet = "▰ ";
72
71
                
73
72
                if (!show_notes){
74
73
                        if (App.scheduled){
75
 
                                msg += bullet + _("Scheduled snapshots are enabled. Snapshots will be created automatically at selected intervals.") + "\n\n";
76
 
 
77
 
                                /*msg += bullet + _("BTRFS snapshots are atomic. They are created instantly and does not require files to be copied. Only file system metadata is changed.\n\n");
78
 
 
79
 
                                msg += bullet + _("BTRFS snapshots do not occupy any space on disk when first created. All data blocks are shared with system files. As files on the system gradually change with time, new files will point to new data blocks and snapshot files will point to older data blocks. Snapshots will gradually take up disk space as more and more files change on the system.\n\n");*/
 
74
                                msg += bullet + _("Scheduled snapshots are enabled. Snapshots will be created automatically for selected levels.") + "\n\n";
80
75
                        }
81
76
                        else{
82
77
                                msg += bullet + _("Scheduled snapshots are disabled. It's recommended to enable it.") + "\n\n";
83
78
                        }
84
79
                }
85
80
 
86
 
                msg += bullet + _("You can rollback your system to a previous date by restoring a snapshot.") + "\n\n";
 
81
                msg += bullet + _("System can be rolled-back to a previous date by restoring a snapshot.") + "\n\n";
87
82
 
88
83
                if (App.btrfs_mode){
89
 
                        msg += bullet + _("Restoring a snapshot will replace system subvolumes. The current system will be preserved as a new snapshot after restore. You can undo the restore by restoring the new snapshot that was created.") + "\n\n";
 
84
                        msg += bullet + _("Restoring a snapshot will replace system subvolumes, and system subvolumes currently in use will be preserved as a new snapshot. If required, this snapshot can be restored later to 'undo' the restore.") + "\n\n";
90
85
                }
91
86
                else{
92
 
                        msg += bullet + _("Restoring a snapshot only replaces system files and settings. Documents and other files in your home directory will not be touched. You can change this by adding a filter to include these files. Any files that you include will be backed up when a snapshot is created, and replaced when the snapshot is restored.") + "\n\n";
 
87
                        msg += bullet + _("Restoring snapshots only replaces system files and settings. Non-hidden files and directories in user home directories will not be touched. This behaviour can be changed by adding a filter to include these files. Included files will be backed up when snapshot is created, and replaced when snapshot is restored.") + "\n\n";
93
88
                }
94
89
                
95
 
                msg += bullet + _("If the system is unable to boot after restore, you can try restoring another snapshot by installing and running Timeshift on the Ubuntu Live CD/USB.") + "\n\n";
96
 
 
97
90
                if (App.btrfs_mode){
98
 
                        msg += bullet + _("In BTRFS mode, snapshots are saved on the same disk from which it is created. If your system disk fails, then you will not be able to rescue your system. Use RSYNC mode and save snapshots to another disk if you wish to guard against disk failures.") + "\n\n";
 
91
                        msg += bullet + _("BTRFS snapshots are saved on the same disk from which it is created. If the system disk fails, snapshots will be lost along with the system. Save snapshots to an external non-system disk in RSYNC mode to guard against disk failures.") + "\n\n";
99
92
                }
100
93
                else{
101
 
                        msg += bullet + _("To guard against hard disk failures, select an external disk for the snapshot location instead of the system disk.") + "\n\n";
102
 
 
103
 
                        msg += bullet + _("Avoid storing snapshots on your system disk. Using another non-system disk will allow you to format and re-install the OS on your system disk without losing the snapshots stored on it. You can even install another Linux distribution and later roll-back the previous distribution by restoring the snapshot.") + "\n\n";
104
 
 
105
 
                        msg += bullet + _("The first snapshot creates a copy of all files on your system. Subsequent snapshots only store files which have changed. You can reduce the size of snapshots by adding filters to exclude files which are not required. For example, you can exclude your web browser cache as these files change constantly and are not critical.") + "\n\n";
106
 
 
107
 
                        msg += bullet + _("Common files are hard-linked between snapshots. Copying the files manually to another location will duplicate the files and break hard-links between them. Snapshots must be moved carefully by running 'rsync' from a terminal. The file system at destination path must support hard-links.") + "\n\n";
 
94
                        msg += bullet + _("Save snapshots to an external disk instead of the system disk to guard against drive failures.") + "\n\n";
 
95
 
 
96
                        msg += bullet + _("Saving snapshots to a non-system disk allows you to format and re-install the OS on the system disk without losing snapshots stored on it. You can even install another Linux distribution and later roll-back the previous distribution by restoring a snapshot.") + "\n\n";
108
97
                }
109
98
 
110
99
                lbl_message.label = msg;