Followed the broad outline at https://www.handybackup.net/moodle-backup.shtml, so
- SQL db data dump - I used DBeaver on my local machine. Using the command-line on the server would have been faster, but I was not sure if some options would have caused problems.
- Moodle code - just for safety, zipped the entire directory - but I could have discarded the .git sub-directory.
zip -r moodledir.zip /var/www/moodledir - Moodle data - Zipped only filedir directory, since other things like cache are not required for the backup.
After using rclone to copy the 72 GB data dir zip file to a Shared drive in Google Drive, I tried using Google Drive Desktop on Windows to make a local copy. First attempt at directly copying from drive to a USB external hard disk - failed with semaphore timeout has expired error. Then tried with internal SSD, again the same error. Then I tried with rclone, success.
rclone copyto gdrive:/our_data-filedir20221112.zip ../our_data-filedir20221112.zip --progress
Transferred: 73.856 GiB / 73.856 GiB, 100%, 0 B/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 2h40m9.5s
Transferred: 1 / 1, 100%
Elapsed time: 2h40m9.5s
No comments:
Post a Comment