new DropboxBackup(options)
The DropboxBackup class
Parameters:
Name |
Type |
Description |
options |
object
|
The dropbox credentials
Properties
Name |
Type |
Description |
key |
string
|
The dropbox application key |
secret |
string
|
The dropbox application secret |
token |
string
|
The dropbox application token |
|
Properties:
Name |
Type |
Description |
options |
object
|
The dropbox credentials
Properties
Name |
Type |
Description |
key |
string
|
The dropbox application key |
secret |
string
|
The dropbox application secret |
token |
string
|
The dropbox application token |
|
Methods
run(name, fn)
Performs the operation
Parameters:
Name |
Type |
Description |
name |
string
|
function
|
The file name of the backup or the archive function |
fn |
function
|
The archive function if name is specified |
use(processor)
Inject an archive processor
Parameters: