![]() ![]() This table will have another spot with the clients computer name and the full path to the backup. I think this just keeps track of how many Synology connections and top level folders you’ve added. sqlite3 ~/.CloudStationBackup/data/db/sys.sqlite "update session_table set sync_folder = '/Users/USERNAME/' where id=1 " This command will set the client’s folder to backup. Take a look at your sys.sqlite file and verify its remote_path. Cloud Station Backup assumes Backups as the root for the remote_path so the remote path starts with my subfolder: /CloudStation. For me I’ve got a Backups share with a CloudStation subfolder where my backups reside. The remote path in this command will need to be tweaked for your setup. This command will set the proper remote path, filling in the computer name and username of the end client machine: sqlite3 ~/.CloudStationBackup/data/db/sys.sqlite "update session_table set remote_path = '/CloudStation/COMPUTER NAME/Users/USERNAME/' where id=1 " You’ll need to pay attention to the id field. If you have multiple top level folders then you’ll have multiple session rows. The sync_folder is the path to the folder to be backed up. The remote_path is the path to the backup on the backup share. The two main fields we’ll update in this table are the remote_path and the sync_folder. If you’re backing up multiple top level folders (like external hard drives) I recommend you experiment with this on your test machine and review this sqlite table (this is where DB Browser for SQLite comes in handy.) For my use case I’m just backing up my users home folder, so I’ve just got one session. I’m not exactly sure how the program decides when to add a new session or add item to the blacklist.filter file. This table will contain all of the top level folders you’re backing up. As far as I can tell this table just contains some info on the backup share that we’ve connected to. I’ve got a script below that automatically gets the computer name and will run these SQLite commands. You can use this sqlite3 command to update the value: sqlite3 ~/.CloudStationBackup/data/db/sys.sqlite "update connection_table set computer_name = 'COMPUTER NAME' where id=1 "Īnytime you see COMPUTER NAME or USERNAME in the SQLite commands, then you will need to fill in the user’s computer name and/or username. When deploying the software, the only value in this table that we’ll need to update on install is the computer_name field. The only non-obvious field is the session field. This table contains all of the information to connect to the Synology. ![]() The first table in this database is the connection_table. Here’s the breakdown of the sys.sqlite file. There are five values we’ll need to update per install so that we don’t have all of our machines backing up on top of each other. This file contains most of our configuration. Go ahead and exit the app (right click the menu item -> exit.)ġ5. Open the invisible ~/.CloudStationBackup folderġ6. Copy out ~/.CloudStationBackup/data/db/sys.sqlite file Once you’re done with the setup wizard the client will start backing up. On the Summary click Done and then click No need. Walk through the steps until you get to the Summary screen. In this step you’ll want to enter the connection details using the backup user from step one. Once installed it’ll open a setup wizard.ġ4. Walk through the setup wizard and configure the Cloud Station Backup We’re going to install this on a test machine first, so that we can grab two configuration files. Install the Cloud Station Backup software on a test machine or VM You can come back and edit any of this if you ever want to make any changes and it will download the new sync profile to the backup client.ġ3. This should finalize your Cloud Station Server configuration. Click Apply to save the settings configuration Click the Applied User tab, check your backup user, and then click Applyġ2. You can also add file extensions at the bottom like this: *.dmgġ1. Give it a name and uncheck any file types that you don’t want to be backed upġ0. ![]() Click User Sync Profiles and click Createĩ. Configure versioning how you’d like it and then click OKĨ. Select the share you just created and click Enableħ. Download the Cloud Station Backup softwareĦ. These credentials will be deployed to connect Cloud Station Backup to your Synology.Ģ. Install Cloud Station Server on your SynologyĤ. I recommend creating a specific user for this with a long random password. Give a user account read/write access to this folder. Create a new Shared Folder to use as your Cloud Station Backup destination.I used VMware Fusion for testing and Munki for deployment. To get this setup I used a text editor for scripts, DB Browser for SQLite to review the SQLite databases, and Packages to create my configuration package. ![]() This post will walk you through deploying Synology’s Cloud Station Backup on macOS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |