sudo apt update
sudo apt install timeshift

Plik konfiguracyjny

nano /etc/timeshift/timeshift.json
{
  "backup_device_uuid" : "be78845f-507f-44ea-851c-931599aa4e8c",
  "parent_device_uuid" : "",
  "do_first_run" : "false",
  "btrfs_mode" : "false",
  "include_btrfs_home_for_backup" : "false",
  "include_btrfs_home_for_restore" : "false",
  "stop_cron_emails" : "true",
  "schedule_monthly" : "true",
  "schedule_weekly" : "true",
  "schedule_daily" : "true",
  "schedule_hourly" : "true",
  "schedule_boot" : "false",
  "count_monthly" : "5",
  "count_weekly" : "4",
  "count_daily" : "5",
  "count_hourly" : "3",
  "count_boot" : "5",
  "snapshot_size" : "1959862880",
  "snapshot_count" : "54077",
  "date_format" : "%Y-%m-%d %H:%M:%S",
  "exclude" : [
    "/tmp/**",
    "/media/**",
    "/mnt/**",
    "/home/**",
    "/var/lib/lxc/**",
    "/var/www/html/**",
    "/var/cache/lxc/**",
    "/root/**"
  ],
  "exclude-apps" : []
}

skopiować UUID dysku backup i podmienić w pliku konfiguracyjnym

lsblk
blkid /dev/sdd1

Pierwsze uruchomienie

timeshift check

Pierwsza kopia

timeshift --create --comment PierwszaZsamba

Listowanie kopii

timeshift --list

 

Spis treści: