naturallaw777
5edf594eac
Switch default browser to Brave Origin (brave-origin)
2026-08-15 16:58:33 -05:00
naturallaw777 and arena-agent
94e4412e67
Make Manual Backup match the system role (Desktop Only scope)
...
The Manual Backup screen in the Hub always listed the Node / Server +
Desktop items (nix-bitcoin secrets, /var/lib system service data, and the
database/blockchain caveat), and the backup script mirrored /var/lib and
counted it in the free-space estimate even on the Desktop Only role.
Desktop Only systems run no server or Bitcoin services and have no
internal second data drive, so none of that applies.
Hub UI (support.js):
- 'What gets backed up' is role-aware: Desktop Only lists only the NixOS
configuration (/etc/nixos) and home directory (/home)
- Database/blockchain note hidden on Desktop Only
- Intro copy corrected: external USB copy is a second location on
Desktop Only (no internal second drive); third-location wording kept
for Node / Server + Desktop
Backup script (sovran-hub-backup.sh):
- Desktop Only runs 2 stages (1/2 /etc/nixos, 2/2 /home); secrets and
/var/lib stages no longer run on that role
- Free-space estimate skips /var/lib on Desktop Only
- BACKUP_MANIFEST.txt sources/exclusions/limitations/restore guidance
and blockchain note are role-aware
- Completion message role-aware ('second, external location' on
Desktop Only); header comments updated
Node and Server + Desktop behavior is unchanged. Added CHANGELOG entry.
Verified: bash -n / node --check, 6 role-detection cases, manifest
generation for both role groups (non-desktop output identical to
before), and simulated UI renders for all three roles.
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com >
2026-07-30 21:49:04 +00:00
copilot-swe-agent[bot]
0c90c8a827
Fix rsync destination-directory failure: add sync_tree with mkdir -p, mount check, path-safety, stale-marker cleanup, and 19 behavioral tests
2026-07-21 00:03:12 +00:00
copilot-swe-agent[bot]
228de54d62
refactor: rename CURRENT_DIR_NAME to BACKUP_SUBPATH for clarity
2026-07-20 22:47:53 +00:00
copilot-swe-agent[bot]
1a3c014183
feat: replace tar+DB+LND backup with ext4+rsync workflow
...
- Rewrite sovran-hub-backup.sh: rsync-based mirror to stable current/
path, ext4 validation, no tar/pg_dump/mariadb-dump/LND orchestration,
exit-24 nonfatal for /home, INCOMPLETE/BACKUP_COMPLETE markers, flock
- Update server.py: _is_supported_backup_fstype accepts only ext4
- Update support.js: require ext4, explain database limitations, update
failure message from exFAT to ext4
- Update sovran-hub.nix: replace pkgs.gnutar with pkgs.rsync + pkgs.acl
- Rewrite test_manual_backup_workflow.py: 40 new tests covering rsync
options, ext4 acceptance, exit-24 handling, no-delete, stable current/
path, INCOMPLETE markers, behavioral rsync tests, and regressions
2026-07-20 22:45:04 +00:00
copilot-swe-agent[bot]
c5982ccb14
Final polish: explicit LOCK_FD close, tar --list SIGPIPE comment, marker timing comment, _extract_bash_function docstring
2026-07-18 18:11:19 +00:00
copilot-swe-agent[bot]
9785b8717d
Address code review round 2: Python regex for function extraction, bash 4.1+ comment, find -print0 for manifest, mktemp 0600 comment
2026-07-18 18:08:33 +00:00
copilot-swe-agent[bot]
9169e59780
Address code review: source allowlist function from script in tests, fix find exclusions for BACKUP_COMPLETE, simplify log message
2026-07-18 18:05:46 +00:00
copilot-swe-agent[bot]
98d17423ff
Fix test assertion pattern and replace em dashes in new log messages
2026-07-18 18:02:41 +00:00
copilot-swe-agent[bot]
2d48bd8d77
Fix home.tar exit-1 failure: add tar tolerance, partial atomics, INCOMPLETE marker, flock, browser cache exclusions
2026-07-18 18:00:29 +00:00
copilot-swe-agent[bot]
994a5ca1cd
Refine backup validation and manifest details
2026-07-17 17:00:32 +00:00
copilot-swe-agent[bot]
9a76e71dd0
Address validation feedback for backup workflow
2026-07-17 16:58:34 +00:00
copilot-swe-agent[bot]
08f650cc35
Implement reliable exFAT manual backup workflow
2026-07-17 16:56:08 +00:00
copilot-swe-agent[bot] and naturallaw777
efd0e8d01a
backup: harden desktop var-lib exclusions
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/d8d4b876-dfc7-42fd-954c-a9e5b05dc497
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-18 13:49:57 +00:00
copilot-swe-agent[bot] and naturallaw777
9e2f6a4d78
backup: tighten rsync var-lib exclude patterns
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/d8d4b876-dfc7-42fd-954c-a9e5b05dc497
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-18 13:49:07 +00:00
copilot-swe-agent[bot] and naturallaw777
98c0429a83
backup: include full /var/lib in manual backup stages
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/d8d4b876-dfc7-42fd-954c-a9e5b05dc497
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-18 13:47:22 +00:00
copilot-swe-agent[bot] and naturallaw777
724cf0585d
Make backup script role-aware and add manual-backup docs
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/a9c69b4d-1c8d-4ade-b444-33043e52fc63
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-05 04:43:04 +00:00
copilot-swe-agent[bot] and naturallaw777
f5b8402173
Add Manual Backup improvements: lsblk drive filtering, UI instructions, CSS border fixes
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/a43d270d-eb78-4ad3-b721-fe958883c305
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-05 03:41:53 +00:00
copilot-swe-agent[bot] and naturallaw777
df9fc8672f
feat: Add Manual Backup button in Hub sidebar with drive detection and progress streaming
...
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/14dc5955-19b2-4e5b-965a-2795285a22fd
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com >
2026-04-05 03:24:07 +00:00