Backing Up and Restoring an Image with Timeshift
Note: The following tutorial uses Timeshift for backup.
3 min read · English documentationBack Up with Timeshift
Note:
The following tutorial uses Timeshift for backup.
The following tutorial uses Timeshift for backup.
- Connect the onboard computer to the Internet.
- Use the following tool to change the system software source and update the software list so that Timeshift can be found.
wget http://fishros.com/install -O fishros && . fishros
- The system software source has been changed successfully.
- Enter the following command to install
Timeshift.
sudo apt-get install timeshift
-
Timeshifthas been installed successfully.
- Click
Show Applicationsin the lower-left corner. - Locate
Timeshiftand double-click it to open the application.
- Enter the account password.
- Click the indicated location to authenticate.
- Select
RSYNCas the snapshot type.- RSYNC: Takes snapshots using rsync and hard links. Common files are shared between snapshots to save disk space. Each snapshot is a complete system backup that can be browsed with a file manager.
- Click
Next.
- Refer only to the Chinese description in the following figure.
- Wait for the application to finish loading.
- After loading completes, the current Allspark2 disk is displayed.
- You can back up the image to the Allspark2 disk, but this occupies substantial space and is not recommended.
- The following backup tutorial uses a portable drive as an example.
Note:
1. You can back up the system image to an ext4-formatted portable drive or directly to the Allspark2 onboard computer.
2. After backing up the system image to an ext4-formatted portable drive, select the corresponding disks according to the tutorial below when restoring the image to the Allspark2 onboard computer.
3. After backing up the system image to the Allspark2 onboard computer, use the default disk locations when restoring it to the Allspark2 onboard computer.
1. You can back up the system image to an ext4-formatted portable drive or directly to the Allspark2 onboard computer.
2. After backing up the system image to an ext4-formatted portable drive, select the corresponding disks according to the tutorial below when restoring the image to the Allspark2 onboard computer.
3. After backing up the system image to the Allspark2 onboard computer, use the default disk locations when restoring it to the Allspark2 onboard computer.
- Connect the SSD on which you will save the Allspark2 image. It must be formatted as
ext4. - Click
Refreshto refresh the disk list. - Wait for the connected SSD to appear.
- Select the SSD.
- Its format must be
ext4. - Click
Next.
- Refer only to the Chinese description in the following figure.
- Define the snapshot level. The level specifies the interval at which snapshots are created. You can select monthly, weekly, daily, or hourly snapshots.
- Click
Next.
- Refer only to the Chinese description in the following figure.
- Select the locations to back up. Select all files here.
- Click
Next.
- Refer only to the Chinese description in the following figure.
- Software configuration is complete. Click
Finish.
- Click
Createto back up the Allspark2 system to the portable drive. - The backed-up image is stored on the portable drive.
Restore an Image with Timeshift
- Open the application settings to modify the configuration. All preceding settings can be changed here.
- Click Location; this is where images are saved and loaded.
- Click Refresh.
- Select the drive containing the backed-up image.
- Click OK to apply the changes.
- Select the image backed up on the portable drive.
- Click
Restoreto restore the system from the portable drive to the Allspark2.
- Select the disks according to the tutorial below.
- Click
Next.
- Wait for the application to run automatically.
- After the automatic process finishes, a comparison of the old and new files appears. Click
Next.
- After the automatic process finishes, continue clicking
Next.
- The system automatically restores the image saved on the drive and then restarts.
