To backup your notes, do the following steps:
pwd
To find the path of your existing installation.
- example output:
/home/user55/noteapp
- Open crontab:
crontab -e
- Add the following command (New Line). Replace
/home/user55/noteapp
with your own installation path
* * * * * cd /home/user55/noteapp && ./scripts/backup.sh >> ./logs/backup.log