gobackup

🗄 CLI tool for backup your databases, files to cloud storages in schedully.

MIT License

Stars
1.3K
Committers
19

Bot releases are visible (Hide)

gobackup - v2.11.2 Latest Release

Published by github-actions[bot] 5 months ago

Changelog

  • 2e456b9 Update Web host config default to: 0.0.0.0 for let docker deploy can open from Host server. (#248)
  • 7c54bcb Fix backup fails when scp storage and split features are used together (#247)
  • 17e429a Bump google.golang.org/protobuf from 1.29.0 to 1.33.0 (#239)
  • 4435d4c Bump golang.org/x/net from 0.17.0 to 0.23.0 (#242)
gobackup - v2.11.1

Published by github-actions[bot] 8 months ago

Changelog

  • 43ba3e8 Fix etcd endpoint config, deprecated endpoints, use endpoint instead.
gobackup - v2.11.0

Published by github-actions[bot] 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.10.0...v2.11.0

gobackup - v2.10.0

Published by github-actions[bot] 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.9.0...v2.10.0

gobackup - v2.9.0

Published by github-actions[bot] 9 months ago

What's Changed

The before_script and after_script config for let us to special that run script before or after this model perform backup.

This is useful when you want to do something complex workflow, e.g.:

  1. Stop database service;
  2. Backup;
  3. Start database service again.
models:
  my_app:
    before_script: |
      # Stop database service
      systemctl stop mysql
    after_script: |
      # Start database service
      systemctl start mysql
    databases:
      mysql:
        type: mysql
        host: localhost
        database: my_app_production
        username: root

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.8.0...v2.9.0

gobackup - v2.8.0

Published by github-actions[bot] 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.7.0...v2.8.0

gobackup - v2.7.0

Published by github-actions[bot] 11 months ago

What's Changed

  • feat: Add to support InfluxDB v2 (#201)
  • fix: directory typo (#190)
gobackup - v2.6.0

Published by github-actions[bot] about 1 year ago

Changelog

  • b2e91ad Fix Web API for match any to index.html #184
  • 307622f Add UpYun storage support.
gobackup - v2.5.2

Published by github-actions[bot] over 1 year ago

Changelog

  • 62bd185 Fix #183 R2 storage-class header not support error again.
gobackup - v2.5.1

Published by github-actions[bot] over 1 year ago

Changelog

  • 96af0a2 Fix #179 MinIO list backup files error.
  • 32b3257 Improve config file to use absolute config path, to fix reload config path not found error.
  • 4b997ce Add more contributing guide
  • c345f9a Fix #176 Scheduler not reload when config changed.
  • c006b6d Improve config file to use absolute config path, to fix reload config path not found error.
  • 685f19b Fix #180 for avoid Redis invoke SAVE when mode is copy.
  • 814c2f1 Fix #183 R2 storage_class error.
gobackup - v2.5.0

Published by github-actions[bot] over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.4.0...v2.5.0

gobackup - v2.4.0

Published by huacnlee over 1 year ago

What's New

  • Add Volcengine TOS storage support: type: tos.
  • Update Aliyun OSS forcePathStyle default to false, try fix #158.
  • Add force_path_style option for S3 compatibility storages.
  • Fix error log when used unsupported storage type.
gobackup - v2.3.2

Published by github-actions[bot] over 1 year ago

Changelog

  • f3313fa Fix start error when use default config path (in v2.3.1). #166
  • 35dcfe4 Show error message when gobackup start failed
gobackup - v2.3.1

Published by github-actions[bot] over 1 year ago

Changelog

  • 168d0ac Improve error message when gobackup start has been failed.
  • c5e6cb4 Fix #164 raise error when config file not found.
gobackup - v2.3.0

Published by huacnlee over 1 year ago

What's Changed

  • Add Huawei OBS storage support.
  • Add to supports watch config changes to reload. #163

Other Changes

  • Print a warning when access_key_id or secret_access_key is empty.

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.2.0...v2.3.0

gobackup - v2.2.0

Published by huacnlee over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/gobackup/gobackup/compare/v2.1.0...v2.2.0

gobackup - v2.1.0

Published by github-actions[bot] over 1 year ago

Changelog

  • Add uploading progress bar.
  • Rewrite Aliyun OSS storage to use AWS S3 SDK.
  • Add default_storage config key for special storage to use for Web UI.
  • Add DEVELOPMENT guide.
  • Add MinIO storage, type: minio.
  • Removed the Windows release, there is so many feature not support run on it. #156

Breaking Changes of Aliyun OSS to use S3 SDK

  • storage_class need to change, by my test, Aliyun OSS just support STANDARD. If you want special the storage class, you must set up on the Bucket.
  • region is required, default is cn-hangzhou.
  • endpoint is changed to optional.
  • Same as s3 storage, now use secret_access_key instead of access_key_secret (It also can work).

https://gobackup.github.io/configuration/storages/oss

Upload progress bar example:

2023/05/16 15:03:10 [Config] Load config: ./tests/oss.yml
2023/05/16 15:03:10 [Config] Other users are able to access ./tests/oss.yml with mode -rw-r--r--
2023/05/16 15:03:10 [Model: test] WorkDir: /var/folders/qb/nbp63bpn7lg80gr25zzk9s1c0000gp/T/gobackup3103087318/1684220590960018000/test
2023/05/16 15:03:10 [Archive] => includes 1 rules
2023/05/16 15:03:10 [Compressor] => Compress | tar
2023/05/16 15:03:10 [Compressor] -> /var/folders/qb/nbp63bpn7lg80gr25zzk9s1c0000gp/T/gobackup3103087318/1684220590960018000/2023.05.16.15.03.10.tar
2023/05/16 15:03:10 [Storage] => Storage | oss
2023/05/16 15:03:10 [Aliyun OSS] -> Uploading (10 kB)...
2023/05/16 15:03:10 [Aliyun OSS] [=========================================] 100.00% (64.24 KiB p/s)
2023/05/16 15:03:11 [Aliyun OSS] Uploaded: https://oss-cn-beijing.aliyuncs.com/gobackup-test/backups/2023.05.16.15.03.10.tar (Duration 356 milliseconds 953 microseconds)
2023/05/16 15:03:11 [Model] Cleanup temp: /var/folders/qb/nbp63bpn7lg80gr25zzk9s1c0000gp/T/gobackup3103087318/
2023/05/16 15:03:11 [Notifier] Running 0 Notifiers
gobackup - v2.0.5

Published by github-actions[bot] over 1 year ago

Changelog

  • 892bd82 Increment S3 upload part size from to 5Mb to 64Mb.
  • fd98348 Fix default storageClass for S3 compatibility storage. #155
gobackup - v2.0.4

Published by github-actions[bot] over 1 year ago

Changelog

  • 40f13e2 Improve S3 upload to use for avoid high memory issue #154
gobackup - v2.0.3

Published by github-actions[bot] over 1 year ago

Changelog

  • d44d9ca Fix SQLite dump command again, you .output command.
  • de1c737 Improve local storage to support relative path.