A board that already has a network-attached storage device (NAS) in the building can keep a copy of the syndicate's archive on it, updated every week. This guide explains the principle, then the settings for a Synology NAS, a QNAP NAS or another server.
The principle: the NAS fetches the copy
CondoAide never writes directly to a NAS. To do so, access from the internet would have to be opened into the building's or a director's network, and that is exactly what we do not want to ask of a volunteer board.
So the NAS works the other way around: it fetches the copy CondoAide drops every week into the syndicate's storage. Every connection starts from the NAS; no port is opened.
CondoAide, in Quebec
The syndicate's complete archive, downloadable at any time.
The syndicate's storage
The OneDrive or Google Drive the board connects.
Every week
The NAS in the building
It copies that folder down, download only.
Copied by the NAS
The result: three copies, in three places, two of them under the syndicate's control.
Before you start
- Connect a weekly copy first. In CondoAide, the owner of the syndicate's account opens Syndicate settings, Archives tab, and connects the syndicate's OneDrive or Google Drive. Wait for the first copy: the section shows "Latest copies" with its date.
- Find the folder to copy, below for your storage. It is the only folder the NAS should read.
- Use an account in the syndicate's name. Connect the NAS to the same account as CondoAide, the syndicate's, never a director's personal account.
OneDriveApps
The "CondoAide - archives" folder, inside the OneDrive Apps folder.
Google DriveMy Drive
The "CondoAide - archive du syndicat" folder that CondoAide created.
S3 storageIf already set up
If the syndicate already has a copy to S3 storage: the folder it uses.
For S3 storage, do not reuse the key given to CondoAide. Create a separate key for the NAS with your provider, one that can only read and list that storage.
The three settings that matter
Whatever the NAS, the task must follow these three rules.
Download only
The NAS reads the remote folder and never writes to it.
Delete nothing
A file removed in the cloud stays on the NAS.
No open port
Every connection starts from the NAS toward the cloud.
CondoAide deletes nothing in the copy, and a new version of a document arrives next to the old one. If someone deletes the folder in OneDrive or Google Drive by mistake, the NAS keeps everything it has already received.
Synology: Cloud Sync
Cloud Sync is Synology's free app that syncs a NAS folder with OneDrive, Google Drive or an S3-compatible service. The labels below are those of Synology's help; depending on your DSM version, they may differ slightly.
- Install Cloud Sync from the NAS Package Center.
- Open Cloud Sync, choose the service (OneDrive, Google Drive or an S3-compatible service), then sign in with the syndicate's account.
- Local path: choose a NAS shared folder set aside for the archive, for example
Syndicate/CondoAide archive. - Remote path: choose the folder found above, and only that one. For Google Drive, if it does not appear in the list, stop here and write to us: do not widen the task to the whole Drive.
- Sync direction: choose "Download remote changes only".
- Tick "Don't remove files in the destination folder when they are removed in the source folder."
- Leave encryption off: the archive must stay readable on the NAS without Cloud Sync.
- Finish the wizard. Cloud Sync then watches the remote folder and downloads each new copy.
To limit Cloud Sync to certain hours, open the connection, Schedule tab, and tick "Enable schedule settings".
With a Google Workspace account, the domain administrator may need to allow Drive access in Google's admin console; Cloud Sync says so when you connect.
QNAP: HBS 3 Hybrid Backup Sync
HBS 3 is QNAP's backup and sync app.
- In HBS 3, open Storage Spaces and add the service (OneDrive, Google Drive, or Amazon S3 and compatible), connected to the syndicate's account.
- Open Sync, then create a One-way Sync Job, from the cloud storage to a NAS folder.
- Choose the folder found above as the source, and a NAS folder set aside for the archive as the destination.
- For the action, choose Copy, never Mirror: Mirror deletes from the NAS whatever disappeared from the cloud.
- In the job's policies, untick "Remove additional files in destination folder".
- Schedule the job with the Scheduler, for example once a day. Do not use real-time sync: HBS 3 does not let you turn off deletion there.
Another NAS or a Linux server
A NAS running openmediavault or TrueNAS, or any Linux server, can do the same with the free tool rclone, run by a scheduled task.
- Use
rclone copy, neverrclone sync:copydeletes nothing at the destination. - Point the source at the archive folder only.
- For Google Drive, rclone now requires you to create your own OAuth client at Google, with access to the whole Drive: CondoAide's folder is not visible with access limited to the files rclone created itself. That is a technical step; OneDrive and S3 are simpler.
Check the copy
Once a month, or after each annual meeting:
- open the folder on the NAS: the archive sits in a
syndicatssubfolder, then in a folder named with the syndicate's code; - check that the date of the
.condoaide/derniere-synchronisation.jsonfile in that folder is recent; - open
data/LISEZ-MOI.txt, which explains what the archive contains; - open a random document in
data/registre/documents, to make sure it reads without CondoAide.
If CondoAide has to suspend the weekly copy (access withdrawn, storage full), the directors who manage documents receive an alert, and the Archives section shows the reason. The NAS, for its part, will simply receive nothing new: that is why the monthly check matters.
What the syndicate takes on
The copy on the NAS is the syndicate's responsibility, like the one in its OneDrive or Google Drive. The NAS holds personal information (the co-owners, their contact details, the finances): keep it in a locked room, with individual accounts, and remove a director's access the day they leave the board.
Our commitments if CondoAide were to shut down are on the Service continuity page.