Revision of Backup Files Quickly and Easily from Wed, 08/24/2022 - 18:10
The revisions let you track differences between multiple versions of a post.
Back in Time is pre-installed on Trisquel 9 and above. For instructions on how to install the Back in Time package, see the Trisquel installation manual.
How to initiate a back up of /home on an external drive
- On Trisquel's desktop go to Trisquel button > Other > Back in Time
- A prompt should pop up asking you if you want to restore, click No
- A window titled Settings should pop up
- To select the drive where you want to back up, click on the folder icon in Where to save snapshots > Computer > / > media > user > <name of the drive> (make sure the drive is mounted)
- To select /home/<user name> folder to backup, in Settings go to the tab titled Include > Add folder > select the folder <user name>
- /home/<user name> should be listed in Include files and folders
- Click OK
- A window titled Back in Time should pop up
- Click the Take a snapshot button to take the first snapshot.
How to restore from backup
- On Trisquel's desktop go to Trisquel button > Other > Back in Time (root)
- A prompt should pop up asking you if you want to restore, click Yes
- A prompt should pop up asking you for user password
- A window titled Restore Settings (as superuser) should pop up
- Navigate to the snapshot you want to restore and select it
- The path to the snapshot should show up in green at the bottom
- Click Restore
- A window titled Back in Time (as superuser) should pop up
- Select the folder you want to restore
- A window titled Question (as superuser) should pop up
- Click Yes
Back in Time from the command line
To back up:
$ backintime backup
To list options run:
$ backintime -h
Comment
This is the simplest way to backup and restore. Please take a look at other options e.g. Mode, Schedule, et cetera.
Notes
You want to backup your data on a device you control, such as an external drive.
If the government requests copies of your data a third-party service provider can comply. In some countries, such as the United States, if you control the data you can tell them to return with a search warrant. If you do not have such protections in your country, it is still generally safer to hold on to your own data than to leave it in a data center.