Create ZFS on backup external disk
Find the drive from /dev/disk/by-id/
|
|
Create Backup zpool
|
|
Import Zpool in external drive
Command zpool import
without any argument will show what’s available for import in current system.
After that, do zpool import seagate_backup_pool -f
to actually import the backup pool.
Take Snapshot of current system
Check current snapshot
|
|
Take snapshot for all dataset.
|
|
Send snapshot to backup pool
Backup as Dataset
|
|
Increment
|
|
Backup as single file
|
|
Make USB external drive Sleep
Install hd-idle and execute:
To instantly test out:
|
|
hdparm won’t work for usb external drive.
To check drive status:
|
|
To reguarly run hd-idle
, use it’s own service.
vim /etc/default/hd-idle
Below opts will make hd-idle
sleep device after 600s if no activity.
|
|