Skip to content

sebastianfeldmann/phpbu-dropbox-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpbu Dropbox Helper

Small script to obtain the "offline" refresh token that is required for the phpbu Dropbox config.

<sync type="dropbox">
  <option name="refreshToken" value="MY_REFRESH_TOKEN" />
  <option name="appKey" value="APP_KEY" />
  <option name="appSecret" value="APP_SECRET" />
  <option name="path" value="/phpbu-backup/%Y" />
</sync>

For this script to work you have to create a Dropbox App in your Dropbox App Center to obtain the AppKey and the AppSecret.

You will need both to obtain the necessary refresh token.

Run the script enter both, then you have to open a given URL in your browser and login with your Dropbox account. This will authorize the app to access your account. You will receive an AppCode. Enter this code on the prompt of the script to finally get your RefreshToken.

Install & Usage

Clone

git clone [email protected]:sebastianfeldmann/phpbu-dropbox-helper.git
cd phpbu-dropbox-helper
composer install
bin/dropbox

Composer

composer require --dev phpbu/phpbu-dropbox-helper
vendor/bin/dropbox

About

Dropbox Refresh Token Helper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages