Welcome to snapintime’s documentation!¶

snapintime is meant to manage the creation, culling, and send to a remote location of btrfs snapshots.

At this point in time it creates snapshots, culls local snapshots three days old, and can btrfs send/receive to a remote btrfs subvol.

Contents:

  • Usage
    • Creating Local Snapshots
    • Backing Up to Remote Location
    • Culling Local Snapshots
    • Putting it All Together
  • config.json
  • Origins of my culling algorithm
  • create_local_snapshots
    • create_snapshot()
    • get_date_time()
    • iterate_configs()
    • main()
  • Culling
    • btrfs_del()
    • cull_snapshots()
    • generate_retention_cull_list()
    • get_subvols_by_date()
    • main()
    • print_output()
    • remove_protected()
  • remote_backup
    • btrfs_send_receive()
    • get_local_subvols()
    • get_remote_subvols()
    • iterate_over_subvolumes()
    • main()
    • match_subvols()
  • config
    • import_config()
  • date
    • calendar_quarter()
    • iso_week()
    • quarter_end()

Indices and tables¶

  • Index

  • Module Index

  • Search Page

snapintime

Navigation

Contents:

  • Usage
  • config.json
  • Origins of my culling algorithm
  • create_local_snapshots
  • Culling
  • remote_backup
  • config
  • date

Related Topics

  • Documentation overview
    • Next: Usage
©2020, Eric Mesa. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source