Giter VIP home page Giter VIP logo

Comments (7)

digint avatar digint commented on May 16, 2024

The date suffix is used internally for the backup retention calculation, and cannot be removed without breaking this feature.
Configurable snapshot/backup names could be implemented, but I don't think this could cause more confusion than being useful (e.g. what happens if you rename two backups to the same name?).

from btrbk.

grondinm avatar grondinm commented on May 16, 2024

2 good points i was not considering. Still think it could be nice to have the option to name a backup and maybe exclude it from regular retention periods incase you want to keep this specific backup for longer...Could be a seldomly used feature...

from btrbk.

digint avatar digint commented on May 16, 2024

Implemented subvolume_name configuration option.
Fixed in: 01a25ad

from btrbk.

digint avatar digint commented on May 16, 2024

Fix included in btrbk-0.17.0

from btrbk.

grondinm avatar grondinm commented on May 16, 2024

so is this set once in the config file or on the command line?

from btrbk.

digint avatar digint commented on May 16, 2024

It's in the config file, simply specify snapshot_name <basename> in your subvolume section. (also check the man-page: btrbk.conf(5) for details)

See btrbk.conf.example:

volume ssh://my-remote-host.com/mnt/btr_pool
  subvolume data_0
    snapshot_dir  snapshots/btrbk
    snapshot_name data_main
    target send-receive    /mnt/btr_backup/_btrbk/my-remote-host.com

In this example, the snapshot will be named /mnt/btr_pool/snapshots/btrbk/data_main.20150501. The backups always get the same basename as the snapshot, and will be /mnt/btr_backup/_btrbk/my-remote-host.com/data_main.20150501 in the example.

from btrbk.

grondinm avatar grondinm commented on May 16, 2024

Great thank you. I was looking in the commits for the update to the man page but for some reason i did not think to look at the actual man page lol. Thank you again for all your work on this

from btrbk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.