Backup & Restore
Protect your snippet collection with regular backups.
Data Location
All ZetoPad data is stored in:
~/Library/Application Support/zetopad/Key files:
zetopad.db- Your snippets databasesettings.json- Application settingskeymap.json- Custom keybindings
Manual Backup
Full Backup
Copy the entire folder:
cp -r ~/Library/Application\ Support/zetopad ~/Desktop/zetopad-backupDatabase Only
Copy just the snippets:
cp ~/Library/Application\ Support/zetopad/zetopad.db ~/Desktop/zetopad-backup.dbRestore from Backup
- Quit ZetoPad
- Replace the data folder:
rm -rf ~/Library/Application\ Support/zetopadcp -r ~/Desktop/zetopad-backup ~/Library/Application\ Support/zetopad- Launch ZetoPad
Cloud Sync
ZetoPad doesn’t have built-in cloud sync, but you can use cloud storage:
iCloud Drive
ln -s ~/Library/Application\ Support/zetopad ~/Library/Mobile\ Documents/com~apple~CloudDocs/zetopadDropbox
ln -s ~/Library/Application\ Support/zetopad ~/Dropbox/zetopadExport Options
Export All as Markdown
Coming soon: Export all snippets as individual Markdown files.
Export as JSON
Coming soon: Export database as JSON for portability.
Import
From Markdown Files
- Open Settings > Import
- Select “Import Markdown”
- Choose folder containing
.mdfiles - Review and confirm import
From Heynote
- Open Settings > Import
- Select “Import Heynote”
- Select your Heynote data file
- Review and confirm import
From CSV
- Open Settings > Import
- Select “Import CSV”
- Select your CSV file
- Map columns to snippet fields
- Review and confirm import
CSV format expected:
title,content,language,tags,folder"Hello World","print('Hello')","python","greeting,tutorial","examples"Automated Backup
Set up automated backups with a cron job:
# Edit crontabcrontab -e
# Add daily backup at 2am0 2 * * * cp ~/Library/Application\ Support/zetopad/zetopad.db ~/Backups/zetopad-$(date +\%Y\%m\%d).dbEncrypted Backups
If you have encryption enabled, your backup file is also encrypted. You’ll need the password to restore.
For extra security, encrypt your backup:
# Encryptzip -e zetopad-backup.zip ~/Library/Application\ Support/zetopad/zetopad.db
# Decryptunzip zetopad-backup.zip