Skip to content

Instantly share code, notes, and snippets.

View robertobarlocci's full-sized avatar

Roberto Barlocci robertobarlocci

View GitHub Profile
From -> https://forum.synology.com/enu/viewtopic.php?t=98124
1. Go to your console ( https://console.developers.google.com/ ) and create a project.
2. Create a bucket in Storage -> Cloud Storage -> Storage Browser
3. Go to Storage -> Cloud Storage -> Storage Access and enable Interoperability
4. Generate access key
5. Now go to DSM 5.2 and install Hyper Backup if you havent already.
6. Pick S3 storage
7. The input next to the label "S3 Server" is both text input and drop-down. This is where you write "storage.googleapis.com"
8. Enter key and secret.
<?php
/*
* This script only works on linux.
*/
define('DB_HOST', 'localhost');
define('DB_NAME', 'databsename');
define('DB_USER', 'username');
define('DB_PASSWORD', 'password');