Many users asked us about a command line version of BackupGoo. And we are pleased to announce that BackupGoo 5 contains such a tool.
There are many advantages - especially if you are using BackupGoo to backup a lot of accounts - or if you want to run BackupGoo on many servers.
This tutorial explains how to setup BackupGoo and how to retrieve your accounts.
- Your client id
- Your service account email
- Your keyfile
If you don't know how to get them please check our tutorial.
The following description is for Unix and MacOS systems. For Windows please use the *.bat scripts. E.g. use instead of "backupgoo-add-domain.sh" the "backupgoo-add-domain.bat".
Setup your domain
The first step is to tell BackupGoo about your domain and your credentials. In your unzipped BackupGoo distribution please execute "backupgoo-add-domain.sh -h". The option "-h" will show you a help screen about all options.
An exemplary usage is:
This will save the credentials for your domain. Now it is time to tell BackupGoo which users to backup.
Add the users you want to backup
The second command is backupgoo-allusers.sh. As with all BackupGoo commands you can use "-h" on the command line to get all possible configuration parameters. This little tool allows you to retrieve all users of your domain. These are the users BackupGoo will backup.
on the command line and it will fetch all users.
After setting up your domain and loading all users to backup it is quite simple to run a backup. Simply call
and BackupGoo will download all your data from your Google domain.
Add the license key
When your 14 day trial expires and you choose to buy a license, you get a license key.
Now you have to add this key to BackupGoo. Therefor call
backupgoo-setup.sh -key YOUR_KEY
on the command line. Thats it!
This post showed you how to tell BackupGoo the credentials for your domain, how to fetch users that can be backed-up and finally how to run BackupGoo on the command line.
You are now ready to automate BackupGoo using crontab and keep your data safe.
Please don't hesitate to contact us at firstname.lastname@example.org if anything is not 100% clear or if you encounter any problems.