Documents backup setup
Cleanup, zip, and upload ~/Documents to the Drive that does not hold the current backup. Restore picks the newest zip from either account. Backups are always manual.
Install
bash
curl -fsSL https://zkit.zohid.me/install.sh | bash
zkit docs statusCommands
bash
zkit docs cleanup -n
zkit docs backup
zkit docs restore
zkit docs status
zkit docs reconnect
zkit docs authGoogle client (one-time)
Create a GCP project named zkit. Keep the old rclone-backup project until you cut over. Remotes stay gdrive-main / gdrive-second.
- Enable Google Drive API.
- OAuth branding: app name
zkit, homehttps://zkit.zohid.me/docs, privacyhttps://zkit.zohid.me/privacy, authorized domainzohid.me. Support / developer contact:zohid.marufov@outlook.com. - Scopes:
https://www.googleapis.com/auth/driveandhttps://www.googleapis.com/auth/drive.metadata.readonly. - Audience → Publish → In production.
- Desktop client named
zkit. Store Client ID and secret in your password manager only.
Configure rclone
bash
zkit docs authFresh Ubuntu
bash
curl -fsSL https://zkit.zohid.me/install.sh | bash
zkit docs restore