Components setup
Shared drive
Step 1: Create a Shared Drive
- Log in to Google Drive:
- Go to Google Drive and log in with your Google Workspace account.
- Navigate to Shared Drives:
- On the left sidebar, click on "Shared drives".
- Create a New Shared Drive:
- Click on the "New" button at the top left.
- Enter a name for your shared drive and click "Create".
- Make sure that the name of the shared drive is the name of the package.
Step 2: Add Members and Set Permissions
- Open the Shared Drive:
- Click on the shared drive you just created.
- Add Members:
- Click on the "Manage members" button (person icon with a plus sign).
- Enter the Google account email addresses of the people you want to add.
- Set Access Permissions:
- For each person, choose their access level from the dropdown menu:
- Manager: Full control, including adding/removing members and changing settings.
- Content Manager: Can add, edit, move, and delete files.
- Contributor: Can add and edit files but cannot delete them.
- Commenter: Can view and comment on files.
- Viewer: Can only view files.
- Click "Send" to invite them.
- For each person, choose their access level from the dropdown menu:
Step 3: Manage Folder and File Permissions
- Set Permissions for Specific Folders/Files:
- Navigate to the folder or file within the shared drive.
- Right-click on the folder/file and select "Share".
- Add people or groups and set their specific permissions as needed.
Tips for Effective Management
- Use Groups: If you have many users, consider creating Google Groups for easier management.
- Review Permissions Regularly: Periodically check and update permissions to ensure they align with current needs.
Data Synchronization
Here's a step-by-step guide to sync a folder from a shared Google Drive with a QNAP NAS folder:
- Install Hybrid Backup Sync (HBS) on your QNAP NAS:
- Open the QNAP App Center.
- Search for "Hybrid Backup Sync" and install it.
- Set Up Google Drive in HBS:
- Open Hybrid Backup Sync.
- Go to "Storage Space" and click "Add Cloud Storage".
- Select "Google Drive" and follow the prompts to authorize access to your Google Drive account.
- Create a Sync Job:
- In Hybrid Backup Sync, go to "Sync" and select "One-Way Sync" or "Two-Way Sync" depending on your needs.
- Choose "Google Drive" as the source.
- Navigate to the shared folder you want to sync. Note that you might need to add the shared folder to "My Drive" in Google Drive for it to be accessible.
- Select the Destination Folder on QNAP NAS:
- Choose the destination folder on your QNAP NAS where you want the Google Drive folder to be synced.
- Configure Sync Settings:
- Set up the sync schedule and any additional settings like file filters or conflict policies.
- Save and run the sync job.
- Monitor the Sync Job:
- You can monitor the progress and status of the sync job in Hybrid Backup Sync.
Automate syncing backups (NAS to S3)
To automate syncing backups from your QNAP NAS to AWS S3 Glacier Deep Archive every weekend, use the Hybrid Backup Sync (HBS 3) application. Here's a step-by-step guide:
- Create an S3 Bucket:
- Log in to your AWS Management Console.
- Navigate to the S3 service and create a new bucket. Choose a unique name and select the appropriate region.
- Set Up IAM (Identity and Access Management) User:
- Go to the IAM service in AWS.
- Create a new user with programmatic access.
- Attach the necessary policies (e.g., AmazonS3FullAccess).
- Generate Access Keys:
- Generate and download the access key ID and secret access key for the IAM user.
- Configure HBS 3 on QNAP NAS:
- Log in to your QNAP NAS web interface.
- Open the HBS 3 application.
- Create a new sync job and select "Sync with Cloud Services".
- Choose Amazon S3 as the cloud service provider.
- Enter the access key ID, secret access key, and the bucket name you created.
- Set Up Sync Job:
- Configure the source folder on your NAS and the destination folder in the S3 bucket.
- Select the storage class as "Glacier Deep Archive".
- Set the schedule for the sync job to run every weekend.
- Verify and Start Sync:
- Review the settings and save the sync job.
- Start the sync job manually to ensure everything is set up correctly.
- Once verified, the job will run automatically as per the schedule.
This setup ensures that the data is backed up to AWS S3 Glacier Deep Archive, providing a cost-effective and secure long-term storage solution.