GithubHelp home page GithubHelp logo

stangenchev / shuttlebackup Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16 KB

With ShuttleBackup you can create a daily backup of Rocket.Chat's database.

License: MIT License

Python 96.47% Meson 3.53%

shuttlebackup's People

Contributors

stangenchev avatar

Stargazers

 avatar

Watchers

 avatar

shuttlebackup's Issues

Not found Exception during the backup task

I get the following message:

ant@chat:~/ShuttleBackup/builddir$ sudo shuttlebackup --backup
Archiving database...
Traceback (most recent call last):
  File "/usr/lib/python3.6/shutil.py", line 544, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '[+] /var/snap/rocketchat-server/common/backup/rocketchat_backup_20181210.1524.tar.gz' -> '/var/shuttlebackup/archives/bk-2018-12-10-15:26.tgz'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/shuttlebackup", line 347, in <module>
    main()
  File "/usr/local/bin/shuttlebackup", line 344, in main
    ShuttleBackup()
  File "/usr/local/bin/shuttlebackup", line 116, in __init__
    shutil.move(self.dump_location, backup_archive_destination)
  File "/usr/lib/python3.6/shutil.py", line 558, in move
    copy_function(src, real_dst)
  File "/usr/lib/python3.6/shutil.py", line 257, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '[+] /var/snap/rocketchat-server/common/backup/rocketchat_backup_20181210.1524.tar.gz'

but the file actually exists and will be created properly

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.