Installation
Backup and moving to a new computer
Your posts, media and content folders are not in Git. Publit.Si backs up its database every day by itself; for a copy on another disk, let it write a full backup to a drive or cloud folder, or run pnpm backup.
Automatic external backup
The passphrase is kept in the system's keychain (Mac Keychain, Windows DPAPI, Linux keyring), never in .env. If the target is missing – drive unplugged, share not mounted – you get a notification and a warning on that page, and the backup is made as soon as the target is back.
Under Settings › System › External backup, choose a folder on another disk: a USB drive, a cloud sync folder (iCloud Drive, OneDrive, Dropbox, Google Drive, Nextcloud …) or a mounted network share (SMB/NFS).
Pick daily or weekly, how many backups to keep, whether
.envcomes along (encrypted with the same passphrase) and a passphrase.The worker writes a full backup into
PublitSi-Backupsinside that folder – also while the app is closed – and deletes the oldest beyond the number you keep.
Full backup by hand
In the
publitsifolder (it works while Publit.Si runs):pnpm backup # or: pnpm backup /Volumes/MyDrive --with-envIt writes a folder
PublitSi-Backup-<date>(by default in~/PublitSi-Backups) with the database, your media, thecontent/folders and your token key.The token key is encrypted with a passphrase you choose. Keep it safe: without it the backup can't restore your connections.
Daily database backups
While Publit.Si runs, it copies its database once a day and keeps the last 7 days and 4 weeks. Settings › Backups shows the last backup and has Back up now and Open folder. Before every update, the database is also copied to backups/ in the data folder.
To go back to one of them on this computer:
pnpm restore:db /path/to/publitsi-<date>.db
Move to a new computer
On the new computer, do Get the code and Install the tools.
Copy over
~/.cloudflared/for the tunnel, and.envunless your backup has it.Restore the backup; it asks for the passphrase and puts back
.envif the backup has one. If Publit.Si already has data there, add--force(the current data is kept in abefore-restore-…folder).pnpm restore /path/to/PublitSi-Backup-<date>Continue with Start Publit.Si. Your accounts stay connected.
Check
Settings › Status shows your accounts as connected, the last post and the last external backup.
Stuck? Search the troubleshooting list or write to us . Leave out secrets and tokens.