1.1.6 • Published 4 years ago

adonis-backup v1.1.6

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

adonis-backup

by: Hussein Elturkey

installing

a package to backup your app contents in one file and backup it to s3 drive.

it is recommended to install it using at first time:

adonis install adonis-backup

to save time and get config file directly.

Registering provider

Make sure to register the provider and make all of the following necessary changes inside the start/app.js file!

// ...
// Add the command provider
const aceProviders = [
  // ...
  'adonis-backup/providers/BackupProvider',
]

Config

Please update configuration before use. The configuration file is config/backup.js.

use:

adonis backup:start

cloud only backup:

adonis backup:start --cloudOnly

local only backup:

adonis backup:start --localOnly

restore backup: (not working yet, will be next update.)

adonis backup:start --restore

for using digitalocean spaces or aws, just add s3 drive in config/drive.js

help and flags:

adonis backup:start --hlep

Note:

for using digitalocean spaces or aws, just add s3 drive in config/drive.js. then add s3 in config/backup.js

*/
for example disks: ['local', 's3]
*/
    destination: {
        filename_prefix: 'backup_',
        disks: ['local']
    },

location

backup will be store in tmp/backup directory.

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.0.5

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago