Skip to content

Article

The journal's data in its own Google Drive: how the daily backup works

Every day JournalOS sends all of a journal's data to the journal's own Google Drive and keeps only as many recent copies as the journal chooses. How much is free, how to set it up, why we chose Google, and where the limits are.

If a journal's data lives in one place only, it lives in one place, however well that place is kept. The backups on JournalOS's server are our responsibility; a copy in the journal's own hands, in its own account and independent of us, is a different kind of safeguard. That is what the Google Drive backup is for: every day the journal's whole data goes to the journal's own Google Drive.

What goes

It is the same package as on the Data export page of the panel: a CSV file per table, the schema and a field dictionary, people's names and e-mail addresses (without passwords), the articles' metadata as JSON and JATS, the address map, the files if the journal wants them, a manifest and a restore script. The manifest lists the SHA-256 of every file in the package, and the digest of each copy as a whole is recorded in the panel. Keys, passwords and the token Google issues never go into the package.

How much is free

Google gives every account free storage, shared between Gmail, Google Drive and Google Photos. By Google's own account, an account gets up to 15 GB free; accounts created from 9 March 2026 start with 5 GB and unlock another 10 GB once a phone number is verified. When the storage is full, nothing new can be uploaded to Drive, so no backup can be made either, and the panel shows why the last attempt failed. More comes with a Google One plan or with the institution's Google Workspace account; for the details and current prices see Google's storage page.

The arithmetic is simple: the Drive always holds the number of copies you choose, three by default. Three copies of a 1 GB package, files included, take about 3 GB; when a fourth arrives the oldest is deleted, so the space used does not grow. If space is tight, untick Include the files: without the manuscripts and galleys the package is much smaller, and every record still goes.

How to set it up

You set it up with the journal's own Google account; JournalOS never sees your Google password.

  1. In the Google Cloud console, create a project for the journal and enable the Google Drive API under APIs & Services.
  2. Under Google Auth Platform, set the app up for External users and publish it. This step matters: Google ends the connections of apps in the Testing status after 7 days, and the backups stop.
  3. Under Clients, create an OAuth client of the type Web application and add the address the panel shows as an authorised redirect URI; it is on the journal's own domain.
  4. In the JournalOS panel, go to the Data export page. In Backup to your Google Drive, enter the client's ID and secret and choose Save the client.
  5. Use Connect with Google to give access to the Google account whose Drive will hold the copies. JournalOS makes a folder there named after the journal; the first copy is made within the hour.

From then on, Copies to keep sets how many copies stay, Back up now makes a copy at once, and Disconnect Google Drive ends the connection. The copies already in the Drive stay with you. For a step-by-step reference see Data export.

Why Google

We chose it for a few reasons:

  • Most journal offices already have a Google account, and many universities use Google Workspace. There is no new service to sign up for and no new contract to sign.
  • The free storage is often enough for the daily backup of a small or mid-sized journal.
  • Google's drive.file permission is a narrow one: the app sees only the files it made in the Drive, and Google counts it among its non-sensitive permissions. JournalOS cannot read, list or delete your other files.
  • The Google Drive API takes large files in pieces, and an interrupted upload can carry on where it stopped. However large the package, it goes in 8 MiB pieces and is never held whole in the server's memory.
  • The copy sits outside our infrastructure, in an account the journal controls. Whatever happens to JournalOS, the data stays with the journal.

What to know

The backup also has its limits:

  • The package holds personal data. Google LLC is a company based in the United States, and the transfer goes through the journal's own Google account under the journal's own agreement with Google. As the controller, the journal makes that decision; we list Google among the recipients a journal may choose on the sub-processors page.
  • For now Google Drive is the only destination.
  • Restoring is done with the README and the restore script in the package, not with a button in the panel; the package is in open formats, so it can also be moved to another system.
  • Our own server backups go on independently of this one; how long they are kept is written in the data processing agreement.

That the data belongs to the journal is a principle for us. In everyday terms it means a journal can open its own Drive every morning and find a full copy of yesterday's data.

All notes