You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
backups are stored on the VM they exist to survive #39
internal/backup/backup.go writes every backup to a directory on the VM being backed up (BK="$HOME/<name>-backups", or the stack's backupDir, same machine either way). The failure that backups exist for, losing the VM, deletes the app and all 14 retained backups in the same event. Cheap VMs are the audience, and cheap VMs get rebuilt, run out of disk, and disappear when a card expires.
The current behaviour is right as far as it goes: local-to-the-VM restores are fast and the prune logic keeps disk bounded. The gap is that nothing ever leaves the machine.
Shape
Smallest useful version first:
baryovm stack backup app --pull # take the backup, then scp the new files to ~/.baryovm/backups/app/
That alone breaks the shared fate: the operator's laptop becomes the second copy, over the SSH connection that already exists, with no new credentials and nothing to configure.
A remote object store (S3/B2/rclone) is the version agencies will eventually want, but it drags in credential handling that #14 has not resolved yet. Decide here whether --pull ships first and object storage waits for #14, which is my leaning, or whether both wait.
SECURITY.md note: pulled backups include the stack's config file copy, so the local backup dir needs the same 0600/owner-only treatment as fleet.json.
Activity