VMs require zvolumes instead of datasets, with both being created from the WebGUI -> Storage tab. You'd then mount the zvol to the VM (WebGUI -> VM), and configure an OS, such as Ubuntu, by installing Google Drive and selecting the zvolume you created for the Google Drive storage location. You can then rsync data to/from.Can you explain it simple to me? I'm a newbie
Huh?You'd have to do so via a VM,
pkg install rclone
pkg install rclone
will install rclone 1.33; the current is 1.36. If you want the current version, download it from rclone.org and install it per their instructions. Then continue.What does this have to do with synchronizing with Google Drive?Where are the apache24 config filesstored? So I can add ssl etc?
What does https have to do with Google Drive? And what does Nextcloud have to do with the subject of this thread?I'm trying to add a external drive like Google Drive.. But getting errors from Google.. So it would be nice with https support
rclone
on the second machine--maybe that's a difference between authorizing for Amazon Cloud Drive and Google Drive. On the second machine, I only needed to open a browser, sign in to the Google account, authorize rclone
, and then copy and paste the authorization code into the terminal window where I was running rclone
.I tried this but when I add storage to the jail then not just "source" but also "destination" is required. What do I select there? :SHuh?
- Create a jail
- Add desired storage (i.e., the directories/datasets you want to synchronize with Google Drive) to jail
pkg install rclone
- Configure rclone to sync with Google Drive account
http://doc.freenas.org/11/jails.html#add-storageI tried this but when I add storage to the jail then not just "source" but also "destination" is required. What do I select there? :S
Multiple cloud accounts are fine--configure them separately withAlso is one rclone jail able to sync multiple cloud storage accounts?
rclone config
and give them different names, and you're fine. rclone
probably doesn't need to be in a jail at all. It's a self-contained binary, and could easily be placed on your pool somewhere without creating a jail for it. My first crack at it was to make a jail, and that works just fine, but it's probably an unnecessary complication. rclone sync sourcedir/ gdrive:destdir/
, it's going to make destdir look like sourcedir. Files in destdir that aren't in sourcedir, as I understand it, would be deleted. If you used rclone copy
instead, those files wouldn't be deleted, but they also wouldn't be copied to sourcedir.