Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
software:files [2024/04/19 14:27] cyril [Maintenance] |
software:files [2024/04/21 23:47] cyril [Tools] |
||
---|---|---|---|
Line 40: | Line 40: | ||
* ''< | * ''< | ||
* ''< | * ''< | ||
+ | * If using an SSD drive, [[# | ||
+ | |||
=== LUKS === | === LUKS === | ||
Line 48: | Line 50: | ||
* By default it will configure the key derivation take 2 seconds | * By default it will configure the key derivation take 2 seconds | ||
* Open (decrypt) the volume: '' | * Open (decrypt) the volume: '' | ||
+ | * If using an SSD drive, you probably should enable [[# | ||
=== Filesystem === | === Filesystem === | ||
Line 134: | Line 137: | ||
* TRIM (or discard) operation means informing the SSD drive about the unused memory, so that it can perform efficiently wear leveling. | * TRIM (or discard) operation means informing the SSD drive about the unused memory, so that it can perform efficiently wear leveling. | ||
- | * Checking TRIM support: run '' | + | * Checking TRIM support: run '' |
- | * Each layer must forward the TRIM commands to the layer above, until it reaches the drive: | + | * **Warning**: |
- | * dm-crypt. Depending on how the encrypted volume is mounted, different possibilities: | + | * Each layer must forward the TRIM commands to the layer above, until it reaches the drive. |
- | * '' | + | * Then two options are available |
- | * set option '' | + | |
- | * set option '' | + | |
- | * LVM | + | |
- | * Two options are available: | + | |
* Continuous TRIM, i.e. configuring the filesystem to notify instantly each block that is freed. | * Continuous TRIM, i.e. configuring the filesystem to notify instantly each block that is freed. | ||
- | * It is not advised because can cause issues. | + | * It is not advised because |
* Periodic TRIM, i.e. explicitly notifying the free blocks periodically. | * Periodic TRIM, i.e. explicitly notifying the free blocks periodically. | ||
* Using the '' | * Using the '' | ||
+ | * Manually: run '' | ||
+ | * Weekly: enable the timer '' | ||
Line 170: | Line 171: | ||
=== Borg Backup === | === Borg Backup === | ||
- | * Create a Borg repository in the current folder: < | + | * Create a Borg repository in the current folder: < |
* ''< | * ''< | ||
* '' | * '' | ||
Line 185: | Line 186: | ||
=== Restic === | === Restic === | ||
+ | |||
+ | * Create a Restic repository in the current folder: < | ||
+ | * Note that encryption **and** password are mandatory, [[https:// | ||
+ | * Create snapshots: < | ||
+ | * The chunker cannot be configured, contrary to Borg. It is equivalent to [[https:// | ||
+ | * '' | ||
+ | |||
=== BTRFS snapshots === | === BTRFS snapshots === |