Comments (7)
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.
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.
Implemented subvolume_name
configuration option.
Fixed in: 01a25ad
from btrbk.
Fix included in btrbk-0.17.0
from btrbk.
so is this set once in the config file or on the command line?
from btrbk.
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.
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)
- btrbk prune doesn't work if two targets are configure HOT 1
- Optional Backup Summary to the log
- btrbk cannot parse `/proc/self/mountinfo` if a mount contains space(s) HOT 2
- use an existing subvolume as source for further incremental backups HOT 3
- failed to clone extents HOT 4
- [Feature Request] Add readonly option for targets
- ssh_filter_btrbk: mbuffer validation too strict
- Every snapshot is labelled as incomplete
- Configure Cleaning HOT 1
- Clean interrupted ssh transfers
- Prevent incomplete backups from blocking progress
- Is it safe to dedupe snapshots on the server and the client?
- Is my configuration wrong? I keep getting snapshots in the wrong folder HOT 6
- Failed to fetch subvolume detail for snapshot_dir HOT 1
- Double daily backups sometimes... HOT 1
- understanding target_preserve_min
- Is 650 GB per day between hard disks connected by 1 GBit ethernet ok? HOT 1
- Feature request : BTRBK + grub-btrfs - Restore the snapshot currently booted - like Timeshift
- Why is btrbk only creating snapshots and not transfering?
- dry-run ignores lock
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrbk.