Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:files [2024/07/04 15:04]
cyril
software:files [2024/07/05 08:09] (current)
cyril [Tools]
Line 159: Line 159:
  
 === Resizing === === Resizing ===
 +
 +==== Extending ====
 +
 +* Resize the LVM logical volume: ''lvresize -L <absolute-size> <lvolume-name>''
 +  * ''<absolute-size>'' can also be an increment, e.g. ''+50G''
 +* Open the volume with Luks: ''cryptsetup luksOpen <lvolume-name> <evolume-name>''
 +* Resize the filesystem:
 +  * ext4: ''e2fsck -f <evolume-name> ; resize2fs <evolume-name>''
 +  * btrfs: mount the filesystem then ''btrfs filesystem resize max /mnt/<evolume-name>''
 +
 +
 +==== Reducing ====
  
 TODO TODO
Line 191: Line 203:
   * ''borg list <repo>''   * ''borg list <repo>''
   * ''borg info <repo>::<archive>''   * ''borg info <repo>::<archive>''
 +  * ''borg diff <repo>::<archive1> <archive2>''
 +  * ''borg mount <repo>::<archive> <mountpoint>''
 +
  
 === Restic === === Restic ===
Line 199: Line 214:
     * The chunker cannot be configured, contrary to Borg. It is equivalent to [[https://restic.readthedocs.io/en/stable/100_references.html#backups-and-deduplication|19,23]],[[https://restic.net/blog/2015-09-12/restic-foundation1-cdc/|21,512]], similarly to Borg's default [[https://borgbackup.readthedocs.io/en/stable/internals/data-structures.html#buzhash-chunker|19,23,21,4095]], but unlike my chosen values.     * The chunker cannot be configured, contrary to Borg. It is equivalent to [[https://restic.readthedocs.io/en/stable/100_references.html#backups-and-deduplication|19,23]],[[https://restic.net/blog/2015-09-12/restic-foundation1-cdc/|21,512]], similarly to Borg's default [[https://borgbackup.readthedocs.io/en/stable/internals/data-structures.html#buzhash-chunker|19,23,21,4095]], but unlike my chosen values.
     * ''--compression'': unlike Borg, there is only choicies ''auto'', ''max'' and ''off''     * ''--compression'': unlike Borg, there is only choicies ''auto'', ''max'' and ''off''
 +  * ''restic --repo <repo> snapshots'' to list snapshots
  
  
software/files.1720105497.txt.gz ยท Last modified: 2024/07/04 15:04 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0