Restore a single file from a QNAP CloudStation Backup on Google Cloud

QNAP adding support for Google Nearline with their CloudBackup Station was a watershed moment for me in cloud backup.   I refused to do cloud backup before due to cost, security concerns and ease of use.

Nearline addresses my cost concerns since it free to upload, low cost to store ($.01/GB/mo) and considering this is for disaster recovery the download cost could be 100x and I’d still pay.

CloudBackup Station addresses my ease of use and security concerns since it connects to the cloud using SSL and offers strong client side encryption.   However you must enable the encryption when setting up the backup job and pick a long password to get full advantage.

But what if you want to restore just one file?   CloudBackup Station doesn’t support that — its all or nothing, but there is a relatively easy workaround though.

  1. Go to
  2. Click on the project name associated with your back up
  3. In the left menu click Storage – Cloud Storage – Storage Browser
  4. In the right pane click the storage bucket associated with your back up
  5. Navigate to the file you want;   The bucket should mirror the directory structure on your NAS.
  6. Download the file
  7. The file won’t open because you encrypted it, right?   Move it to a directory on your NAS
  8. SSH into your NAS and navigate to that directory
  9. Type:
 openssl enc -d -aes-256-cbc -k %password% -in '%downloaded_encrypted_file%' -out %outputfile%

You could perform the decryption on your computer as well since openssl is available for a variety of platforms, but we know its on your NAS and the syntax is known.