Skip to content
Snippets Groups Projects
  1. Aug 14, 2020
    • LeLutin's avatar
      borg: add configuration to displace the cache directory · e28da8c3
      LeLutin authored and Guillaume Subiron's avatar Guillaume Subiron committed
      borg will by default create its cache directory in ~/.cache/borg. This
      means that during backup runs, borg will read and write quite
      extensively from/to this directory.
      
      In some situations, it is rather undesirable to have this amount of IO
      activity in this location and it would make sense to tell borg to place
      its cache elsewhere. This can help for example with placing the cache on
      a hard drive where the added IO load will not have as big of an impact
      on other running activity for the system.
      
      This change also makes sure that the cache directory environment
      variable is cleared out when the configuration option is unset. This
      should avoid unpleasant surprises when this environment variable is set
      to some unknown value in the context where backupninja is called, which
      could lead to borg reading and writing to random places on the system.
      e28da8c3
  2. Jul 14, 2018
    • Jérôme Charaoui's avatar
      Remove zero-padding from nowday and whenday (fixes #9397) · f9529d1d
      Jérôme Charaoui authored
      This fixes cases where the day component of the when parameter resolved
      to a non-zero padded integer under 10, such as "when = 1st at 01"
      
      The comparison against the nowday variable failed consistently since
      the date command format used always returned a zero-padded two digit
      integer.
      
      The solution chosen is to avoid generating nowday with zero-padding and
      remove any zero-padding from whenday parameter using a more thorough
      sed pattern which now also removes any non-alphanumeric characters from
      the string.
      f9529d1d
  3. Jul 13, 2018
  4. Jul 02, 2018
  5. Jun 29, 2018
  6. Jun 28, 2018
  7. Jun 25, 2018
  8. Jun 07, 2018
  9. May 05, 2018
  10. Apr 30, 2018
  11. Mar 24, 2018
  12. Mar 16, 2018
  13. Jan 26, 2018
Loading