Recently, lost a free resource for hosting sandbox moodles and had to go to a commercial route ... decided on Rackspace. CentOS 7 and re-learning the diff's between CentOS 6 and 7,
Anyhoo ... also decided I needed to replicate the mounting of a Google Bucket ... 1.0P ... more storage than I'll use in my remaining years, me thinks!!!!
First, you do have to acquire a google account (doesn't have to be one from any Google for Education Domain) and a Google Bucket. Those I'll leave out here ... but the key is mounting from any server you desire to backup.
The 'key' for me get it working easily was this bit of info:
Notice did this as root user .. which, due to nature of what one is doing, could be even safer ... devil is in the details (as always) ... the .config directory - 'dot'config.
Didn't set it up in fstab as that might stall a reboot of server IF bucket can not be mounted.
Instead have a 'mountgbucket' script in /root that mounts.
mount -t gcsfuse -o rw,allow_other,nonempty busrv /mnt/gbucket
[root@someserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 158G 14G 137G 10% /
busrv 1.0P 0 1.0P 0% /mnt/gbucket
Then do your scripts to backup ... this one for a moodle35
tar -cvf /mnt/gbucket/m35/moodle-code-351+-$(date +%Y%m%d%-H%M%S).tar /var/www/html/moodle35;
tar -cvf /mnt/gbucket/m35/moodle-data-351+-$(date +%Y%m%d%-H%M%S).tar /var/moodle35data;
Note that's not a minimal ... it's a full backup of moodledata
Your mysql dump to the same location on the bucket as well.
The great thing about this ... one could mount the same bucket from multiple servers ... and servers don't have to be on the same network. Like I said above ... was on tcea.org's now moved to a RackSpace server and one should be able to do the same with any Linux/Mac flavored box.
When done with one server, umount the bucket ... go to another server ... setup the same bucket ... create in /mnt/gbucket/ directories for the server you are on.
Run your scripts ... done ... umount ... next server.
For someone that just has to stick to GUI ... did find a commercial product ... does as advertised.
On this Mac I have and use the same mounted Google Bucket. One can drag and drop from one mounted device to another.
And check out what it will do ...
IMHO, worth every dime!
Anyhoo ... thought I'd share ...
'spirit of sharing', Ken