![]() ![]() Skype, Xbox)” and then in the field “Redirect URI” choose “ Public client/native (mobile & desktop)” and enter the code below: urn:ietf:wg:oauth:2.0:oob Type in the “Name” of the application you are going to create, in the field “Supported account types” choose “ Accounts in any organizational directory (Any Azure AD directory – Multitenant) and personal Microsoft accounts (e.g. Once authenticating in the Azure portal, entering the One Drive credentials, click on “New Registration” in order to create a a new App: This site has been deprecated, so we strongly suggest to delete the registered Apps and recreate them directly in the Azure portal. NB: Users who have previously created the App through the link , they can find the Apps already registered and the client IDs unchanged on the Azure portal. ![]() See also: Automatic backup to OneDrive usingIperius.įor the creation of the “App” and to obtain the access credentials to be used inside Iperius, go to the following link: With this simple tutorial we’re going to see how to enable the OneDrive API and get the Client ID code (App ID) to perform remote backup (clearly this procedure to enable the OneDrive API can be useful for using services and storage OneDrive from any other software). The localtest_crypt:/ is what I think is wrong, like the rclone_jobber.sh isn’t handling the $new variable in the job script properly, but I don’t know why.Iperius is a powerful and complete backup software that allows OneDrive backup and cloud backup on all major storage platforms: Google Drive, OneDrive for Business, Amazon S3, Azure Storage and Dropbox. #display test directories (comment these if calling from job scheduler)īack up in progress _21:51:35 _music_test.sh rclone sync /home/joti/test_rclone_data localtest_crypt:/ -backup-dir=localtest_crypt:/archive/2018/_21:51:35 -log-file=/home/joti/github_repos/rclone_jobber/rclone_jobber.log ERROR: _music_test.sh failed. $rclone_jobber/rclone_jobber.sh "$source" "$dest" "$move_old_files_to" "$options" "$(basename $0)" "$monitoring_URL" Rclone_jobber=$rclone_jobber #path to rclone_jobber directory #substitute $rclone_jobber and $ with paths on your system # testing using paramters to override the "latest_backup" folder name ![]() The rclone target is “localtest_crypt”, set as $test_remote, which is a subfolder in my home dir called rclone_test. The folder I’m trying to use as the latest backup folder is ‘music’, so in the job script, I set the variable new=“music”. I edited the rclone_jobber.sh, to replace the new=“latest_backup” variable with new="$7". Thanks for responding! I tried this on a small test directory and ran into problems. Of course, test on a small test directory before deploying real backup jobs. If the job specifies new=“last_snapshot”, it behaves like the stock rclone_jobber.sh script. ![]() $rclone_jobber/rclone_jobber.sh "$source" "$dest" "$move_old_files_to" "$options" "$(basename $0)" "$monitoring_URL" "$new" Options="-filter-from=$rclone_jobber/examples/filter_rules -checksum -dry-run" “job_backup_pictures” backs up to new=“pictures”.Įxample job_backup_pictures: #!/usr/bin/env sh Write a separate backup job for each directory e.g. If you can not rearrange your existing destination backup directories, you can customize the rclone_jobber.sh script.Ī minimal rclone_jobber.sh customization would be to move the $new variable to a parameter, for example: new="$7"Īnd then specify “$new” in the backup jobs. Rclone_jobber directory structures are illustrated in As is, rclone_jobber.sh will always backup to “last_snapshot”.Ĭmd="rclone sync $source $dest/$new $backup_dir $log_option $options"Ĭan you rearrange your existing destination backup directories to match the directory structure used by rclone_jobber? i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |