Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | _mountinfo: fix types in docstrings | Anton Khirnov | 2023-10-15 |
| | |||
* | _mountinfo: replace list of entries with OrderedDict | Anton Khirnov | 2023-10-14 |
| | | | | Mapping mount id to entries. | ||
* | _mountinfo: move field docs below the field | Anton Khirnov | 2023-10-14 |
| | |||
* | targets:TargetSSHLVM: use a per-target index file on the remote | Anton Khirnov | 2023-10-13 |
| | |||
* | targets: remove TargetSSHLXCLVM | Anton Khirnov | 2023-10-12 |
| | | | | | | | It is complex and fragile and has been replaced by idmapping/TargetSSHLVM/strip_mountpoint=True. Also drop nsmount.c, which was to be used with this target. | ||
* | targets:TargetSSHLVM: add strip_mountpoint option | Anton Khirnov | 2023-10-12 |
| | |||
* | targets: always pass dirs/excludes as iterable-of-str to _do_save() | Anton Khirnov | 2023-10-08 |
| | | | | This is cleaner. | ||
* | targets: move _resolve_mntdev() out of TargetSSHLVM | Anton Khirnov | 2023-10-08 |
| | | | | Make it a standalone function, it does not need anything from the class. | ||
* | _path: change components from a list into a tuple | Anton Khirnov | 2023-10-08 |
| | |||
* | _path: improve parameter validation | Anton Khirnov | 2023-10-08 |
| | |||
* | targets: merge two if blocks | Anton Khirnov | 2023-10-08 |
| | | | | This should have the same effect, but is easier to read. | ||
* | repository: do not write size stats on dry run | Anton Khirnov | 2023-10-08 |
| | |||
* | repository: return None when stats file cannot be parsed | Anton Khirnov | 2022-08-14 |
| | | | | | Typically happens on the first run, when there's just one entry, so variance cannot be computed. | ||
* | repository: add code for reading the stats | Anton Khirnov | 2020-11-20 |
| | |||
* | _mountinfo: relax limits on major device numbers | Anton Khirnov | 2020-11-19 |
| | | | | Major numbers can go up to 511. | ||
* | repository: log backup time and size stats | Anton Khirnov | 2020-10-31 |
| | |||
* | TargetSSHLVM: resolve remote dirs | Anton Khirnov | 2020-10-20 |
| | | | | Should handle remote symlinks properly. | ||
* | targets: move the graft/reparent handling to lxc/lvm target | Anton Khirnov | 2020-10-20 |
| | | | | It is specific to that target and does not belong with common save code. | ||
* | TargetSSH(LXC)LVM: share the save() method | Anton Khirnov | 2020-10-20 |
| | |||
* | TargetSSHLXCLVM: factor creating+mounting the snapshot | Anton Khirnov | 2020-10-20 |
| | | | | | Make it into its own context manager, similar to TargetSSHLVM. This is easier to follow and will allow to share more code in the future. | ||
* | TargetSSHLVM: move the snapshot mount out of try-finally | Anton Khirnov | 2020-10-20 |
| | | | | Currently it would try to unmount the snapshot even if mounting failed. | ||
* | example: make loglevel configurable from comandline | Anton Khirnov | 2020-10-19 |
| | |||
* | TargetSSH: don't raise NotImplemented for proxy/port spec | Anton Khirnov | 2020-10-18 |
| | |||
* | targets: make sure LV snapshot names start with a letter | Anton Khirnov | 2020-10-18 |
| | | | | Seems to be required for LVM to accept them. | ||
* | _mountinfo: skip mount entires with non-absolute root | Anton Khirnov | 2020-10-18 |
| | |||
* | _mountinfo: drop forgotten print | Anton Khirnov | 2020-10-18 |
| | |||
* | targets: add more docs | Anton Khirnov | 2020-10-18 |
| | |||
* | Do not pass data dir to Target.save(). | Anton Khirnov | 2020-10-18 |
| | | | | It is not used there. | ||
* | targets/TargetSSHLXCLVM: inherit from TargetSSHLVM | Anton Khirnov | 2020-10-18 |
| | | | | Use new parent's _snapshot_lv() to simplify code. | ||
* | targets: LV names are not actually limited to 15 characters | Anton Khirnov | 2020-10-18 |
| | |||
* | targets: implement an SSH+LVM target | Anton Khirnov | 2020-10-18 |
| | |||
* | Target: implement repr rather than str | Anton Khirnov | 2020-10-18 |
| | | | | Also, print the class name in the string. | ||
* | targets: import SSHRemote directly | Anton Khirnov | 2020-10-18 |
| | |||
* | Add a dry-run option. | Anton Khirnov | 2020-10-18 |
| | |||
* | targets/TargetSSH: actually use bup_exec variable | Anton Khirnov | 2020-10-18 |
| | |||
* | targets: use target class name in the logger name | Anton Khirnov | 2020-10-18 |
| | |||
* | repository: log caught exceptions as logging.exception | Anton Khirnov | 2020-10-18 |
| | |||
* | targets: check that at least one dir to backup is given | Anton Khirnov | 2020-10-18 |
| | | | | | It makes no sense to backup zero dirs and some things might break in potentially dangerous ways if attempted. | ||
* | targets/TargetSSH: add a class attribute prototype | Anton Khirnov | 2020-10-16 |
| | |||
* | targets/TargetSSHLXCLVM: generate random snapshot name | Anton Khirnov | 2020-10-16 |
| | |||
* | repository: fix logger name | Anton Khirnov | 2020-10-16 |
| | |||
* | repository: rewrite results processing | Anton Khirnov | 2020-10-16 |
| | | | | | | | Drop the use of retcode, as it is not very meaningful. Drop all_ok, as it is not very useful. Catch all exceptions from individual targets and wrap them as failed results. | ||
* | _ssh_client: add logging | Anton Khirnov | 2020-10-16 |
| | |||
* | repository: add logging | Anton Khirnov | 2020-03-10 |
| | |||
* | targets: add missing class attribute | Anton Khirnov | 2020-03-10 |
| | |||
* | targets: fix function name | Anton Khirnov | 2020-03-10 |
| | |||
* | targets: add __str__ methods to targets | Anton Khirnov | 2020-03-10 |
| | | | | Allows to easily get a descriptive string for a target. | ||
* | Rename bupper to lbup. | Anton Khirnov | 2020-02-15 |
| | | | | | bupper already exists. lbup is a randomly chosen word containing bup | ||
* | targets: further fixes and improvements | Anton Khirnov | 2020-02-14 |
| | | | | | | | | Now a static mount directory is used for snapshot mounts. This is necessary due to how bup index works, otherwise it'd see everything as changed on every new backup. Also, extend logging and make the remote bupdir configurable. | ||
* | lxvlvm: actually read from the snapshot | Anton Khirnov | 2020-02-14 |
| | | | | Also, check all the remote outputs more thoroughly. |