![]() Note the ID for the directory, as you will need this information below.Īfter you verify that the Google Drive directory was created successfully, you are ready to set up a cron job that backs up files to the directory automatically. To verify that the directory was created successfully, type the following command: You can replace backups with any name you want to use: To create a directory on Google Drive in which to store your backup files, type the following command.Create a cron job on your hosting account to do the actual backup.Create a directory on Google Drive to contain your backup files.You should not normally have to edit the configuration manually, however.Īfter you install and configure the gdrive program, and have verified that gdrive can connect to Google Drive, you are ready to: The gdrive program saves its configuration settings in the /home/ username/.gdrive directory, where username represents your account username. ![]() To view all of the gdrive commands, type the following command:.This command displays the ID number, name, type, size, and creation date for all of the files and directories in your Google Drive account. ![]() To list your Google Drive files and directories, type the following command: Gdrive is now configured to use your Google Drive account. You should receive the following message (the actual names and amounts will differ): (Log in to your Google Drive account if necessary.)Ĭlick the clipboard icon to copy the verification code:Īt the command prompt, paste the verification code that you obtained in step 7, and then press Enter. Copy the URL, and then paste it into your web browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |