Up to [cvs.NetBSD.org] / pkgsrc / sysutils / restic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
restic: adapt to fish4 default completion path Bump PKGREVISION.
restic: updated to 0.18.0 restic 0.18.0 (2025-03-27) The following sections list the changes in restic 0.18.0 relevant to restic users. The changes are ordered by importance. Summary * Sec: Mitigate attack on content-defined chunking algorithm * Fix: Correctly restore long filepaths' timestamp on old Windows * Fix: Ignore disappeared backup source files * Fix: Include root tree when searching using `find --tree` * Fix: Prevent Windows VSS event log 8194 warnings for backup with fs snapshot * Fix: Fix duplicate data handling in `prune --max-unused` * Fix: Fix creation of oversized index by `repair index --read-all-packs` * Fix: Fix rare crash in command output * Chg: Update dependencies and require Go 1.23 or newer * Chg: Promote feature flags * Enh: Add JSON support to `check` command * Enh: Support generating shell completions to stdout * Enh: Allow excluding online-only cloud files (e.g. OneDrive) * Enh: Add `sort` option to `ls` command * Enh: Change default sort order for `find` output * Enh: Add support for Microsoft Blob Storage access tiers * Enh: Add snapshot summary statistics to rewritten snapshots * Enh: Format exit errors as JSON when requested * Enh: Add SLSA provenance to GHCR container images * Enh: Enable compression for ZIP archives in `dump` command * Enh: Add retry mechanism for loading repository config * Enh: Allow including/excluding extended file attributes during `restore` * Enh: Show count of deleted files and directories during `restore` * Enh: Make small pack size configurable for `prune` * Enh: Add start and end timestamps to `backup` JSON output * Enh: Add DragonFlyBSD support * Enh: Make `tag` command print which snapshots were modified * Enh: Provide clear error message if AZURE_ACCOUNT_NAME is not set * Enh: Add experimental S3 cold storage support * Enh: Add xattr support for NetBSD 10+ * Enh: Improve retry handling for flaky `rclone` backends * Enh: Make `recover` automatically rebuild index when needed
sysutils/restic: Install a completion script for fish
restic: update to 0.16.0 Pkgsrc changes: * Update man files to be installed. Upstream changes: * Fix #2565: Support "unlimited" in forget --keep-* options * Fix #3311: Support non-UTF8 paths as symlink target * Fix #4199: Avoid lock refresh issues on slow network connections * Fix #4274: Improve lock refresh handling after standby * Fix #4319: Correctly clean up status bar output of the backup command * Fix #4333: generate and init no longer silently ignore unexpected arguments * Fix #4400: Ignore missing folders in rest backend * Chg #4176: Fix JSON message type of scan_finished for the backup command * Chg #4201: Require Go 1.20 for Solaris builds * Enh #426: Show progress bar during restore * Enh #719: Add --retry-lock option * Enh #1495: Sort snapshots by timestamp in restic find * Enh #1759: Add repair index and repair snapshots commands * Enh #1926: Allow certificate paths to be passed through environment variables * Enh #2359: Provide multi-platform Docker images * Enh #2468: Add support for non-global Azure clouds * Enh #2679: Reduce file fragmentation for local backend * Enh #3328: Reduce memory usage by up to 25% * Enh #3397: Improve accuracy of ETA displayed during backup * Enh #3624: Keep oldest snapshot when there are not enough snapshots * Enh #3698: Add support for Managed / Workload Identity to azure backend * Enh #3871: Support <snapshot>:<subfolder> syntax to select subfolders * Enh #3941: Support --group-by for backup parent selection * Enh #4130: Cancel current command if cache becomes unusable * Enh #4159: Add --human-readable option to ls and find commands * Enh #4188: Include restic version in snapshot metadata * Enh #4220: Add jq binary to Docker image * Enh #4226: Allow specifying region of new buckets in the gs backend * Enh #4375: Add support for extended attributes on symlinks
restic: update to 0.15.2 Pkgsrc changes: * Update MAINTAINER mail address. * Minior cleanup. Upstream changes: Changelog for restic 0.15.2 (2023-04-24) * Sec #4275: Update golang.org/x/net to address CVE-2022-41723 * Fix #2260: Sanitize filenames printed by `backup` during processing * Fix #4211: Make `dump` interpret `--host` and `--path` correctly * Fix #4239: Correct number of blocks reported in mount point * Fix #4253: Minimize risk of spurious filesystem loops with `mount` * Enh #4180: Add release binaries for riscv64 architecture on Linux * Enh #4219: Upgrade Minio to version 7.0.49 Changelog for restic 0.15.1 (2023-01-30) * Fix #3750: Remove `b2_download_file_by_name: 404` warning from B2 backend * Fix #4147: Make `prune --quiet` not print progress bar * Fix #4163: Make `self-update --output` work with new filename on Windows * Fix #4167: Add missing ETA in `backup` progress bar * Enh #4143: Ignore empty lock files Changelog for restic 0.15.0 (2023-01-12) * Fix #2015: Make `mount` return exit code 0 after receiving Ctrl-C / SIGINT * Fix #2578: Make `restore` replace existing symlinks * Fix #2591: Don't read password from stdin for `backup --stdin` * Fix #3161: Delete files on Backblaze B2 more reliably * Fix #3336: Make SFTP backend report no space left on device * Fix #3567: Improve handling of interrupted syscalls in `mount` command * Fix #3897: Fix stuck `copy` command when `-o <backend>.connections=1` * Fix #3918: Correct prune statistics for partially compressed repositories * Fix #3951: Make `ls` return exit code 1 if snapshot cannot be loaded * Fix #4003: Make `backup` no longer hang on Solaris when seeing a FIFO file * Fix #4016: Support ExFAT-formatted local backends on macOS Ventura * Fix #4085: Make `init` ignore "Access Denied" errors when creating S3 buckets * Fix #4100: Make `self-update` enabled by default only in release builds * Fix #4103: Don't generate negative UIDs and GIDs in tar files from `dump` * Chg #2724: Include full snapshot ID in JSON output of `backup` * Chg #3929: Make `unlock` display message only when locks were actually removed * Chg #4033: Don't print skipped snapshots by default in `copy` command * Chg #4041: Update dependencies and require Go 1.18 or newer * Enh #14: Implement `rewrite` command * Enh #79: Restore files with long runs of zeros as sparse files * Enh #1078: Support restoring symbolic links on Windows * Enh #1734: Inform about successful retries after errors * Enh #1866: Improve handling of directories with duplicate entries * Enh #2134: Support B2 API keys restricted to hiding but not deleting files * Enh #2152: Make `init` open only one connection for the SFTP backend * Enh #2533: Handle cache corruption on disk and in downloads * Enh #2715: Stricter repository lock handling * Enh #2750: Make backup file read concurrency configurable * Enh #3029: Add support for `credential_process` to S3 backend * Enh #3096: Make `mount` command support macOS using macFUSE 4.x * Enh #3124: Support JSON output for the `init` command * Enh #3899: Optimize prune memory usage * Enh #3905: Improve speed of parent snapshot detection in `backup` command * Enh #3915: Add compression statistics to the `stats` command * Enh #3925: Provide command completion for PowerShell * Enh #3931: Allow `backup` file tree scanner to be disabled * Enh #3932: Improve handling of ErrDot errors in rclone and sftp backends * Enh #3943: Ignore additional/unknown files in repository * Enh #3955: Improve `backup` performance for small files Changelog for restic 0.14.0 (2022-08-25) * Fix #2248: Support `self-update` on Windows * Fix #3428: List snapshots in backend at most once to resolve snapshot IDs * Fix #3432: Fix rare 'not found in repository' error for `copy` command * Fix #3681: Fix rclone (shimmed by Scoop) and sftp not working on Windows * Fix #3685: The `diff` command incorrectly listed some files as added * Fix #3716: Print "wrong password" to stderr instead of stdout * Fix #3720: Directory sync errors for repositories accessed via SMB * Fix #3736: The `stats` command miscalculated restore size for multiple snapshots * Fix #3772: Correctly rebuild index for legacy repositories * Fix #3776: Limit number of key files tested while opening a repository * Fix #3861: Yield error on invalid policy to `forget` * Chg #1842: Support debug log creation in release builds * Chg #3295: Deprecate `check --check-unused` and add further checks * Chg #3680: Update dependencies and require Go 1.15 or newer * Chg #3742: Replace `--repo2` option used by `init`/`copy` with `--from-repo` * Enh #21: Add compression support * Enh #1153: Support pruning even when the disk is full * Enh #2162: Adaptive IO concurrency based on backend connections * Enh #2291: Allow pack size customization * Enh #2295: Allow use of SAS token to authenticate to Azure * Enh #2351: Use config file permissions to control file group access * Enh #2696: Improve backup speed with many small files * Enh #2907: Make snapshot directory structure of `mount` command customizable * Enh #2923: Improve speed of `copy` command * Enh #3114: Optimize handling of duplicate blobs in `prune` * Enh #3465: Improve handling of temporary files on Windows * Enh #3475: Allow limiting IO concurrency for local and SFTP backend * Enh #3484: Stream data in `check` and `prune` commands * Enh #3709: Validate exclude patterns before backing up * Enh #3729: Display full IDs in `check` warnings * Enh #3773: Optimize memory usage for directories with many files * Enh #3819: Validate include/exclude patterns before restoring * Enh #3837: Improve SFTP repository initialization over slow links Changelog for restic 0.13.0 (2022-03-26) * Fix #1106: Never lock repository for `list locks` * Fix #2345: Make cache crash-resistant and usable by multiple concurrent processes * Fix #2452: Improve error handling of repository locking * Fix #2738: Don't print progress for `backup --json --quiet` * Fix #3382: Make `check` command honor `RESTIC_CACHE_DIR` environment variable * Fix #3488: `rebuild-index` failed if an index file was damaged * Fix #3518: Make `copy` command honor `--no-lock` for source repository * Fix #3556: Fix hang with Backblaze B2 on SSL certificate authority error * Fix #3591: Fix handling of `prune --max-repack-size=0` * Fix #3601: Fix rclone backend prematurely exiting when receiving SIGINT on Windows * Fix #3619: Avoid choosing parent snapshots newer than time of new snapshot * Fix #3667: The `mount` command now reports symlinks sizes * Chg #3519: Require Go 1.14 or newer * Chg #3641: Ignore parent snapshot for `backup --stdin` * Enh #233: Support negative include/exclude patterns * Enh #1542: Add `--dry-run`/`-n` option to `backup` command * Enh #2202: Add upload checksum for Azure, GS, S3 and Swift backends * Enh #2388: Add warning for S3 if partial credentials are provided * Enh #2508: Support JSON output and quiet mode for the `diff` command * Enh #2594: Speed up the `restore --verify` command * Enh #2656: Add flag to disable TLS verification for self-signed certificates * Enh #2816: The `backup` command no longer updates file access times on Linux * Enh #2880: Make `recover` collect only unreferenced trees * Enh #3003: Atomic uploads for the SFTP backend * Enh #3127: Add xattr (extended attributes) support for Solaris * Enh #3429: Verify that new or modified keys are stored correctly * Enh #3436: Improve local backend's resilience to (system) crashes * Enh #3464: Skip lock creation on `forget` if `--no-lock` and `--dry-run` * Enh #3490: Support random subset by size in `check --read-data-subset` * Enh #3508: Cache blobs read by the `dump` command * Enh #3511: Support configurable timeout for the rclone backend * Enh #3541: Improve handling of temporary B2 delete errors * Enh #3542: Add file mode in symbolic notation to `ls --json` * Enh #3593: Improve `copy` performance by parallelizing IO
New package, restic-0.11.0. From wip. restic is a backup program that is fast, efficient and secure. It supports the three major operating systems (Linux, macOS, Windows) and a few smaller ones (FreeBSD, OpenBSD).