Key Paths
Config/home/vps-superuser/.config/onedrive/config
Token/home/vps-superuser/.config/onedrive/refresh_token
DB/home/vps-superuser/.config/onedrive/items.sqlite3
Pairs Root/home/vps-superuser/onedrive-sync/BACKUP/VPS-Contabo/
Service
- Status
systemctl --user status onedrive
- Restart
systemctl --user restart onedrive
- Follow logs
journalctl --user-unit=onedrive -f
- One-time sync
onedrive --sync --no-remote-delete
Add a Sync Pair
Pair = symlink in BACKUP/VPS-Contabo/ pointing to real source.
ln -s /your/source /home/vps-superuser/onedrive-sync/BACKUP/VPS-Contabo/name
Then restart the service.
After Config Changes
rm ~/.config/onedrive/.config.hash
rm ~/.config/onedrive/items.sqlite3
onedrive --sync --no-remote-delete
systemctl --user start onedrive