Commit Graph
5 Commits
Author SHA1 Message Date
Julien LutranandClaude Fable 5 c5c958f511 incus-copy: --quiet — the progress meter mangles log files with \r updates
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-27 16:59:38 +02:00
Julien LutranandClaude Fable 5 856ea28d93 Rework incus-copy and incus-backup for the new two-leg backup scheme
incus-copy.sh: add -r <src-remote> (pull all of a remote's instances to
the local host) and -p <dest-project> (copy local instances into another
local project/pool, for the on-host backup leg on a second disk). Copy
all instances instead of only running ones, abort cleanly if the
instance list fails, and keep boot.autostart=false on every replica.

incus-backup.sh: add a local destination mode (-d local, now the
default) that writes dumps/rsyncs straight to the backup root without
ssh; add -b to override the /backup root, flock against overlapping
runs, set -u, non-zero exit when any step fails, and fix the invalid
`incus exec -n` flag that made MariaDB dumps fail on modern incus.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 19:57:09 +02:00
julien dceb17cd57 incus-copy: Add --refresh-exclude-older option 2025-12-08 16:06:22 +01:00
julien cf1f43ca9f incus-copy: Fix argument parser 2025-11-26 13:40:50 +00:00
julien 9327e9d050 first commit 2025-11-25 17:54:48 +00:00