Skip to content

4. Backups

Leon Kramer edited this page Dec 31, 2022 · 1 revision

Backup and Restore

Backup

Create a copy of your data directory (dataDir setting in .noterc configuration). This defaults to %AppData%/Notemanager for Windows and ~/.notes directory for Linux or MAC.

Restore

Restore your backup in your data directory (dataDir setting in .noterc configuration). This defaults to %AppData%/Notemanager for Windows and ~/.notes directory for Linux or MAC.

Linux and Mac Only

Change the file owner of all files in in data directory to your user and change the file permissions to 600 for the regular Notemanager files and 700 to directories.

Assuming ~/.notes is your data directory, the commands are:

find ~/.notes -type f -exec chmod 600 {} +
find ~/.notes -type d -exec chmod 700 {} +
Clone this wiki locally