Your TimeTrackr data lives in two folders inside the timetrackr folder:
- data, the database: accounts, projects, hours and wages.
- public/uploads, the screenshots.
Nightly backups:
The server installer backs up both folders every night at 3am into /backups on your server, one file per night, and keeps 30 days.
Keep a copy somewhere else too. A backup that only lives on the same server is not much help if the server itself is lost. Download the newest file from /backups now and then with FileZilla or WinSCP, and keep it somewhere private, because it holds your staff's screenshots and pay.
Updates keep their own backups:
Every one-click update first copies the version you had into the backups folder inside timetrackr, which is what Undo the last update uses.
Moving to a new server:
- On the old server, press Deactivate under Settings, Licence.
- Install TimeTrackr on the new server with the installer, but do not run the setup wizard yet.
- Stop it with systemctl stop timetrackr.
- Copy the data and public/uploads folders from the old server into /opt/timetrackr on the new one.
- Start it with systemctl start timetrackr.
- Point your web address's A record at the new server.
- Sign in as before and press Activate under Settings, Licence.